From: Marco H. <mh...@de...> - 2010-01-08 15:34:14
|
Hello, up to now we used the Gemini ODBC driver within our software successfully. Due to it seems that this driver is not supported anymore we tested the native ODBC driver with our software. We had some problems with a special requirement: It exists a situation to get a global lock to some tables. We do this by using some special transaction settings. Here the statement: #define LOCK_STMT (UCHAR*) "set transaction READ WRITE NO WAIT READ COMMITTED RESERVING ch_pos FOR PROTECTED WRITE, ch_pos_charge FOR PROTECTED WRITE, ch_daten FOR PROTECTED WRITE, wb_prg_run FOR PROTECTED WRITE, wb_schritt_run FOR PROTECTED WRITE, auftrags_daten_run FOR PROTECTED WRITE, cmd FOR PROTECTED WRITE" #define LOCK_STMT (UCHAR*) "set transaction READ WRITE NO WAIT READ COMMITTED RESERVING " \ " ch_pos FOR PROTECTED WRITE" \ ", ch_pos_charge FOR PROTECTED WRITE" SQLExecDirect(hStmt, LOCK_STMT, SQL_NTS); The execution of this statement is possible, but the following prepare of any statement fails: FEHLER: in SQLxxx call: E:\Tool Projects\odbc-test\test\dbcnv.cpp line 191: sqlstate HY000; rsqlcode 4294966395; [ODBC Firebird Driver][Firebird]invalid parameter in transaction parameter block table ch_pos is not defined Is this transaction setting not supported? Thanks in advance, Marco Held -- *********************************************************************** * demig Prozessautomatisierung GmbH * demig Anlagentechnik GmbH * * * * * Anschrift: Haardtstrasse 40 * Haardtstrasse 40 * * D-57076 Siegen * D-57076 Siegen * * Registergericht: Siegen HRB 2819 * Siegen HRB 5532 * * Geschaeftsfuehrer: Joachim Herbst, * Joachim Herbst, * * Winfried Held * Winfried Held * * Telefon: +49 271 772020 * +49 271 772020 * * Telefax: +49 271 74704 * +49 271 74704 * * E-Mail: in...@de... * at...@de... * * http://www.demig.de * http://www.demig.de * *********************************************************************** |
From: Paul R. <pr...@ib...> - 2010-01-11 10:14:26
|
On Friday 08 January 2010, Marco Held wrote: > > Is this transaction setting not supported? > It is most likely you have run into a bug in the driver. Half an hour running the code through the debugger might throw some more light on the problem. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support |
From: Marco H. <mh...@de...> - 2010-01-18 16:28:43
|
Hi Paul, thanks for your reply, but what is the sense at all?! I have to look for a solution by myself or will it be fixed soon? Thanks, Marco Held phone: +49 271 77202 27 e-mail: mh...@de... demig Prozessautomatisierung GmbH http://www.demig.de in...@de... Haardtstraße 40 D-57076 Siegen Tel. +49 271 77202 0 Fax +49 271 77202 92 Registergericht Siegen HRB 2819 Geschäftsführer Joachim Herbst, Winfried Held -----Ursprüngliche Nachricht----- Von: Paul Reeves [mailto:pr...@ib...] Gesendet: Montag, 11. Januar 2010 11:13 An: fir...@li... Betreff: Re: [Firebird-odbc-devel] Problem with special transaction settings On Friday 08 January 2010, Marco Held wrote: > > Is this transaction setting not supported? > It is most likely you have run into a bug in the driver. Half an hour running the code through the debugger might throw some more light on the problem. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support ---------------------------------------------------------------------------- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Firebird-odbc-devel mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel |
From: Paul R. <pr...@ib...> - 2010-01-19 07:17:16
|
On Monday 18 January 2010, Marco Held wrote: > Hi Paul, > > thanks for your reply, but what is the sense at all?! I have to look for > a solution by myself or will it be fixed soon? > I was suggesting that you try running the driver through a debugger to see if you can locate the cause of the problem. You are using a transaction isolation which is uncommon, so this bug could have been there for a long time. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support |
From: Marco H. <mh...@de...> - 2010-02-15 16:26:10
|
Hi Paul, as you suggested I run the driver through a debugger and found the problem: In my "set transaction" sql command I defined the table names which should be RESERVED in lower case letters. Due to these names are used in some "transaction parameter block" and not put in upper case before as it is needed, the error raises. If I write them in upper case the wrong behavior did not happen. Now I ask if it is possible to do a case conversion within the driver? Can anybody do this, due to I am not involved fully in the project. Maybe it must be done here: IscConnection.cpp: IscConnection::parseReservingTable(...) Thanks in advance! Marco Held phone: +49 271 77202 27 e-mail: mh...@de... demig Prozessautomatisierung GmbH http://www.demig.de in...@de... Haardtstraße 40 D-57076 Siegen Tel. +49 271 77202 0 Fax +49 271 77202 92 Registergericht Siegen HRB 2819 Geschäftsführer Joachim Herbst, Winfried Held -----Ursprüngliche Nachricht----- Von: Paul Reeves [mailto:pr...@ib...] Gesendet: Dienstag, 19. Januar 2010 08:16 An: fir...@li... Betreff: Re: [Firebird-odbc-devel] Problem with special transaction settings On Monday 18 January 2010, Marco Held wrote: > Hi Paul, > > thanks for your reply, but what is the sense at all?! I have to look for > a solution by myself or will it be fixed soon? > I was suggesting that you try running the driver through a debugger to see if you can locate the cause of the problem. You are using a transaction isolation which is uncommon, so this bug could have been there for a long time. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support ---------------------------------------------------------------------------- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Firebird-odbc-devel mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel |
From: tom i. <to...@in...> - 2010-01-11 10:26:56
|
Hello, I install firebird 1.5 (32 bits) on my new Windows 7 ultimate 64 bits. I install Firebird ODBC (32 bits and after i test with 64 bits version) and i've : library 'gds32.dll' failed to load With firebird 1.56 and ODBC can i use windows 7 ultimate 64 bits ? If ok how can i do ?? Thanks Tom __________ Information from ESET Smart Security, version of virus signature database 4747 (20100106) __________ The message was checked by ESET Smart Security. http://www.eset.com |