RDBPROD: Problem with rdb 7.3, not with 7.2 or earlier while doing insert
Get the following statements returned under Rdb 7.3.1 (on Itanium ) from our "C" program doing an insert....program is accessing two databases.....one is read only, and the other is one we use is read/write. Error seems to occur during an insert into the second database. Both databases on same server.
Code statements causing error is as follows.......
EXEC SQL DECLARE ALIAS FILENAME ALI_RDB_DATABASE;
EXEC SQL DECLARE A1 ALIAS FILENAME ALI_DBTUNE_DB;
EXEC SQL DECLARE TRANSACTION on RDB$DBHANDLE USING (READ ONLY) and on A1 USING (READ WRITE);
Errors returned are......
CURSTMTTXN- cursor statement must be executed in the same transaction