X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Foodml.lisp;h=78fd88648db8ca12cd081605d7d7bcf84d3c5e6c;hp=499a4ed64a95190896eaafa2cd68e23937a4d851;hb=b5890c31a60303397efedb2110f46c6388426170;hpb=d528dfe7e23fe5732fdbf1a282498fbec298d6cd diff --git a/sql/oodml.lisp b/sql/oodml.lisp index 499a4ed..78fd886 100644 --- a/sql/oodml.lisp +++ b/sql/oodml.lisp @@ -317,6 +317,14 @@ (format nil "INT(~A)" (car args)) "INT")) +(deftype tinyint () + "An 8-bit integer, this width may vary by SQL implementation." + 'integer) + +(defmethod database-get-type-specifier ((type (eql 'tinyint)) args database db-type) + (declare (ignore args database db-type)) + "INT") + (deftype smallint () "An integer smaller than a 32-bit integer, this width may vary by SQL implementation." 'integer)