merge 4.1->5.0 of the test suite for bug 19216
This commit is contained in:
parent
d6672f711d
commit
cd7613b265
@ -142,6 +142,24 @@ drop table t1;
|
|||||||
--exec $MYSQL -e 'help ' > $MYSQLTEST_VARDIR/tmp/bug20328_2.result
|
--exec $MYSQL -e 'help ' > $MYSQLTEST_VARDIR/tmp/bug20328_2.result
|
||||||
--exec diff $MYSQLTEST_VARDIR/tmp/bug20328_1.result $MYSQLTEST_VARDIR/tmp/bug20328_2.result
|
--exec diff $MYSQLTEST_VARDIR/tmp/bug20328_1.result $MYSQLTEST_VARDIR/tmp/bug20328_2.result
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #19216: Client crashes on long SELECT
|
||||||
|
#
|
||||||
|
--exec echo "select" > $MYSQLTEST_VARDIR/tmp/b19216.tmp
|
||||||
|
# 3400 * 20 makes 68000 columns that is more than the max number that can fit
|
||||||
|
# in a 16 bit number.
|
||||||
|
let $i= 3400;
|
||||||
|
while ($i)
|
||||||
|
{
|
||||||
|
--exec echo "'a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a'," >> $MYSQLTEST_VARDIR/tmp/b19216.tmp
|
||||||
|
dec $i;
|
||||||
|
}
|
||||||
|
|
||||||
|
--exec echo "'b';" >> $MYSQLTEST_VARDIR/tmp/b19216.tmp
|
||||||
|
--disable_query_log
|
||||||
|
--exec $MYSQL < $MYSQLTEST_VARDIR/tmp/b19216.tmp >/dev/null
|
||||||
|
--enable_query_log
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug #20103: Escaping with backslash does not work
|
# Bug #20103: Escaping with backslash does not work
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user