diff options
Diffstat (limited to 'mysql-test/t/df_crash.test')
-rw-r--r-- | mysql-test/t/df_crash.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/df_crash.test b/mysql-test/t/df_crash.test new file mode 100644 index 00000000000..2f83de04d1c --- /dev/null +++ b/mysql-test/t/df_crash.test @@ -0,0 +1,10 @@ +drop table if exists db_crash; +CREATE TABLE df_crash ( + updated text +) TYPE=MyISAM; +INSERT INTO df_crash VALUES ('1999-10-5'); +insert into df_crash values (''); + +select month(updated) from df_crash; +select year(updated) from df_crash; +drop table df_crash; |