Loading client/mysqltest.c +1 −12 Original line number Diff line number Diff line Loading @@ -2500,19 +2500,8 @@ int connect_n_handle_errors(struct st_query *q, MYSQL* con, const char* host, *create_conn= 0; goto err; } else { handle_no_error(q); /* Fail if there was no error but we expected it. We also don't want to have connection in this case. */ mysql_close(con); *create_conn= 0; error= 1; goto err; } handle_no_error(q); /* TODO: change this to 0 in future versions, but the 'kill' test relies on Loading mysql-test/r/alter_table.result +4 −0 Original line number Diff line number Diff line Loading @@ -617,3 +617,7 @@ select * from t1 where i between 2 and 4 and v in ('def','3r4f','lmn'); i v 4 3r4f drop table t1; create table t1 (t varchar(255) default null, key t (t(80))) engine=myisam default charset=latin1; alter table t1 change t t text; drop table t1; mysql-test/r/mysqltest.result +1 −0 Original line number Diff line number Diff line Loading @@ -361,6 +361,7 @@ OK mysqltest: In included file "./var/tmp/con.sql": At line 7: Connection limit exhausted - increase MAX_CONS in mysqltest.c mysqltest: In included file "./var/tmp/con.sql": At line 3: connection 'test_con1' not found in connection pool mysqltest: In included file "./var/tmp/con.sql": At line 2: Connection test_con1 already exists connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET); Output from mysqltest-x.inc Output from mysqltest-x.inc Output from mysqltest-x.inc Loading mysql-test/r/sp-code.result +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ Pos Instruction 9 set err@1 1 10 hreturn 5 11 cfetch c@0 n@4 12 jump_if_not 15 isnull(n@4) 12 jump_if_not 15(17) isnull(n@4) 13 set nulls@2 (nulls@2 + 1) 14 jump 17 15 set count@3 (count@3 + 1) Loading mysql-test/r/sp-error.result +1 −1 Original line number Diff line number Diff line Loading @@ -522,7 +522,7 @@ fetch c into v; end| delete from t1| call bug7299()| ERROR 02000: No data to FETCH ERROR 02000: No data - zero rows fetched, selected, or processed drop procedure bug7299| create procedure bug9073() begin Loading Loading
client/mysqltest.c +1 −12 Original line number Diff line number Diff line Loading @@ -2500,19 +2500,8 @@ int connect_n_handle_errors(struct st_query *q, MYSQL* con, const char* host, *create_conn= 0; goto err; } else { handle_no_error(q); /* Fail if there was no error but we expected it. We also don't want to have connection in this case. */ mysql_close(con); *create_conn= 0; error= 1; goto err; } handle_no_error(q); /* TODO: change this to 0 in future versions, but the 'kill' test relies on Loading
mysql-test/r/alter_table.result +4 −0 Original line number Diff line number Diff line Loading @@ -617,3 +617,7 @@ select * from t1 where i between 2 and 4 and v in ('def','3r4f','lmn'); i v 4 3r4f drop table t1; create table t1 (t varchar(255) default null, key t (t(80))) engine=myisam default charset=latin1; alter table t1 change t t text; drop table t1;
mysql-test/r/mysqltest.result +1 −0 Original line number Diff line number Diff line Loading @@ -361,6 +361,7 @@ OK mysqltest: In included file "./var/tmp/con.sql": At line 7: Connection limit exhausted - increase MAX_CONS in mysqltest.c mysqltest: In included file "./var/tmp/con.sql": At line 3: connection 'test_con1' not found in connection pool mysqltest: In included file "./var/tmp/con.sql": At line 2: Connection test_con1 already exists connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET); Output from mysqltest-x.inc Output from mysqltest-x.inc Output from mysqltest-x.inc Loading
mysql-test/r/sp-code.result +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ Pos Instruction 9 set err@1 1 10 hreturn 5 11 cfetch c@0 n@4 12 jump_if_not 15 isnull(n@4) 12 jump_if_not 15(17) isnull(n@4) 13 set nulls@2 (nulls@2 + 1) 14 jump 17 15 set count@3 (count@3 + 1) Loading
mysql-test/r/sp-error.result +1 −1 Original line number Diff line number Diff line Loading @@ -522,7 +522,7 @@ fetch c into v; end| delete from t1| call bug7299()| ERROR 02000: No data to FETCH ERROR 02000: No data - zero rows fetched, selected, or processed drop procedure bug7299| create procedure bug9073() begin Loading