[Greater-commits] r3618 - trunk/GREAT-ER/Thuban/Model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jul 19 18:00:29 CEST 2011
Author: aheinecke
Date: 2011-07-19 18:00:28 +0200 (Tue, 19 Jul 2011)
New Revision: 3618
Modified:
trunk/GREAT-ER/Thuban/Model/transientdb.py
Log:
Use str text factory for sqlite since we internally
use UTF-8 Encoding for everything.
Needs review before it can be placed into thuban upstream
Modified: trunk/GREAT-ER/Thuban/Model/transientdb.py
===================================================================
--- trunk/GREAT-ER/Thuban/Model/transientdb.py 2011-07-18 15:52:20 UTC (rev 3617)
+++ trunk/GREAT-ER/Thuban/Model/transientdb.py 2011-07-19 16:00:28 UTC (rev 3618)
@@ -62,6 +62,7 @@
# Counters to produce unique table and column names
self.num_tables = 0
self.num_cols = 0
+ self.conn.text_factory = str
# Since there's only once process using the SQLite database, we
# might be able to get a tad more speed with default_synchronous
# OFF. So far I haven't seen any measurable speedup, though.
More information about the Greater-commits
mailing list