mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
Patch adjustments
This commit is contained in:
parent
8620b3518c
commit
c360a20a40
3 changed files with 9 additions and 7 deletions
|
@ -1216,6 +1216,9 @@ select 'In following EXPLAIN the access method should be ref, #rows~=500 (and no
|
|||
Z
|
||||
In following EXPLAIN the access method should be ref, #rows~=500 (and not 2)
|
||||
explain select * from t2 where a=1000 and b<11;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t2 ref a a 5 const 502 Using where
|
||||
drop table t1, t2;
|
||||
#
|
||||
# Bug #47123: Endless 100% CPU loop with STRAIGHT_JOIN
|
||||
#
|
||||
|
@ -1224,9 +1227,6 @@ INSERT INTO t1 VALUES (1), (NULL);
|
|||
SELECT * FROM t1 WHERE a <> NULL and (a <> NULL or a <= NULL);
|
||||
a
|
||||
DROP TABLE t1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t2 ref a a 5 const 502 Using where
|
||||
drop table t1, t2;
|
||||
#
|
||||
# Bug#47925: regression of range optimizer and date comparison in 5.1.39!
|
||||
#
|
||||
|
|
|
@ -1043,6 +1043,8 @@ alter table t2 add index (a,b);
|
|||
|
||||
select 'In following EXPLAIN the access method should be ref, #rows~=500 (and not 2)' Z;
|
||||
explain select * from t2 where a=1000 and b<11;
|
||||
drop table t1, t2;
|
||||
|
||||
--echo #
|
||||
--echo # Bug #47123: Endless 100% CPU loop with STRAIGHT_JOIN
|
||||
--echo #
|
||||
|
@ -1052,9 +1054,6 @@ INSERT INTO t1 VALUES (1), (NULL);
|
|||
SELECT * FROM t1 WHERE a <> NULL and (a <> NULL or a <= NULL);
|
||||
DROP TABLE t1;
|
||||
|
||||
|
||||
drop table t1, t2;
|
||||
|
||||
--echo #
|
||||
--echo # Bug#47925: regression of range optimizer and date comparison in 5.1.39!
|
||||
--echo #
|
||||
|
|
|
@ -3704,7 +3704,10 @@ ha_innobase::store_key_val_for_row(
|
|||
} else if (mysql_type == MYSQL_TYPE_TINY_BLOB
|
||||
|| mysql_type == MYSQL_TYPE_MEDIUM_BLOB
|
||||
|| mysql_type == MYSQL_TYPE_BLOB
|
||||
|| mysql_type == MYSQL_TYPE_LONG_BLOB) {
|
||||
|| mysql_type == MYSQL_TYPE_LONG_BLOB
|
||||
/* MYSQL_TYPE_GEOMETRY data is treated
|
||||
as BLOB data in innodb. */
|
||||
|| mysql_type == MYSQL_TYPE_GEOMETRY) {
|
||||
|
||||
CHARSET_INFO* cs;
|
||||
ulint key_len;
|
||||
|
|
Loading…
Add table
Reference in a new issue