summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-01-19 22:40:16 -0700
committersasha@mysql.sashanet.com <>2001-01-19 22:40:16 -0700
commit634ba86ad7b781b62cbfc6545baa369145e1b37e (patch)
tree1a867ce93f7bc873347f776d08ae6607a8ba554a /sql
parent45fa68611af37c2c474371645a1d4ccf2f97d1b3 (diff)
downloadmariadb-git-634ba86ad7b781b62cbfc6545baa369145e1b37e.tar.gz
client/mysqltest.c
added send/reap/dirty_close include/mysql.h mysql_send_query()/mysql_reap_query() libmysql/libmysql.c mysql_send_query()/mysql_reap_query() mysys/my_vsnprintf.c fixed critical bug that codedumped when connection aborted sql/sql_parse.cc 0 mysql-test/r/dirty-close.result New BitKeeper file ``mysql-test/r/dirty-close.result'' mysql-test/t/dirty-close.test New BitKeeper file ``mysql-test/t/dirty-close.test''
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 1d41ae6230a..1b46cc51bfc 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -408,7 +408,7 @@ pthread_handler_decl(handle_one_connection,arg)
{
sql_print_error(ER(ER_NEW_ABORTING_CONNECTION),
thd->thread_id,(thd->db ? thd->db : "unconnected"),
- thd->user,
+ thd->user ? thd->user : "unauthenticated",
(thd->host ? thd->host : thd->ip ? thd->ip : "unknown"),
(net->last_errno ? ER(net->last_errno) :
ER(ER_UNKNOWN_ERROR)));