<?xml version="1.0" encoding="utf-8"?>
<!--RSS generated by Flaimo.com RSS Builder [2012-02-04 05:12:13]-->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><docs>http://zeosbugs.firmos.at/</docs><link>http://zeosbugs.firmos.at/</link><description><![CDATA[MantisBT - Issues]]></description><title>MantisBT - Issues</title><image><title>MantisBT - Issues</title><url>http://zeosbugs.firmos.at/images/mantis_logo_button.gif</url><link>http://zeosbugs.firmos.at/</link><description><![CDATA[MantisBT - Issues]]></description></image><language>en</language><category>All Projects</category><ttl>10</ttl><dc:language>en</dc:language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><item><title>0000256: If SVN 903 is the latest revision, the installation of the package blocks with FPC 2.6</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=256</link><description><![CDATA[Hello,&lt;br /&gt;
&lt;br /&gt;
To install Zeos SVN 903 in lazarus (if that is the last SVN Revision*). &lt;br /&gt;
&lt;br /&gt;
[list]in lazarus 0.9.31-34335-fpc-[b]2.5[/b].1-20111221.win32 : no problem[/list]&lt;br /&gt;
but&lt;br /&gt;
[list]in lazarus 0.9.31-35069-fpc-[b]2.6[/b].1-20120201.win32 : Enum TFieldType.ftInteger lazarus\fpc\2.6.1\source\packages\fcl-db\src\base\db.pas (110,50).&lt;br /&gt;
&lt;br /&gt;
While waiting for the patch, I can fix like this:&lt;br /&gt;
&lt;br /&gt;
\src\component\ZAbstractRODataset.pas [Lines 3480 and following]:&lt;br /&gt;
[code]&lt;br /&gt;
{$IFDEF FPC}&lt;br /&gt;
const&lt;br /&gt;
  BaseFieldTypes: array[TFieldType] of TFieldType = (&lt;br /&gt;
    ftUnknown, ftString, ftSmallint, ftInteger, ftWord,&lt;br /&gt;
    ftBoolean, ftFloat, ftCurrency, ftBCD, ftDate,  ftTime, ftDateTime,&lt;br /&gt;
    ftBytes, ftVarBytes, ftAutoInc, ftBlob, ftMemo, ftGraphic, ftFmtMemo,&lt;br /&gt;
    ftParadoxOle, ftDBaseOle, ftTypedBinary, ftCursor, ftFixedChar,&lt;br /&gt;
    ftWideString, ftLargeint, ftADT, ftArray, ftReference,&lt;br /&gt;
    ftDataSet, ftOraBlob, ftOraClob, ftVariant, ftInterface,&lt;br /&gt;
    ftIDispatch, ftGuid, ftTimeStamp, ftFMTBcd, ftFixedWideChar, ftWideMemo);&lt;br /&gt;
{$ELSE}&lt;br /&gt;
 {$IFDEF VER180}... [/code][/list]&lt;br /&gt;
&lt;br /&gt;
* In &lt;a href=&quot;http://zeos.firmos.at/portal.php,&quot;&gt;http://zeos.firmos.at/portal.php,&lt;/a&gt; [&lt;a href=&quot;http://zeos.firmos.at/portal.php,&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] I read Revision 966 or 968 ? Which directory of SVN ? I tried &lt;br /&gt;
&lt;a href=&quot;svn://zeos.firmos.at/zeos/branches/testing&quot;&gt;svn://zeos.firmos.at/zeos/branches/testing&lt;/a&gt; [&lt;a href=&quot;svn://zeos.firmos.at/zeos/branches/testing&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] --&gt; Revision 903 &lt;br /&gt;
&lt;a href=&quot;svn://zeos.firmos.at/zeos/trunk&quot;&gt;svn://zeos.firmos.at/zeos/trunk&lt;/a&gt; [&lt;a href=&quot;svn://zeos.firmos.at/zeos/trunk&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] --&gt; Revision 903 ?&lt;br /&gt;
Regards.]]></description><category>component</category><pubDate>Thu, 02 Feb 2012 09:52:17 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=256</guid><comments>http://zeosbugs.firmos.at/view.php?id=256#bugnotes</comments></item><item><title>0000255: Error: List index out of bounds when try select from table-value function</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=255</link><description><![CDATA[When try select query from table-value function, get error: List index out of bounds. Error occurs on MSSQL 2000, 2005, 2008 and 2008r2. &lt;br /&gt;
Problem is in file &quot;ZDbcDbLibMsSqlMetadata.pas&quot;. Patch from attachment solves the problem.&lt;br /&gt;
&lt;br /&gt;
Best regards]]></description><category>mssql</category><pubDate>Wed, 01 Feb 2012 07:05:58 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=255</guid><comments>http://zeosbugs.firmos.at/view.php?id=255#bugnotes</comments></item><item><title>0000254: TZMySQLStatement.ExecuteQuery error</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=254</link><description><![CDATA[TZMySQLStatement.ExecuteQuery, using string as WideString, the parameter SQL: string, is incorrectly handled.]]></description><category>mysql</category><pubDate>Tue, 24 Jan 2012 23:06:29 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=254</guid><comments>http://zeosbugs.firmos.at/view.php?id=254#bugnotes</comments></item><item><title>0000253: Error when ZTable.Exists</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=253</link><description><![CDATA[Using a MySQL database:&lt;br /&gt;
ZTable1: TZTable;&lt;br /&gt;
With ZTable1.Exists fails: The table name is interpreted as the name of the database.]]></description><category>component</category><pubDate>Tue, 24 Jan 2012 22:50:26 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=253</guid><comments>http://zeosbugs.firmos.at/view.php?id=253#bugnotes</comments></item><item><title>0000214: Inserting Unicode strings into UTF-8 firebird database via prepared statements fails in two ways</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=214</link><description><![CDATA[Database: Firebird 2.1.3 (latest as of 2010-01-04)&lt;br /&gt;
ZEOSLib: 7.0.0 (latest from SVN trunk as of 2010-01-04)&lt;br /&gt;
System: Windows (english) mit CodeGear Delphi 2009&lt;br /&gt;
&lt;br /&gt;
Situation: &lt;br /&gt;
&lt;br /&gt;
I have a firebird-2.1 database with UTF-8 as default charset and a single table t with two columns i (integer) and s (string). I insert a row into the table via a prepared statement &quot;insert into t(i,s) values (:i1,:s1)&quot;. Depending on the contents of the unicode string given as named parameter s1, I see the following behavior:&lt;br /&gt;
&lt;br /&gt;
1. String contains german Umlauts: query fails with malformed string error&lt;br /&gt;
2. String contains ASCII chars and cyrillic letters: query succeeds but reading back the row via select gives the original string with the cyrillic letters replaced by question marks&lt;br /&gt;
3. String contains only ASCII chars: query succeeds but reading back the row via select gives the original string&lt;br /&gt;
&lt;br /&gt;
I consider cases 1 and 2 as errors.&lt;br /&gt;
&lt;br /&gt;
If no parameter is used for the insert query, i.e. using something like &quot;insert into t(i,s) values (:i1,'+QuotedStr(s)+')'&quot; all three cases are correct.&lt;br /&gt;
&lt;br /&gt;
For sample code see Additional Information. Minimalistic program to reproduce the error promptly available on request. &lt;br /&gt;
&lt;br /&gt;
Please let me know what I can do to track down the bug.&lt;br /&gt;
&lt;br /&gt;
bn]]></description><category>interbase/firebird</category><pubDate>Sat, 24 Dec 2011 14:35:59 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=214</guid><comments>http://zeosbugs.firmos.at/view.php?id=214#bugnotes</comments></item><item><title>0000251: Crash when calling .AsString on calculated fields in certain circumstances</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=251</link><description><![CDATA[In certain instances calling the .AsString method of a calculated field on a ZQuery object causes a crash.&lt;br /&gt;
&lt;br /&gt;
Reported here &lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/6723400/zeoslib-loop-over-calculated-fields/&quot;&gt;http://stackoverflow.com/questions/6723400/zeoslib-loop-over-calculated-fields/&lt;/a&gt; [&lt;a href=&quot;http://stackoverflow.com/questions/6723400/zeoslib-loop-over-calculated-fields/&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]]]></description><category>sqlite</category><pubDate>Wed, 26 Oct 2011 21:23:23 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=251</guid><comments>http://zeosbugs.firmos.at/view.php?id=251#bugnotes</comments></item><item><title>0000233: Compilation with FPC 2.4.2 or lower version is broken on OS other than Windows</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=233</link><description><![CDATA[The patch attached to bug report 231 (&lt;a href=&quot;http://zeosbugs.firmos.at/view.php?id=231&quot;&gt;http://zeosbugs.firmos.at/view.php?id=231&lt;/a&gt; [&lt;a href=&quot;http://zeosbugs.firmos.at/view.php?id=231&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]) resolves compilation with fpc 2.5.1. However it breaks compilation with stable fpc 2.4.2 or lower.]]></description><category>core</category><pubDate>Mon, 10 Oct 2011 13:35:32 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=233</guid><comments>http://zeosbugs.firmos.at/view.php?id=233#bugnotes</comments></item><item><title>0000252: SQLite don't recognizes the datatype of a field with expressions.</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=252</link><description><![CDATA[Using Zeos with SQLite with queries that uses expressions, the result of expressions always are evaluated to String.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a TZQuery with the following query:&lt;br /&gt;
&lt;br /&gt;
SELECT&lt;br /&gt;
  tbl_batelada.*,&lt;br /&gt;
  avg(ch1.Tensao) as TMCabeca,&lt;br /&gt;
  round(avg(ch1.Corrente), 3) as CMCabeca,&lt;br /&gt;
  round(((julianday(Max(ch1.dt_registro))-julianday(Min(ch1.dt_registro)))*86400),3) as DuracaoCabeca,&lt;br /&gt;
  (SELECT round(avg(Tensao),3)   FROM tbl_itensbatelada WHERE cd_batelada=tbl_batelada.id_batelada and cd_canal=2) as TMPeito,&lt;br /&gt;
  (SELECT round(avg(corrente),3) FROM tbl_itensbatelada WHERE cd_batelada=tbl_batelada.id_batelada and cd_canal=2) as CMPeito,&lt;br /&gt;
  (SELECT round((julianday(max(dt_registro))-julianday(min(dt_registro)))*86400, 3) FROM tbl_itensbatelada WHERE cd_batelada=tbl_batelada.id_batelada and cd_canal=2) as DuracaoPeito&lt;br /&gt;
FROM&lt;br /&gt;
  tbl_batelada&lt;br /&gt;
LEFT JOIN tbl_itensbatelada ch1 ON ch1.cd_batelada=tbl_batelada.id_batelada AND ch1.cd_canal=1&lt;br /&gt;
GROUP By tbl_batelada.id_batelada&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you double-click on TZQuery and add these fields into the project:&lt;br /&gt;
  &lt;br /&gt;
 TMCabeca, CMCabeca, DuracaoCabeca, TMPeito, CMPeito, DuracaoPeito&lt;br /&gt;
&lt;br /&gt;
It will be added as TStringField.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Attached is a patch that solves this.]]></description><category>sqlite</category><pubDate>Mon, 03 Oct 2011 13:49:14 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=252</guid><comments>http://zeosbugs.firmos.at/view.php?id=252#bugnotes</comments></item><item><title>0000248: D2010 and Sqlite3 TZQuery there is a problem with character coding.</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=248</link><description><![CDATA[SPECIAL_CHARACTER is corrupted when i use TZQuery .&lt;br /&gt;
Like: ÆØÅ). the special chars is correctly stored in the Sqlite3 &lt;br /&gt;
&lt;br /&gt;
Best regards Ole]]></description><category>sqlite</category><pubDate>Mon, 03 Oct 2011 03:13:05 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=248</guid><comments>http://zeosbugs.firmos.at/view.php?id=248#bugnotes</comments></item><item><title>0000185: cacheupdate fails in master/detail</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=185</link><description><![CDATA[I'm using 2 ZQuery componants. &lt;br /&gt;
&lt;br /&gt;
Master Query (ZQuery):&lt;br /&gt;
&lt;br /&gt;
   Name := ZQM&lt;br /&gt;
   CachedUpdates := True;&lt;br /&gt;
   SQL := 'SELECT * FROM MASTER'&lt;br /&gt;
&lt;br /&gt;
   DataSource1.DataSet := ZQM&lt;br /&gt;
   MDbGrid.DataSource := DataSource1&lt;br /&gt;
&lt;br /&gt;
Detail Query (ZQuery):&lt;br /&gt;
&lt;br /&gt;
   Name := ZQD&lt;br /&gt;
   CachedUpdates := True&lt;br /&gt;
   SQL := 'SELECT * FROM MASTER WHERE TNO = :TNO'&lt;br /&gt;
   ZQD.DataSource := DataSource1&lt;br /&gt;
   DataSource2.DataSet := ZQD&lt;br /&gt;
   DDbGrid.DataSource := DataSource2&lt;br /&gt;
&lt;br /&gt;
event -&gt;   &lt;br /&gt;
   ZQD.OnNewRecord(....)&lt;br /&gt;
   begin&lt;br /&gt;
      ZQD.FieldByName('TNO').asInteger := ZQM.FieldByName('TNO').asInteger;&lt;br /&gt;
   end    &lt;br /&gt;
&lt;br /&gt;
Save Button (TButton):&lt;br /&gt;
&lt;br /&gt;
   SaveButton.onclick(....)&lt;br /&gt;
   begin&lt;br /&gt;
     ZQM.ApplyUpdates; &lt;br /&gt;
     ZQD.ApplyUpdates; &lt;br /&gt;
     ZQM.CommitUpdates; &lt;br /&gt;
     ZQD.CommitUpdates;&lt;br /&gt;
   end;&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
When press save button after feeding one record in master table&lt;br /&gt;
and some records in detail table only master records saved. &lt;br /&gt;
all records in detail table are lost.&lt;br /&gt;
&lt;br /&gt;
===============================================&lt;br /&gt;
Reason &amp; Solution:&lt;br /&gt;
&lt;br /&gt;
 Here is the bug in code:&lt;br /&gt;
&lt;br /&gt;
procedure TZAbstractDataset.ApplyUpdates;&lt;br /&gt;
begin&lt;br /&gt;
  if not Active then Exit;&lt;br /&gt;
&lt;br /&gt;
  Connection.ShowSQLHourGlass;&lt;br /&gt;
  try&lt;br /&gt;
    if State in [dsEdit, dsInsert] then Post;&lt;br /&gt;
&lt;br /&gt;
    DoBeforeApplyUpdates; {bangfauzan addition}&lt;br /&gt;
&lt;br /&gt;
    if CachedResultSet &lt;&gt; nil then&lt;br /&gt;
      CachedResultSet.PostUpdates;&lt;br /&gt;
    ======================================&gt;&gt; this statement causes to lost in &lt;br /&gt;
    if not (State in [dsInactive]) then   &gt;&gt; detail table even i set&lt;br /&gt;
      Resync([]);                         &gt;&gt; doAlwaysDetailReSync to false&lt;br /&gt;
    ======================================&gt;&gt;&lt;br /&gt;
  DOAfterApplyUpdates; {bangfauzan addition}&lt;br /&gt;
&lt;br /&gt;
  finally&lt;br /&gt;
    Connection.HideSqlHourGlass;&lt;br /&gt;
  end;&lt;br /&gt;
end;]]></description><category>core</category><pubDate>Mon, 12 Sep 2011 20:02:53 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=185</guid><comments>http://zeosbugs.firmos.at/view.php?id=185#bugnotes</comments></item><item><title>0000249: Problem with blank lines</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=249</link><description><![CDATA[Everything below was done on the basis of code from HEAD Zeoslib 888 &lt;a href=&quot;svn://zeos.firmos.at/zeos/branches/testing&quot;&gt;svn://zeos.firmos.at/zeos/branches/testing&lt;/a&gt; [&lt;a href=&quot;svn://zeos.firmos.at/zeos/branches/testing&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] &lt;br /&gt;
Let's create a test database to firebird table test: &lt;br /&gt;
[code] &lt;br /&gt;
set sql dialect 3; &lt;br /&gt;
set names utf8; &lt;br /&gt;
create database '\ FlyChange \ Test.fdb' &lt;br /&gt;
user 'sysdba' password 'masterkey' &lt;br /&gt;
page_size 16384 &lt;br /&gt;
default character set utf8; &lt;br /&gt;
&lt;br /&gt;
CREATE TABLE TEST ( &lt;br /&gt;
  ID Integer, &lt;br /&gt;
  NAME CHAR (7) &lt;br /&gt;
  Constraint PK_TEST Primary Key (ID) &lt;br /&gt;
); &lt;br /&gt;
[/code] &lt;br /&gt;
Let's write a simple project with the code on the button: &lt;br /&gt;
[Code] &lt;br /&gt;
procedure TForm1.Button1Click (Sender: TObject); &lt;br /&gt;
const &lt;br /&gt;
  SQLq = 'update or insert into test (id, name) values ??(:id,:name)'; &lt;br /&gt;
begin &lt;br /&gt;
  Query.SQL.Text: = SQLq; &lt;br /&gt;
  Query.Params[0].AsInteger := 1; &lt;br /&gt;
  Query.Params[1].AsString := ''; &lt;br /&gt;
  Query.ExecSQL; &lt;br /&gt;
  Query.Params[0].AsInteger := 2; &lt;br /&gt;
  Query.Params[1].AsString := ''; &lt;br /&gt;
  Query.ExecSQL; &lt;br /&gt;
end; &lt;br /&gt;
[/code] &lt;br /&gt;
If you try to run the code as shown above, then the error occurs: &lt;br /&gt;
[code] &lt;br /&gt;
SQL Error:  Dynamic SQL Error SQL error code = -804 Incorrect values within SQLDA structure. Error Code: -804. An error was found in the application program input parameters for the SQL statement. The SQL: update or insert into test (id,name) values (?,?); &lt;br /&gt;
[/code] &lt;br /&gt;
Error does not occur in the following cases: &lt;br /&gt;
1) If you specify a non-empty 1-th parameter, that is, 'asdf', 'qwer', etc. &lt;br /&gt;
2) If you call once ExecSQL. &lt;br /&gt;
3) If after the first ExecSQL add a line Query.SQL.Text: = SQLq; &lt;br /&gt;
4) If in the database instead of CHAR to VARCHAR. &lt;br /&gt;
That is, this bug for some reason there is only one case.]]></description><category>interbase/firebird</category><pubDate>Sat, 28 May 2011 20:48:13 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=249</guid><comments>http://zeosbugs.firmos.at/view.php?id=249#bugnotes</comments></item><item><title>0000240: The string field is not set to correct size...</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=240</link><description><![CDATA[Hi!&lt;br /&gt;
&lt;br /&gt;
I tried to run a ZQuery to get the table&lt;br /&gt;
&lt;br /&gt;
&quot;ntax_bejovo_konyvelesi_tipusok&quot;&lt;br /&gt;
&lt;br /&gt;
primary keys.&lt;br /&gt;
&lt;br /&gt;
select r.relname as &quot;Table&quot;, c.conname,&lt;br /&gt;
contype as &quot;Constraint Type&quot;&lt;br /&gt;
from pg_class r, pg_constraint c&lt;br /&gt;
where r.oid = c.conrelid;&lt;br /&gt;
&lt;br /&gt;
In PGADMIN and EMS PG Manager I got good result, the:&lt;br /&gt;
&lt;br /&gt;
&quot;ntax_bejovo_konyvelesi_tipusok_pkey&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But Zeos Query is set the Field Size to 32, and I don't found the needed columns of the primary key in the next Query...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When I cast the field:&lt;br /&gt;
&lt;br /&gt;
cast(c.conname as varchar(100)),&lt;br /&gt;
&lt;br /&gt;
the field size is correctly 100.&lt;br /&gt;
&lt;br /&gt;
Is this bug, or this based on &quot;unknown field type&quot; of PG that automatically set to 32... :-(&lt;br /&gt;
&lt;br /&gt;
Thanks:&lt;br /&gt;
   dd]]></description><category>postgresql</category><pubDate>Sat, 28 May 2011 20:26:00 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=240</guid><comments>http://zeosbugs.firmos.at/view.php?id=240#bugnotes</comments></item><item><title>0000250: raise SQL error when left joining sub-queries</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=250</link><description><![CDATA[i got an error when left joining sub-queries on mysql 5 using delphi 7 and zeosdbo 6.6.6&lt;br /&gt;
but when i use the query in phpmyadmin, it successfully executed&lt;br /&gt;
&lt;br /&gt;
also when i change the left join to inner join, the query executed successfully]]></description><category>mysql</category><pubDate>Wed, 25 May 2011 14:37:44 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=250</guid><comments>http://zeosbugs.firmos.at/view.php?id=250#bugnotes</comments></item><item><title>0000241: Update ZPropertyEditor to be used by others projects.</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=241</link><description><![CDATA[Attached is a patch to make ZPropertyEditor.pas usable by other projects. With this patch, I can use some property editors of the ZeosLib with some components that uses Zeos.&lt;br /&gt;
&lt;br /&gt;
With this patch, my new property editor (based on some property editors of the Zeos) only return the ZConnection that is hide/stored  on my component. If in the future, some property editor of the Zeos changes, I'll have no impact.]]></description><category>component</category><pubDate>Wed, 27 Apr 2011 22:42:09 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=241</guid><comments>http://zeosbugs.firmos.at/view.php?id=241#bugnotes</comments></item><item><title>0000244: TZOracleDatabaseMetadata.UncachedGetPrimaryKeys doesn't result PK if it's named</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=244</link><description><![CDATA[TZOracleDatabaseMetadata.UncachedGetPrimaryKeys always search for PK auto named by Oracle ('SYS_%').&lt;br /&gt;
It doesn't retry PK's named by user.&lt;br /&gt;
&lt;br /&gt;
See ZDbcOracleMetadata.pas comment at line 1506.]]></description><category>oracle</category><pubDate>Wed, 20 Apr 2011 09:36:14 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=244</guid><comments>http://zeosbugs.firmos.at/view.php?id=244#bugnotes</comments></item><item><title>0000247: Blob handling problem with Delphi6 / PG9.0</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=247</link><description><![CDATA[Hi!&lt;br /&gt;
&lt;br /&gt;
The problem is that I got wrong result in BlobField.LoadFromStream.&lt;br /&gt;
The loaded stream not what I posted before... :-(&lt;br /&gt;
&lt;br /&gt;
In the PG list I got answer that something changed in PG9.0.&lt;br /&gt;
&lt;br /&gt;
You can read about here:&lt;br /&gt;
&lt;a href=&quot;http://archives.postgresql.org/pgsql-general/2011-04/msg00424.php&quot;&gt;http://archives.postgresql.org/pgsql-general/2011-04/msg00424.php&lt;/a&gt; [&lt;a href=&quot;http://archives.postgresql.org/pgsql-general/2011-04/msg00424.php&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
Thanks:&lt;br /&gt;
   dd]]></description><category>postgresql</category><pubDate>Wed, 13 Apr 2011 12:34:53 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=247</guid><comments>http://zeosbugs.firmos.at/view.php?id=247#bugnotes</comments></item><item><title>0000246: The prepared insert many times slower than formatted SQL insert</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=246</link><description><![CDATA[Hi!&lt;br /&gt;
&lt;br /&gt;
I have a migrator program that needs to copy a 1,5 GB database from a DB to PGSQL.&lt;br /&gt;
The table copier section used first Table, later parameterized insert Query.&lt;br /&gt;
&lt;br /&gt;
In other adapters/dbs if I prepare a Query, the it will be faster, because I needs to change the parameters only. So I choose this way first.&lt;br /&gt;
&lt;br /&gt;
But the speed was 1:30-1:50 hours, nevertheless I create multiprocess uploaded with &quot;HIGH&quot; process speed.&lt;br /&gt;
&lt;br /&gt;
Today I tried to forget the parameters: I render the Queries (insert SQL-s) with my code, and run them.&lt;br /&gt;
&lt;br /&gt;
And I very wondered:&lt;br /&gt;
A table with 500.000 records with parameterized Query running 45-55 minutes, with rendered insertions running 18 minutes only!&lt;br /&gt;
Same table, same context, etc... :-(&lt;br /&gt;
&lt;br /&gt;
So something is seems to be wrong with this mode, if I can be faster than parameterized queries!&lt;br /&gt;
&lt;br /&gt;
The total time of the DB copy is decreased to 44 minutes (from 1:50)!&lt;br /&gt;
So something is seems to be wrong with parameterized mode.&lt;br /&gt;
&lt;br /&gt;
Thanks:&lt;br /&gt;
   dd]]></description><category>postgresql</category><pubDate>Wed, 13 Apr 2011 12:05:40 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=246</guid><comments>http://zeosbugs.firmos.at/view.php?id=246#bugnotes</comments></item><item><title>0000245: Failed to recover metadata info when user has SELECT ANY TABLE privilege</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=245</link><description><![CDATA[When a user has SELECT ANY TABLE privilege and there are another user that own's a table with same name that first on, TZOracleDatabaseMetadata.UncachedGetTables / UncachedGetColumns return wrong values if there is no schema present at a query.&lt;br /&gt;
&lt;br /&gt;
See comments identified by Laercio on ZDbcOracleMetadata.pas.]]></description><category>oracle</category><pubDate>Mon, 11 Apr 2011 19:56:42 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=245</guid><comments>http://zeosbugs.firmos.at/view.php?id=245#bugnotes</comments></item><item><title>0000243: Numeric overflow with a column like NUMBER(15,0)</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=243</link><description><![CDATA[I was getting numeric overflow when having Oracle column with NUMBER(15,0).&lt;br /&gt;
&lt;br /&gt;
I did some changes on source code to solve the problem and put it into attachment.&lt;br /&gt;
The changes are made in ZDbcOracleResultSet.pas and ZDbcOracleUtils.pas and commented with 'Laercio'.]]></description><category>oracle</category><pubDate>Mon, 11 Apr 2011 17:10:03 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=243</guid><comments>http://zeosbugs.firmos.at/view.php?id=243#bugnotes</comments></item><item><title>0000242: Encoding/handling of NULL blobs are not working good</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=242</link><description><![CDATA[I tried to copy datas from a dataset to an sql query.&lt;br /&gt;
&lt;br /&gt;
            ftBlob:&lt;br /&gt;
                begin&lt;br /&gt;
                    stm := TMemoryStream.Create;&lt;br /&gt;
                    try&lt;br /&gt;
                        TBlobField(sf).SaveToStream(stm);&lt;br /&gt;
                        stm.Position := 0;&lt;br /&gt;
                        par.LoadFromStream(stm, ftBlob);&lt;br /&gt;
                    finally&lt;br /&gt;
                        stm.Free;&lt;br /&gt;
                    end;&lt;br /&gt;
                end;&lt;br /&gt;
&lt;br /&gt;
When the source field (sf) was IsNull, the savetostream save none of bytes.&lt;br /&gt;
When I tried to load, it was working, but on Exec of the query I got access violation on this line:&lt;br /&gt;
&lt;br /&gt;
              result:= FPlainDriver.EncodeBYTEA(TempBlob.GetString,FHandle); // FirmOS&lt;br /&gt;
&lt;br /&gt;
ZDbcPostgreSqlStatement: 393.]]></description><category>postgresql</category><pubDate>Mon, 11 Apr 2011 13:55:11 +0200</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=242</guid><comments>http://zeosbugs.firmos.at/view.php?id=242#bugnotes</comments></item><item><title>0000239: Zeos 7: The use of parameters (ParamByName) does not work in SQL Server.</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=239</link><description><![CDATA[Using Delphi XE: I discovered it needs the kind of field (TZSQLType) &quot;stUnicodeString&quot; &lt;br /&gt;
&lt;br /&gt;
in function:&lt;br /&gt;
&quot;function PrepareSQLParameter (Value: TZVariant; paramTypes: TZSQLType): string;&quot;&lt;br /&gt;
&lt;br /&gt;
Inside the file &quot;ZDbcDbLibUtils.pas.&lt;br /&gt;
&lt;br /&gt;
==&gt;  In line 273]]></description><category>dbc</category><pubDate>Wed, 23 Mar 2011 14:03:53 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=239</guid><comments>http://zeosbugs.firmos.at/view.php?id=239#bugnotes</comments></item><item><title>0000238: Oracle connection fails when set with property connected  in IDE  (Ora-error-12154)</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=238</link><description><![CDATA[Using a tzconnection component to connect with a Oracle server fails when setting the property connected=true in design mode. Trying  to do so a oracle error-12154  will be triggered. The same configuration works fine when setting the property with a procedure call:&lt;br /&gt;
&lt;br /&gt;
for example &lt;br /&gt;
...&lt;br /&gt;
procedure TForm1.Button1Click(Sender: TObject);&lt;br /&gt;
begin&lt;br /&gt;
  ZConnection1.Connected:=true;&lt;br /&gt;
  if ZConnection1.Connected then begin&lt;br /&gt;
    ShowMessage('bingo');&lt;br /&gt;
    ZQuery1.Open;&lt;br /&gt;
    if ZQuery1.Active then begin&lt;br /&gt;
      ShowMessage('noch mal bingo');&lt;br /&gt;
    end;&lt;br /&gt;
  end;&lt;br /&gt;
end;&lt;br /&gt;
...]]></description><category>oracle</category><pubDate>Thu, 10 Mar 2011 14:32:24 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=238</guid><comments>http://zeosbugs.firmos.at/view.php?id=238#bugnotes</comments></item><item><title>0000237: ftBlob Statementparameter do not work in queries</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=237</link><description><![CDATA[We are using the Oracle raw(16) datatype to emulate guid fields. Raw(16) can be&lt;br /&gt;
indexed and queried in Oracle with a Hexstring of the binary content. &lt;br /&gt;
&lt;br /&gt;
in zeos raw(16) columns can be queried as &lt;br /&gt;
 &lt;br /&gt;
select * from pberichte where idbericht=&quot;0123456789ABCDEF&quot;  &lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
pberichte.close;&lt;br /&gt;
pberichte.parambyname('idbericht').value=&quot;0123456789ABCDEF&quot;;&lt;br /&gt;
pberichte.open;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
using raw(16) fields in Master/Detail Relations do not work&lt;br /&gt;
&lt;br /&gt;
select * from pberichte where idbericht=:id &lt;br /&gt;
&lt;br /&gt;
breaks with a Oracle error message.&lt;br /&gt;
&lt;br /&gt;
Mapping a ftblob parameter to string and replacing the field value with its&lt;br /&gt;
hex representation works fine.]]></description><category>oracle</category><pubDate>Mon, 28 Feb 2011 18:22:24 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=237</guid><comments>http://zeosbugs.firmos.at/view.php?id=237#bugnotes</comments></item><item><title>0000236: Morfik bug with zeos-package-fx3.0-v1.1</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=236</link><description><![CDATA[When trying to use the Zeos Package in conjunction with the Morfik when deleting a registry error occurs and the record will not actually deleted from the table.]]></description><category>mysql</category><pubDate>Sun, 27 Feb 2011 23:48:13 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=236</guid><comments>http://zeosbugs.firmos.at/view.php?id=236#bugnotes</comments></item><item><title>0000235: Commands out of sync error causes mysql to stay stuck after illegal TQuery.ExecSQL</title><author></author><link>http://zeosbugs.firmos.at/view.php?id=235</link><description><![CDATA[I've patched TZMySQLResultSet.Close as suggested in issue 000220.&lt;br /&gt;
(Thanks Shkil}&lt;br /&gt;
When I do that using TQuery.Open with a stored procedure works great the first time and all subsequent times.&lt;br /&gt;
&lt;br /&gt;
HOWEVER: If I run TZQuery.ExecSQL (not valid for a stored proc with resultset, I know) I get &quot;Commands out of sync...&quot; error and MySQL/Zeos will not let me out of that one.&lt;br /&gt;
&lt;br /&gt;
I don't mind getting an error, but I don't want to have to disconnect and reconnect to the database just to fix being stuck.]]></description><category>dbc</category><pubDate>Mon, 10 Jan 2011 16:45:07 +0100</pubDate><guid>http://zeosbugs.firmos.at/view.php?id=235</guid><comments>http://zeosbugs.firmos.at/view.php?id=235#bugnotes</comments></item></channel></rss>

