 DROP FUNCTION IF EXISTS col_hasnt_default //
 CREATE FUNCTION col_hasnt_default(sname VARCHAR(64), tname VARCHAR(64), cname VARCHAR(64), description TEXT)
 RETURNS TEXT
+DETERMINISTIC
+CONTAINS SQL
 BEGIN
   IF description = '' THEN
    SET description = CONCAT('Column ',

DROP FUNCTION IF EXISTS col_has_default //
CREATE FUNCTION col_has_default(sname VARCHAR(64), tname VARCHAR(64), cname VARCHAR(64), description TEXT)
RETURNS TEXT
BEGIN
  IF description = '' THEN
    SET description = CONCAT('Column ',

DROP FUNCTION IF EXISTS _col_extra_is //
CREATE FUNCTION _col_extra_is(sname VARCHAR(64), tname VARCHAR(64), cname VARCHAR(64))
RETURNS VARCHAR(30)
DETERMINISTIC
READS SQL DATA
BEGIN
  DECLARE ret VARCHAR(30);

