Re: [SQLObject] MySQL and transactions
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Oleg B. <ph...@ph...> - 2007-10-22 13:09:55
|
On Mon, Oct 22, 2007 at 07:59:34AM -0500, Jaime Wyant wrote:
> trans = conn.transaction()
[skip]
> The console output is below. I expected to see a `BEGIN` or `START
> TRANSACTION` somewhere at the beginning of the output, but it is not there.
> Is this a bug, or user error :) ?
Neither. Opening a transaction is implemented via DB API driver
- usually using its .autocommit() method, and what way the method is
implemented is up to the driver; SQLObject doesn't know what the driver
does.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|