Message106688
>>> 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. |
|
Date |
User |
Action |
Args |
2010-05-28 19:46:50 | l0nwlf | set | recipients:
+ l0nwlf, ghaering, exarkun, r.david.murray |
2010-05-28 19:46:49 | l0nwlf | set | messageid: <1275076009.98.0.0209950923038.issue8845@psf.upfronthosting.co.za> |
2010-05-28 19:46:48 | l0nwlf | link | issue8845 messages |
2010-05-28 19:46:48 | l0nwlf | create | |
|