mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/media/sda1/mysql/mysql-4.1-5748-anew
This commit is contained in:
@@ -297,3 +297,14 @@ execute stmt;
|
||||
'abc' like convert('abc' using utf8)
|
||||
1
|
||||
deallocate prepare stmt;
|
||||
create table t1 ( a bigint );
|
||||
prepare stmt from 'select a from t1 where a between ? and ?';
|
||||
set @a=1;
|
||||
execute stmt using @a, @a;
|
||||
a
|
||||
execute stmt using @a, @a;
|
||||
a
|
||||
execute stmt using @a, @a;
|
||||
a
|
||||
drop table t1;
|
||||
deallocate prepare stmt;
|
||||
|
||||
@@ -314,3 +314,18 @@ prepare stmt from "select 'abc' like convert('abc' using utf8)";
|
||||
execute stmt;
|
||||
execute stmt;
|
||||
deallocate prepare stmt;
|
||||
|
||||
#
|
||||
# BUG#5748 "Prepared statement with BETWEEN and bigint values crashes
|
||||
# mysqld". Just another place where an item tree modification must be
|
||||
# rolled back.
|
||||
#
|
||||
create table t1 ( a bigint );
|
||||
prepare stmt from 'select a from t1 where a between ? and ?';
|
||||
set @a=1;
|
||||
execute stmt using @a, @a;
|
||||
execute stmt using @a, @a;
|
||||
execute stmt using @a, @a;
|
||||
drop table t1;
|
||||
deallocate prepare stmt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user