1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug#27747 database metadata doesn't return sufficient column default info

added get_field_default_value() function which obtains default value from the field
(used in store_create_info() & get_schema_column_record() functions)
This commit is contained in:
gluh@mysql.com/eagle.(none)
2007-09-20 13:54:46 +05:00
parent 56c927e696
commit 6b81174cde
17 changed files with 162 additions and 114 deletions

View File

@@ -115,7 +115,7 @@ Warning 1364 Field 'd' doesn't have a default value
desc bug20691;
Field Type Null Key Default Extra
i int(11) YES NULL
d datetime NO
d datetime NO NULL
dn datetime NO 0000-00-00 00:00:00
insert into bug20691 values (3, DEFAULT, DEFAULT), (3, '1975-07-10 07:10:03', '1978-01-13 14:08:51'), (3, DEFAULT, DEFAULT);
Warnings: