This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author l0nwlf
Recipients exarkun, ghaering, l0nwlf, r.david.murray
Date 2010-05-28.19:46:48
SpamBayes Score 0.0025703267
Marked as misclassified No
Message-id <1275076009.98.0.0209950923038.issue8845@psf.upfronthosting.co.za>
In-reply-to
Content
>>> conn = sqlite3.connect('dbdump.sqlite')
>>> c = conn.cursor()
>>> conn.in_transaction
False
>>> c.execute('CREATE TABLE foo (id integer, name text)')
<sqlite3.Cursor object at 0x1004a7730>
>>> conn.in_transaction
False

It gives True for Insert and False for Select. perfect Ok. However It should give True when we Create tables ?

Adding unit-test which upon showing this behavior fails the test.
History
Date User Action Args
2010-05-28 19:46:50l0nwlfsetrecipients: + l0nwlf, ghaering, exarkun, r.david.murray
2010-05-28 19:46:49l0nwlfsetmessageid: <1275076009.98.0.0209950923038.issue8845@psf.upfronthosting.co.za>
2010-05-28 19:46:48l0nwlflinkissue8845 messages
2010-05-28 19:46:48l0nwlfcreate