[firebird-support] Re: Commit in execute block?

2017-03-29 Thread jonatan.laurit...@yahoo.dk [firebird-support]
OK, I guess there is not available better solution than quite risky: in autonomous transaction do execute statement 'alter table accounts add balance double precision'; etc.

[firebird-support] Commit in execute block?

2017-03-29 Thread jonatan.laurit...@yahoo.dk [firebird-support]
Hi! I am using Firebird 3 and I need to write one execute block statement which makes several alter table and update table commands, like: execute statement 'alter table accounts add balance double precision' execute statement 'update accounts set balance=previous_balance+10' etc. The problem

Re: [firebird-support] 64 bit UDF DLL problem on Windows

2017-03-29 Thread Michal Kurczabinski michk...@gmail.com [firebird-support]
This should explain: https://www.youtube.com/watch?v=yepjPiVIzPc -- pozdr, Michał Kurczabiński

Re: [firebird-support] 64 bit UDF DLL problem on Windows

2017-03-29 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
29.03.2017 0:27, Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support] wrote: > I have wasted a lot of time but succes yet to come. void foo() #ifdef __WIN32__ __declspec(dllexport); #else __attribute__((visibility ("default"))); #endif // __WIN32__ -- WBR, SD.

Re: [firebird-support] Re: Cursor FETCH in PSQL and ROW_COUNT/'fetch past last record' error

2017-03-29 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
Hello Dmitry, >28.03.2017 10:06, Martijn Tonies wrote: >> >> So the first 'fetch' operation on a position that's invalid returns >> "rowcount=0", >> any additional fetch (which includes a move) returns an exception? > >Yes. Moving cursor from "last" to EOF is perfectly valid, "no data"

[firebird-support] Re: Cursor FETCH in PSQL and ROW_COUNT/'fetch past last record' error

2017-03-29 Thread Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
28.03.2017 10:06, Martijn Tonies wrote: > > So the first 'fetch' operation on a position that's invalid returns > "rowcount=0", > any additional fetch (which includes a move) returns an exception? Yes. Moving cursor from "last" to EOF is perfectly valid, "no data" condition is not an error (as