1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #13571700 TINYBLOB NOT NULL, CRASH IN PROTOCOL::NET_STORE_DATA

- Backport testcase from mysql-5.6
This commit is contained in:
Sergey Petrunya
2014-03-07 13:21:16 +01:00
parent 5ba109c4f6
commit 908fa69da9
4 changed files with 32 additions and 0 deletions

View File

@ -5328,6 +5328,14 @@ f1
DROP TABLE t1;
DROP VIEW view_t1;
# End of test BUG#63020
#
# Bug #13571700 TINYBLOB NOT NULL, CRASH IN PROTOCOL::NET_STORE_DATA
#
CREATE TABLE t1 (a TINYBLOB NOT NULL);
SELECT a, COUNT(*) FROM t1 WHERE 0;
a COUNT(*)
NULL 0
DROP TABLE t1;
SET optimizer_switch=@save_optimizer_switch;
#
# LP bug#994275 Assertion `real->type() == Item::FIELD_ITEM' failed