Re: main.create-big fails on mariadb 5.2 (64bit linux)
I propose to do something like this:
=== modified file 'sql/sql_parse.cc'
— sql/sql_parse.cc 2009-11-30 21:37:27 +0000
+++ sql/sql_parse.cc 2009-12-02 23:42:54 +0000
@@ -1252,12 +1252,12 @@
ha_maria::implicit_commit(thd, FALSE);
#endif
+ /*
+ Multiple queries exits, execute them individually
+ */
+ close_thread_tables(thd);
net_end_statement(thd);
query_cache_end_of_result(thd);
- /*
- Multiple queries exits, execute them individually
- */
- close_thread_tables(thd);
ulong length= (ulong)(packet_end - beginning_of_next_stmt);
log_slow_statement(thd);
@@ -1645,12 +1645,12 @@
ha_maria::implicit_commit(thd, FALSE);
#endif
- net_end_statement(thd);
- query_cache_end_of_result(thd);
thd->proc_info= "closing tables";
/* Free tables */
close_thread_tables(thd);
+ net_end_statement(thd);
+ query_cache_end_of_result(thd);
log_slow_statement(thd);
Re: main.create-big fails on mariadb 5.2 (64bit linux)
Can't repeat:
BUILD/compile-amd64-debug-max-no-ndb
./mysql-test-run.pl create-big
Logging: ./mysql-test-run.pl create-big
MySQL Version 5.2.0
Checking supported features...
Collecting tests...
vardir: /home/hakan/work/monty_program/maria-5.2/mysql-test/var
Removing old var directory...
Creating var directory '/home/hakan/work/monty_program/maria-5.2/mysql-test/var'...
Installing system database...
Using server port 57903
==============================================================================
TEST RESULT TIME (ms)
------------------------------------------------------------
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
main.create-big [ pass ] 171914
------------------------------------------------------------
The servers were restarted 0 times
Spent 171.914 of 183 seconds executing testcases
All 1 tests were successful.