cubicweb/server/sources/native.py
changeset 11359 2da2dd60331c
parent 11351 97882e99138d
child 11412 ac166217bd8c
--- a/cubicweb/server/sources/native.py	Wed Jun 22 17:13:10 2016 +0200
+++ b/cubicweb/server/sources/native.py	Mon Jun 20 17:59:43 2016 +0200
@@ -121,7 +121,7 @@
     """
     if not rdef.object.final:
         return dbhelper.TYPE_MAPPING['Int']
-    coltype = y2sql.type_from_rdef(dbhelper, rdef, creating=False)
+    coltype = y2sql.type_from_rdef(dbhelper, rdef)
     allownull = rdef.cardinality[0] != '1'
     return coltype, allownull