Search found 15 matches

by personalsoft_fabiano
02.07.2009, 05:31
Forum: 6.6 - stable
Topic: Rounding issues
Replies: 3
Views: 527

Hi, Seawolf I´m afraid there is still something wrong there. I downloaded the patch from mdaems, recompiled, and 1 of the tests below still writes wrong data to the database Test1 stores the right value in the database Test2 stores 3.259999... It seems the patch treats just field retrieval, not para...
by personalsoft_fabiano
01.07.2009, 15:26
Forum: 6.6 - stable
Topic: Rounding issues
Replies: 3
Views: 527

Rounding issues

Hi all, I´m having rounding issues with Zeos and Firebird. When i set a parameter to 3.26, it stores 3.2599 in the database. I´m using "PreparedStatement.SetValue(n, DecodeVariant(Value))". Does someone have these kind of issues? Is it related to Firebird or to Zeos? I noticed that all Zeo...
by personalsoft_fabiano
17.04.2009, 19:31
Forum: 6.6 - stable
Topic: ZCompatibility and TByteDynArray
Replies: 1
Views: 359

ZCompatibility and TByteDynArray

TByteDynArray is declared as a type in the unit ZCompatibility, what makes the methods where it is used incompatible with Delphi´s TByteDynArray, declared in Types. I tried to find out the first Delphi version where TByteDynArray was included and couldn´t discover, but it is present at least since D...
by personalsoft_fabiano
17.04.2009, 19:01
Forum: 6.6 - stable
Topic: About Zeos TZDataSet performance
Replies: 2
Views: 645

I can create the connection property and implement the necessary code, and send the patches for your approval.

Does this change (and property name) need to be approved for someone?

Regards,

Fabiano.
by personalsoft_fabiano
01.04.2009, 20:25
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] IZPreparedStatement.Prepare reason
Replies: 5
Views: 619

Mark, excuse my delay also. I was expecting to receive a e-mail notification when this topic had an answer, but i misconfigured my profile, and just now i saw your post. I had turned e-mail notifications on, so from now i pretend to be more responsive. Yes, i could help in this task, and in other ta...
by personalsoft_fabiano
31.03.2009, 16:49
Forum: 6.6 - stable
Topic: About Zeos TZDataSet performance
Replies: 2
Views: 645

About Zeos TZDataSet performance

Hi all, I had read some posts where some people complains about Zeos performance. When i started to use Zeos in my application, i noticed the first time it access a table using a TZQuery or TZTable, it takes a long time to return the result, specially if you are over a slow network... Next time it a...
by personalsoft_fabiano
31.03.2009, 16:17
Forum: 6.6 - stable
Topic: Zeos 6.6.4 holding connection (tested with firebird and ado)
Replies: 6
Views: 914

Seawolf, sorry not to answer earlier... I´m new to this forum, and i thought i would receive an e-mail if someone answer my posts... Yes, i removed the line, analyzed the logic of the implementation, and i can say for sure there is no need for that line there. Btw, i sent messages to some Zeos membe...
by personalsoft_fabiano
29.03.2009, 00:14
Forum: 6.6 - stable
Topic: Zeos 6.6.4 holding connection (tested with firebird and ado)
Replies: 6
Views: 914

After looking at this issue deeper, i see LastResultSet is usefull for drivers which can return multiple resultsets from execute statements, and it would be incorret to remove it. And, in this specific case, the bug is in Firebird driver. The method TZInterbase6PreparedStatement.ExecuteQueryPrepared...
by personalsoft_fabiano
28.03.2009, 21:33
Forum: 6.6 - stable
Topic: Bug in condicional directive SHOW_WARNING
Replies: 2
Views: 374

Bug in condicional directive SHOW_WARNING

If i enable the conditional directive SHOW_WARNING in Zeos.inc, the project doesn't compile.
by personalsoft_fabiano
28.03.2009, 21:19
Forum: 6.6 - stable
Topic: Firebird and PostgreSQL driver cross dependency
Replies: 2
Views: 420

Firebird and PostgreSQL driver cross dependency

Hi, The Firebird zdbc implementation uses a class from PostgreSQL implementation: TZInterbaseNumberState = class (TZPostgreSQLNumberState) It cause an error if i set Zeos.inc to compile just the Firebird driver. I think there should be no cross dependency among zdbc drivers. The solution here should...
by personalsoft_fabiano
27.03.2009, 13:36
Forum: 6.6 - stable
Topic: Zeos 6.6.4 holding connection (tested with firebird and ado)
Replies: 6
Views: 914

I think i have found the source of the problem: There is a property called 'LastResultSet' on 'TZAbstractStatement'. The firebird driver (and i presume others, like ADO), when run a statement, stores the retrieved ResultSet in this property, what makes its reference count never drop to zero, and the...
by personalsoft_fabiano
27.03.2009, 13:05
Forum: 6.6 - stable
Topic: Zeos 6.6.4 holding connection (tested with firebird and ado)
Replies: 6
Views: 914

Zeos 6.6.4 holding connection (tested with firebird and ado)

Hi, the code bellow doesn´t close the connection to the database after the end. If i run on D2007 with "ReportMemoryLeaksOnShutdown := True", it reports some memory leaks. If i use "ResultSet._Release" at the end of the block, it force the release of the ResultSet and others, dis...
by personalsoft_fabiano
15.02.2009, 04:55
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] IZPreparedStatement.Prepare reason
Replies: 5
Views: 619

Well, if you look at Zeos interfaces, they are actually an exact copy of JDBC interfaces in its essence. And, if i remember well, i read in zeos documentation that it you want to know ZDBC deeper, you should search JDBC api :-) Despite that, JDBC/ZDBC are just interfaces. You can implement the drive...
by personalsoft_fabiano
13.02.2009, 19:26
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
Replies: 97
Views: 29180

Test suite

Hi, guys.

I remember to read somewhere there is a test suite to ZeosLib. Is it correct?

If yes, where can i find it?

Regards,

Fabiano
by personalsoft_fabiano
13.02.2009, 19:11
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] IZPreparedStatement.Prepare reason
Replies: 5
Views: 619

[bug_fixed] IZPreparedStatement.Prepare reason

Hi all, I´m new to the forum and this is my first post. I´m trying Zeos and i´m very excited to see a JDBC-like interface set for Delphi. Congratulations for the work. Comparing version 7 with version 6, i see it introduces a 'Prepare' method for the IZPreparedStatement interface. I know you are pro...