fixed keyed table issue, thanks Denes
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.4.1-alpha.2+timestamp.2013.02.21.10.20.58
|
||||
Version 2.4.1-alpha.2+timestamp.2013.02.22.10.18.20
|
||||
|
||||
@@ -792,7 +792,7 @@ class BaseAdapter(ConnectionPool):
|
||||
rtable = db[rtablename]
|
||||
rfield = rtable[rfieldname]
|
||||
# must be PK reference or unique
|
||||
if rfieldname in hasattr(rtable,'_primarykey') or \
|
||||
if rfieldname in rtable._primarykey or \
|
||||
rfield.unique:
|
||||
ftype = types[rfield.type[:9]] % \
|
||||
dict(length=rfield.length)
|
||||
|
||||
Reference in New Issue
Block a user