diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dblib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dblib.lua b/lib/dblib.lua index 0738f0c..830d0d8 100644 --- a/lib/dblib.lua +++ b/lib/dblib.lua @@ -781,7 +781,7 @@ END; row = {} for k, v in pairs(t._.db._.fieldsNames) do local ftype = get_canon_type(t._.ddl[v] and t._.ddl[v].type or "varchar", v, t._.db) - if ftype == "BLOB" + if ftype == "BLOB" then row[v] = t._.db._.rset:getBlob(k) else row[v] = t._.db._.rset:getString(k) |