mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
added checking for bootstrap in select_send::send_data
(fixed bug #2526 "--init-file crashes MySQL if contains large select") Such checking usually works in send_ok, send_eof, but in this case large result causes interim flushing. sql/sql_class.cc: added checking for bootstrap in select_send::send_data
This commit is contained in:
1
mysql-test/t/init_file-master.opt
Normal file
1
mysql-test/t/init_file-master.opt
Normal file
@ -0,0 +1 @@
|
||||
--init-file=$MYSQL_TEST_DIR/t/init_file.sql
|
1
mysql-test/t/init_file.sql
Normal file
1
mysql-test/t/init_file.sql
Normal file
@ -0,0 +1 @@
|
||||
select * from mysql.user as t1, mysql.user as t2, mysql.user as t3, mysql.user as t4, mysql.user as t5, mysql.user as t6, mysql.user as t7, mysql.user as t8;
|
12
mysql-test/t/init_file.test
Normal file
12
mysql-test/t/init_file.test
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# This test is first part of test init_file_part2.test (bug #2526)
|
||||
#
|
||||
|
||||
#DROP TABLE IF EXISTS t1;
|
||||
|
||||
#CREATE TABLE t1
|
||||
#(
|
||||
# i int(11) default NULL
|
||||
#) TYPE=MyISAM;
|
||||
|
||||
#INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
|
Reference in New Issue
Block a user