--- a/cubicweb/server/sqlutils.py Tue Nov 15 11:44:05 2016 +0100
+++ b/cubicweb/server/sqlutils.py Wed Nov 16 17:12:09 2016 +0100
@@ -457,6 +457,7 @@
# only defining here to prevent pylint from complaining
info = warning = error = critical = exception = debug = lambda msg, *a, **kw: None
+
set_log_methods(SQLAdapterMixIn, getLogger('cubicweb.sqladapter'))
@@ -559,6 +560,7 @@
import yams.constraints
yams.constraints.patch_sqlite_decimal()
+
sqlite_hooks = SQL_CONNECT_HOOKS.setdefault('sqlite', [])
sqlite_hooks.append(_init_sqlite_connection)
@@ -570,5 +572,6 @@
# rolled back
cnx.commit()
+
postgres_hooks = SQL_CONNECT_HOOKS.setdefault('postgres', [])
postgres_hooks.append(_init_postgres_connection)