db.commit() пятница, 22 мая 2015 г., 12:51:00 UTC+3 пользователь peter написал: > > I am using sqlite 3. > > I have a ticket booking system. Transaction.status is set to 'pending' in > the database, when the transaction is initiated. > When the paypal payment completes: > > transaction.status='booked' > transaction.update_record() > > emails are then sent out. > > I have a strange example where the 'update_record' seems to have not > worked, and yet execution of the routine was not interrupted, so the emails > were still sent out, but status remains at pending. > > Is it possible for 'update_record' to not work, and yet not fail and > generate a ticket? > > If so, is there any way to know this is happening to 'handle' it? > > Thanks for any help on this. > > Peter >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.