mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-13132 Information Schema does not show whether column default is expression or literal
Fix INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT to be standard-compliant, but keep SHOW COLUMNS backward-compatibly unchanged.
This commit is contained in:
@ -296,7 +296,7 @@ SELECT table_name, column_name, column_default
|
||||
FROM information_schema.columns
|
||||
WHERE table_name = 't1_my_tablex';
|
||||
table_name column_name column_default
|
||||
t1_my_tablex first_col hello
|
||||
t1_my_tablex first_col 'hello'
|
||||
SELECT table_name, column_name, is_nullable
|
||||
FROM information_schema.columns
|
||||
WHERE table_name = 't1_my_tablex';
|
||||
|
Reference in New Issue
Block a user