1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

the begginning

This commit is contained in:
david hill
2016-01-06 14:08:59 -06:00
parent 66a31debcb
commit f6afc42dd0
18251 changed files with 16460679 additions and 2 deletions

View File

@ -0,0 +1,26 @@
-- $Id: dumpcat_mysql.sql 7049 2010-09-14 16:43:13Z rdempsey $
--
select
`schema`, TABLENAME, COLUMNNAME COLNAME, OBJECTID, DICTOBJECTID DICT,
case datatype when 0 then 'BIT'
when 1 then 'TINYINT'
when 2 then 'CHAR'
when 3 then 'SMALLINT'
when 4 then 'DECIMAL'
when 5 then 'MEDINT'
when 6 then 'INT'
when 7 then 'FLOAT'
when 8 then 'DATE'
when 9 then 'BIGINT'
when 10 then 'DOUBLE'
when 11 then 'DATETIME'
when 12 then 'VARCHAR'
when 13 then 'CLOB'
when 14 then 'BLOB'
end DATATYPE,
SCALE, PREC, COLUMNLENGTH COLLEN, COLUMNPOSITION POS, COMPRESSIONTYPE CT
from
SYSCOLUMN
order by
`schema`, TABLENAME, POS;