Closed GoogleCodeExporter closed 9 years ago
Found the problem...
>>> ibm_db.autocommit(ibm_db_conn)
1
>>> ibm_db.autocommit(conn)
0
Autocommit is actually still on. Reopen issue 6?
Original comment by sok...@gmail.com
on 5 Apr 2012 at 10:34
This patch fixes the problem for me.
Original comment by sok...@gmail.com
on 5 Apr 2012 at 10:46
Attachments:
Update patch to apply the change to both connect and pconnect.
Original comment by sok...@gmail.com
on 6 Apr 2012 at 7:02
Attachments:
The error you are getting in SAVEPOINT is because of your application is in
autocommit mode and in this mode there is no concept of SAVEPOIT.
Please turn autocommit OFF before using SAVEPOINT, you can set it by following
command.
>>>ibm_db_dbi.set_autocommit(0)
I am agree with your view regarding autocommit default value. We will modify
this in our next release.
Original comment by rahul.pr...@in.ibm.com
on 12 Apr 2012 at 8:41
Original comment by rahul.pr...@in.ibm.com
on 12 Apr 2012 at 8:42
Fixed and released with ibm_db-1.0.6
Original comment by rahul.pr...@in.ibm.com
on 25 May 2012 at 6:51
Original comment by rahul.pr...@in.ibm.com
on 25 May 2012 at 6:52
Original issue reported on code.google.com by
sok...@gmail.com
on 5 Apr 2012 at 9:59