Mercurial > p > roundup > code
comparison roundup/backends/back_sqlite.py @ 3009:240a24f1e69f maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 14 Dec 2004 23:23:35 +0000 |
| parents | fddbbeb581bc |
| children | a7045bad20de |
comparison
equal
deleted
inserted
replaced
| 3007:1055ec0dc868 | 3009:240a24f1e69f |
|---|---|
| 1 # $Id: back_sqlite.py,v 1.36 2004-10-31 09:57:10 a1s Exp $ | 1 # $Id: back_sqlite.py,v 1.36.2.1 2004-12-14 23:23:35 richard Exp $ |
| 2 '''Implements a backend for SQLite. | 2 '''Implements a backend for SQLite. |
| 3 | 3 |
| 4 See https://pysqlite.sourceforge.net/ for pysqlite info | 4 See https://pysqlite.sourceforge.net/ for pysqlite info |
| 5 | 5 |
| 6 | 6 |
| 7 NOTE: we use the rdbms_common table creation methods which define datatypes | 7 NOTE: we use the rdbms_common table creation methods which define datatypes |
| 8 for the columns, but sqlite IGNORES these specifications. | 8 for the columns, but sqlite IGNORES these specifications. |
| 9 ''' | 9 ''' |
| 10 __docformat__ = 'restructuredtext' | 10 __docformat__ = 'restructuredtext' |
| 11 | 11 |
| 12 import os, base64, marshal, shutil | 12 import os, base64, marshal, shutil, time |
| 13 | 13 |
| 14 from roundup import hyperdb, date, password | 14 from roundup import hyperdb, date, password |
| 15 from roundup.backends import locking | 15 from roundup.backends import locking |
| 16 from roundup.backends import rdbms_common | 16 from roundup.backends import rdbms_common |
| 17 import sqlite | 17 import sqlite |
