summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-05-26 16:53:57 +0300
committerunknown <monty@hundin.mysql.fi>2002-05-26 16:53:57 +0300
commit6ec00a6692b54d5e8e69229404d6da97c0314beb (patch)
tree3bbf074db5beece05e46cace37fd9417120b5366 /client
parent31990c309dbaaa347b65545cad2473bb884c13f8 (diff)
downloadmariadb-git-6ec00a6692b54d5e8e69229404d6da97c0314beb.tar.gz
Fixed core dump bug in mysqltest
Added DBUG_ code to lib_vio.c client/mysqltest.c: Fixed core dump bug libmysqld/lib_vio.c: Added DBUG_ code
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index f2dd19424d1..27763736f96 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -42,7 +42,7 @@
**********************************************************************/
-#define MTEST_VERSION "1.21"
+#define MTEST_VERSION "1.22"
#include <my_global.h>
#include <mysql_embed.h>
@@ -1451,7 +1451,7 @@ int do_connect(struct st_query* q)
if (!con_db[0])
con_db=db;
/* Special database to allow one to connect without a database name */
- if (!strcmp(con_db,"*NO-ONE*"))
+ if (con_db && !strcmp(con_db,"*NO-ONE*"))
con_db=0;
if ((con_error = safe_connect(&next_con->mysql, con_host,
con_user, con_pass,