Search found 32 matches

by andrevanzuydam
10.01.2012, 12:26
Forum: ZeosLib 7.0 Beta Forum
Topic: Numeric - float, rounding problem
Replies: 14
Views: 1776

Confirmation of a bug with this.

I have a system that uses up to 10 decimals in some cases and this bug caught me.

The problem lies in UpdateBigDecimal in ZDBCInterbase6Utils

Please can you upload the code for your function so that I can see if I have a fix for it, It is possible that I have not made a commit for this fix.
by andrevanzuydam
25.09.2010, 17:47
Forum: ZeosLib 7.0 Beta Forum
Topic: TZStoredProc / Firebird error -501
Replies: 9
Views: 1221

Re: test project

mdaems - I have uploaded the source and database for a simple Delphi 2010 test project at this link: http://www.filehosting.org/file/details/165942/testproject.rar Note that I used the latest Zeos source from the Trunk of the SVN. Looking forward to your response and eagerly awaiting a fix soon :? ...
by andrevanzuydam
25.09.2010, 17:42
Forum: Firebird
Topic: Stored Procedure Fix, Attempt to reclose a closed cursor.
Replies: 5
Views: 2660

Please find the patches on the test branch
by andrevanzuydam
25.09.2010, 16:59
Forum: ZeosLib 7.0 Beta Forum
Topic: TZStoredProc / Firebird error -501
Replies: 9
Views: 1221

Re: Fixes for Stored Produre 501 Error

Hi Everyone I have released the patch for the exec stored procedure into the test branch. I seem to have exposed another bug though in doing this fix as I see when calling a stored procedure a second time I get a parameter mismatch, to fix this I simply prepare the procedure again but the correct so...
by andrevanzuydam
25.09.2010, 13:04
Forum: Firebird
Topic: INSERT with RETURNING
Replies: 30
Views: 15476

Returning Insert - Patch on Test Branch

Hi Everyone

I've just got it together to release the patch for the INSERT ... RETURNING problem on Firebird. You'll have to get it from the SVN repository and give it a spin. Please post up your problems if you get any.

Perhaps a new forum for the testing of this may be in order.
by andrevanzuydam
17.09.2010, 14:33
Forum: Firebird
Topic: Stored Procedure Fix, Attempt to reclose a closed cursor.
Replies: 5
Views: 2660

Hi Mark The changes for the Firebird 2.5 release will cause us to make a new driver library for selection in the database options as there are new constants and the API calls have changed in how they work. I am testing the code for production purposes on Firebird on a comercial system specifically f...
by andrevanzuydam
17.09.2010, 14:24
Forum: Firebird
Topic: INSERT with RETURNING
Replies: 30
Views: 15476

I have fixed this problem, where can I post the code ?
by andrevanzuydam
15.08.2010, 09:34
Forum: Feature Requests
Topic: Add Multi DataBuffers - URGENT ANSWER
Replies: 2
Views: 1845

Hi SF If I understand you correctly you want to cache data in memory, are you only talking about access via TZTable or all Zeos components ? I have done this type of manipulation with an inmemory dataset which loads from a zeos component and then one can manipulate the data, at the end of the sessio...
by andrevanzuydam
13.08.2010, 19:03
Forum: Firebird
Topic: Stored Procedure Fix, Attempt to reclose a closed cursor.
Replies: 5
Views: 2660

I have solved the problem of the returning values and now will start testing for backward compatibility.
by andrevanzuydam
13.08.2010, 12:52
Forum: Firebird
Topic: Stored Procedure Fix, Attempt to reclose a closed cursor.
Replies: 5
Views: 2660

Stored Procedure Fix, Attempt to reclose a closed cursor.

Problem: Firebird 2.5 RC2 & 3 close the cursor on Stored Proc execution and insert / update returning statements I have the following suggestions to fix this for firebird 2.5, but this may require some type of if statement on the FreeStatement: Possible Solution and Seems to Work in my test envi...
by andrevanzuydam
12.08.2010, 22:45
Forum: Firebird
Topic: Problem with stored procedure and Zeos [SOLVED]
Replies: 10
Views: 6200

Only a pleasure
by andrevanzuydam
12.08.2010, 22:43
Forum: Firebird
Topic: INSERT with RETURNING
Replies: 30
Views: 15476

Some feedback on this problem, Apparently the Result set is passed back in this instance with the call to isc_dsql_execute2 which allows for two params - currently in the code base the second parameter is not being used and is set to null. The current code in the engine calls the execute which opens...
by andrevanzuydam
12.08.2010, 13:24
Forum: Firebird
Topic: Problem with stored procedure and Zeos [SOLVED]
Replies: 10
Views: 6200

Yes - use suspend in stored procedures that must return values, I do this all the time now so I can get back error messages, its a good way to do things and it makes coding a bit easier also, I now use only one set of components - namely TZQuery + Dataset All stored procs can be called using select ...
by andrevanzuydam
12.08.2010, 12:39
Forum: Firebird
Topic: Problem with stored procedure and Zeos [SOLVED]
Replies: 10
Views: 6200

Hi There

You almost have it! Parameters in Delphi are prefixed like in stored proc with a : - so your id parameter in the TZQuery must be :id and not 'id', you can check if its correct by clicking on the params options in the TZQuery.

Hope you come right otherwise post again
by andrevanzuydam
12.08.2010, 01:50
Forum: Firebird
Topic: INSERT with RETURNING
Replies: 30
Views: 15476

I'm on the way to solving this problem as it is something that I need to have pretty urgently. There is a new constant available to free statements and keep the cursors open - DSQL_UNPREPARE which I have been playing with on the Free Statement procedures. On one of my projects a blank SQL gets gener...