Commit fb6cbfe0 authored by unknown's avatar unknown

code cleanup

parent 7f1e2e48
#
# 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);
\ No newline at end of file
......@@ -495,7 +495,7 @@ bool select_send::send_data(List<Item> &items)
}
}
thd->sent_row_count++;
if (thd->bootstrap)
if (!thd->net.vio)
DBUG_RETURN(0);
bool error=my_net_write(&thd->net,(char*) packet->ptr(),packet->length());
DBUG_RETURN(error);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment