r9756: add tinyint type
[clsql.git] / db-mysql / mysql-objects.lisp
index 5ddad8b5d73817da2aaded534fb153b30e3f10ce..ddd6af22452656810c5365a417148f8e7e82c3c6 100644 (file)
   (declare (ignore args database))
   "SMALLINT")
 
+(defmethod database-get-type-specifier ((type (eql 'tinyint)) args database
+                                       (db-type (eql :mysql)))
+  (declare (ignore args database))
+  "TINYINT")
+
 (defmethod database-output-sql-as-type ((type (eql 'boolean)) val database
                                        (db-type (eql :mysql)))
   (declare (ignore database))