|
I have the following code to test rollback transaction processing. I
get a count of records from a table, then delete all the records,
then perform a roll back which should (supposedly) restore the
records back to the table. I am able to confirm that the
db2_autocommit_off is indeed getting set, but the rollback function
never rolls back the prior deletion. I can't seem to find much on the
internet. What am I missing? (fyi, $telusr and $telpwd are being set
correctly but I have not included the code here).
<<SNIP>>
// Delete all rows from teltrn
db2_exec($conn, "DELETE FROM teltrn");
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.