mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
code cleanup
This commit is contained in:
@ -1,12 +1,4 @@
|
|||||||
#
|
#
|
||||||
# This test is first part of test init_file_part2.test (bug #2526)
|
# This test is for bug #2526 "--init-file crashes MySQL if contains large select"
|
||||||
|
# Have a look at code in init_file.sql
|
||||||
#
|
#
|
||||||
|
|
||||||
#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);
|
|
@ -495,7 +495,7 @@ bool select_send::send_data(List<Item> &items)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
thd->sent_row_count++;
|
thd->sent_row_count++;
|
||||||
if (thd->bootstrap)
|
if (!thd->net.vio)
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
bool error=my_net_write(&thd->net,(char*) packet->ptr(),packet->length());
|
bool error=my_net_write(&thd->net,(char*) packet->ptr(),packet->length());
|
||||||
DBUG_RETURN(error);
|
DBUG_RETURN(error);
|
||||||
|
Reference in New Issue
Block a user