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

lp:743017 Diverging results with TIME(3) and ranges depending on the execution plan in 5.1-micro

rewrite get_innobase_type_from_mysql_type() to use types as reported
by the Field objects, instead of relying on ad-hoc assumptions.
This commit is contained in:
Sergei Golubchik
2011-03-29 14:48:48 +02:00
parent 6432b5f127
commit 8de6199b16
12 changed files with 134 additions and 192 deletions

View File

@ -1,11 +1,4 @@
# This is the test for bug #54044. Special handle MYSQL_TYPE_NULL type
# during create table, so it will not trigger assertion failure.
--source include/have_innodb_plugin.inc
# This 'create table' operation should fail because of
# using NULL datatype
--error ER_CANT_CREATE_TABLE
CREATE TEMPORARY TABLE table_54044 ENGINE = INNODB
AS SELECT IF(NULL IS NOT NULL, NULL, NULL);