More work on a default encoding so that running through cffi-uffi,
[clsql.git] / db-sqlite3 / sqlite3-sql.lisp
index d4b41e4d8d6ea7344eb74be43c150c470ffc2d93..8ce592c6fbe1978f1e0d0ee824b33f4ae9ca05a3 100644 (file)
                                     (database sqlite3-database)
                                     &key (owner nil))
   (declare (ignore owner))
-
+  
   (loop for field-info in (sqlite3-table-info table database)
-      when (string= attribute (second field-info))
+      when (string= (clsql-sys::unescaped-database-identifier attribute)
+                    (second field-info))
       return
         (let* ((raw-type (third field-info))
                (start-length (position #\( raw-type))