mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
8d9298167e
Import some ALTER TABLE test cases from MySQL 5.6 without modification. The adjustments will be in a separate commit.
9 lines
371 B
SQL
9 lines
371 B
SQL
SELECT i.NAME,i.POS,i.MTYPE,i.PRTYPE,i.LEN
|
|
FROM INFORMATION_SCHEMA.INNODB_SYS_COLUMNS i
|
|
INNER JOIN sys_tables st ON i.TABLE_ID=st.TABLE_ID;
|
|
|
|
SELECT si.NAME,i.POS,i.NAME FROM INFORMATION_SCHEMA.INNODB_SYS_FIELDS i
|
|
INNER JOIN sys_indexes si ON i.INDEX_ID=si.INDEX_ID;
|
|
|
|
SELECT i.* FROM INFORMATION_SCHEMA.INNODB_SYS_FOREIGN_COLS i
|
|
INNER JOIN sys_foreign sf ON i.ID = sf.ID;
|