diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-04-05 19:04:34 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-04-05 19:04:34 -0600 |
commit | 96c3bd94327cd920985724c8d2799a952ea4bf57 (patch) | |
tree | 6d93316a19092ccce1647ddfbb727d57b84ee96a /mysql-test | |
parent | 3b91fce6b897ede7f43daec50433559c9a3eac51 (diff) | |
download | mariadb-git-96c3bd94327cd920985724c8d2799a952ea4bf57.tar.gz |
moved bdb/innobase to compile-pentium-debug-max
fixed bug in variable assignment in mysqltest
fixed coredump on conversion from empty blob/text to date
added test case for empty blob conversion to date
BUILD/compile-pentium-debug:
move bdb/innobase to compile-pentium-debug-max
client/mysqltest.c:
fixed bug in variable assignment
sql/time.cc:
fixed coredump on conversion from empty blob/text to date
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/df_crash.result | 6 | ||||
-rw-r--r-- | mysql-test/t/df_crash.test | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/df_crash.result b/mysql-test/r/df_crash.result new file mode 100644 index 00000000000..5f0c5e1d38a --- /dev/null +++ b/mysql-test/r/df_crash.result @@ -0,0 +1,6 @@ +month(updated) +10 +NULL +year(updated) +1999 +NULL 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; |