apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Learning apr <learning_...@hotmail.co.uk>
Subject cannot commit - no transaction is active
Date Mon, 19 Nov 2007 12:38:53 GMT

I use the function:

apr_dbd_transaction_start(driver, pool, sql,&transaction);

to start a transaction.

But when I close this transaction with the function:

apr_dbd_transaction_end(driver, pool, transaction);

It always gives the error message:

cannot commit - no transaction is active

What is the reason?
I also ended a transaction immediately after I started it without doing any operation. I still
got this error:
cannot commit - no transaction is activeWnat is the reason and how can I correct it?Your help
will be greatly appreciated!

Explore the seven wonders of the world
View raw message