create db automatically if using sqlite

This commit is contained in:
sqlcoder
2010-03-07 11:00:22 -05:00
committed by Eratosthenes
parent 685dd68cd1
commit b153e7c30d
+1
View File
@@ -382,6 +382,7 @@ class Database:
print msg
raise FpdbError(msg)
elif backend == Database.SQLITE:
create = True
import sqlite3
if use_pool:
sqlite3 = pool.manage(sqlite3, pool_size=1)