Subject | trhandle changing after isc_dsql_exec_immediate2() |
---|---|
Author | C R Zamana |
Post date | 2001-10-25T21:36:13Z |
Hi!
Very strange.
Coming back to my function that returns the number of columns of
a table, I realize that the function above is changing the previously
trhandle allocated via isc_start_transaction().
I can see this by showing the value with a simple printf(), before
and after the call. The final result is that when I commit the trhandle,
FireBird raises "Invalid transaction handle".
Anybody knows something about this?
Thank you.
Best regards.
Environment:
FireBird 1.0.0-0a.Beta2, RH7.1.
--
------------------------------------------------------------------------
zamana@... | "Emacs is a nice OS - but it lacks a good text
zamana@... | editor. That's why I'm using Vim. Anonymous
http://www.inso.com.br | http://www.vim.org/quotes.html
------------------------------------------------------------------------
Very strange.
Coming back to my function that returns the number of columns of
a table, I realize that the function above is changing the previously
trhandle allocated via isc_start_transaction().
I can see this by showing the value with a simple printf(), before
and after the call. The final result is that when I commit the trhandle,
FireBird raises "Invalid transaction handle".
Anybody knows something about this?
Thank you.
Best regards.
Environment:
FireBird 1.0.0-0a.Beta2, RH7.1.
--
------------------------------------------------------------------------
zamana@... | "Emacs is a nice OS - but it lacks a good text
zamana@... | editor. That's why I'm using Vim. Anonymous
http://www.inso.com.br | http://www.vim.org/quotes.html
------------------------------------------------------------------------