summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2006-01-17 21:12:24 +0100
committerunknown <serg@serg.mylan>2006-01-17 21:12:24 +0100
commitd9e7af2684205baebe325fc78d6d34b6ffb727e2 (patch)
tree0230407a8363eee64595fbb8e4f19fab0f67e744 /client
parent8975c9bb605d6c0a3506acb0f3022eb8246962ec (diff)
parente0db2186e43448c9631b2849a95c487963dc39e8 (diff)
downloadmariadb-git-d9e7af2684205baebe325fc78d6d34b6ffb727e2.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 6a2a7b072de..ca28419fa4f 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -2143,19 +2143,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