merge from 5.1-bugteam
This commit is contained in:
commit
83945e9d65
@ -235,7 +235,7 @@ execute stmt1;
|
|||||||
prepare stmt1 from "insert into t1 select i from t1";
|
prepare stmt1 from "insert into t1 select i from t1";
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
prepare stmt1 from "select * from t1 into outfile 'f1.txt'";
|
prepare stmt1 from "select * from t1 into outfile '<MYSQLTEST_VARDIR>/tmp/f1.txt'";
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
deallocate prepare stmt1;
|
deallocate prepare stmt1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
@ -230,6 +230,10 @@ drop table t1;
|
|||||||
# statements or are correctly created and deleted on each execute
|
# statements or are correctly created and deleted on each execute
|
||||||
#
|
#
|
||||||
|
|
||||||
|
--let $outfile=$MYSQLTEST_VARDIR/tmp/f1.txt
|
||||||
|
--error 0,1
|
||||||
|
--remove_file $outfile
|
||||||
|
|
||||||
prepare stmt1 from "select 1 into @var";
|
prepare stmt1 from "select 1 into @var";
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
@ -240,11 +244,14 @@ execute stmt1;
|
|||||||
prepare stmt1 from "insert into t1 select i from t1";
|
prepare stmt1 from "insert into t1 select i from t1";
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
prepare stmt1 from "select * from t1 into outfile 'f1.txt'";
|
--replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
|
||||||
|
eval prepare stmt1 from "select * from t1 into outfile '$outfile'";
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
deallocate prepare stmt1;
|
deallocate prepare stmt1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
--remove_file $outfile
|
||||||
|
|
||||||
#
|
#
|
||||||
# BUG#5242 "Prepared statement names are case sensitive"
|
# BUG#5242 "Prepared statement names are case sensitive"
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user