Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c360a20a
Commit
c360a20a
authored
Nov 25, 2009
by
MySQL Build Team
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch adjustments
parent
8620b351
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
mysql-test/r/range.result
mysql-test/r/range.result
+3
-3
mysql-test/t/range.test
mysql-test/t/range.test
+2
-3
storage/innodb_plugin/handler/ha_innodb.cc
storage/innodb_plugin/handler/ha_innodb.cc
+4
-1
No files found.
mysql-test/r/range.result
View file @
c360a20a
...
...
@@ -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!
#
...
...
mysql-test/t/range.test
View file @
c360a20a
...
...
@@ -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
#
...
...
storage/innodb_plugin/handler/ha_innodb.cc
View file @
c360a20a
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment