Skip to content

Commit 1685732

Browse files
committed
fix unicode problem with py2
1 parent 6022447 commit 1685732

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sqlalchemy_monetdb/dialect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import re
2-
from sqlalchemy import pool, exc, util
2+
from sqlalchemy import pool, exc
33
from sqlalchemy.engine import default, reflection
44
from sqlalchemy_monetdb.base import MonetExecutionContext,\
55
MonetIdentifierPreparer
@@ -11,6 +11,7 @@
1111
class MonetDialect(default.DefaultDialect):
1212
name = "monetdb"
1313
driver = "monetdb"
14+
1415
preexecute_pk_sequences = True
1516
supports_pk_autoincrement = True
1617
supports_sequences = True
@@ -19,6 +20,7 @@ class MonetDialect(default.DefaultDialect):
1920
supports_default_values = True
2021
supports_native_boolean = True
2122
poolclass = pool.SingletonThreadPool
23+
supports_unicode_statements = True
2224

2325
statement_compiler = MonetCompiler
2426
ddl_compiler = MonetDDLCompiler

0 commit comments

Comments
 (0)