Search found 10 matches

by magnomp
02.12.2008, 01:19
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] New TObject's methods: Equals, ToString, etc
Replies: 1
Views: 547

[bug_fixed] New TObject's methods: Equals, ToString, etc

As of D2009, the TObject class has new methods: Equals, ToString and GetHashCode I noticed IZObject introduces ToString and Equals. ToString on TZAbstractObject is declared as virtual, but as of D2009 I think it must be an override instead. I have to test it to confirm, but afaik, if you call Equals...
by magnomp
30.11.2008, 13:38
Forum: 6.6 - stable
Topic: Precision issue
Replies: 7
Views: 760

The point is: Single is smaller than Double. So, when receiving a Double value, Zeos must use a Double var to store this value internally in order to support any possible value it can get. In other words: If you call TParam.AsFloat (just to remember, it returns a Double), you must store the returned...
by magnomp
28.11.2008, 12:39
Forum: 6.6 - stable
Topic: Precision issue
Replies: 7
Views: 760

I've found a workarround and posted this issue on zeos bug tracker:
http://zeosbugs.firmos.at/view.php?id=162
by magnomp
25.11.2008, 11:15
Forum: 6.6 - stable
Topic: Precision issue
Replies: 7
Views: 760

magnomp wrote:In fact, I know it's not a FB issue because we did the same test on the same database using DBX and it was OK.
Just to clarify: Here I'm talking about the test that I described on my first post, not the one proposed by seawolf
by magnomp
24.11.2008, 21:21
Forum: 6.6 - stable
Topic: Precision issue
Replies: 7
Views: 760

It haven't happened to me. I've set 10 has the default value for that field and inserted a new record without that field. After I did a select and saw the right value on the field. First I tried with IBExpert and after I tried with isql and both showed the right value. In fact, I know it's not a FB ...
by magnomp
24.11.2008, 19:25
Forum: 6.6 - stable
Topic: Precision issue
Replies: 7
Views: 760

Precision issue

First, I'm using D2007, Zeos 6.6.3 and FB 2.0 (I don't think it's caused by FB, though). I'm trying to insert a record in a table with a numeric(18,7) field. For some values on this field, everything goes fine, but there are some values which show an issue regarding precision. For exemple: 2.16. Whe...
by magnomp
20.08.2008, 14:39
Forum: User Patches
Topic: [patch_done] Memory leak on TZIBEventAlerter
Replies: 2
Views: 538

[patch_done] Memory leak on TZIBEventAlerter

After installing Zeos 6.6.3 and using it's TZIBEventAlerter I've noticed some memory leaking on my application. This component instantiates a TStringList (FEvents) on it's constructor but never frees it. I've added a call to FEvents.Free on TZIBEventAlerter destructor. Further, I've removed the foll...
by magnomp
10.06.2008, 13:22
Forum: ZDBC (ZEOS Database Connectivity)
Topic: Shouldn't tr. handle be set to nil after a commit/rollback?
Replies: 1
Views: 1741

Shouldn't tr. handle be set to nil after a commit/rollback?

My scenario is: I wrote an UDF that has to query another firebird database in order to get some information. On the DLL initialization I create a IZConnection and on finalization I close it. The problem is: When I close the Connection, if I have had previously executed any statement, the application...
by magnomp
12.05.2008, 20:32
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Firebird 2.1 final release
Replies: 44
Views: 11268

Is someone working on supporting fb 2.1 already?
by magnomp
08.01.2007, 17:48
Forum: Bug Reports
Topic: [bug_fixed] EOutofMemory with Delphi 2006 + Firebird
Replies: 5
Views: 5293

I have this problem too, using a BDS2006 with all updates and hotfixes, but worked fine with a BDS2006 without updates and hotfixes. Running the following query over FB 1.5.3: SELECT RDB$TYPE_NAME A, RDB$TYPE_NAME B FROM RDB$TYPES the error triggers when I try to read the field B. Debugging Zeos, I ...