dholth <dho...@fastmail.fm> added the comment:

I want transactional DDL too. I was tremendously surprised that I could not 
duplicate the way sqlite3 behaves on the command line from witin pysqlite.

Instead of this patch, I would rather be able to instruct pysqlite to always 
begin a transaction for any kind of statement (I hear this is a requirement for 
DB-API compliance) and never perform an implicit commit for any reason. For 
example, someone on the google code project had a complaint that 'SAVEPOINT' 
(create a subtransaction) automatically commits because pysqlite doesn't know 
about it.

I tried to trick pysqlite into doing what I wanted by prepending /* update */ 
to every CREATE TABLE statement but it didn't seem to quite work. Instead, I 
would prefer a pysqlite that does not strcmp(statement) at all.

----------
nosy: +dholth

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10740>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to