assert undoLog primary key not null

This commit is contained in:
Damien Elmes 2009-03-25 09:42:44 +09:00
parent eed5df1038
commit c2fb704c52

View file

@ -2076,7 +2076,7 @@ select id from fields where factId not in (select id from facts)""")
self.redoStack = []
self.undoEnabled = True
self.s.statement(
"create temporary table undoLog (seq integer primary key, sql text)")
"create temporary table undoLog (seq integer primary key not null, sql text)")
tables = self.s.column0(
"select name from sqlite_master where type = 'table'")
for table in tables: