summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-03-27 15:28:15 +0400
committerhf@deer.(none) <>2004-03-27 15:28:15 +0400
commit6406285849be78c45397fe6321e7687e516f06be (patch)
tree22c0841f814f6def262e0e7db3a6af34944aa36a
parent19f0843f3fbe25938e84c113800210a74bb24f33 (diff)
parent2fc0fa66700905597933ad40d392b542a3580124 (diff)
downloadmariadb-git-6406285849be78c45397fe6321e7687e516f06be.tar.gz
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.clean
-rw-r--r--libmysqld/lib_sql.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 83bd9d5f52b..aa29f630b0d 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -491,6 +491,7 @@ int check_embedded_connection(MYSQL *mysql)
thd->host= (char*)my_localhost;
thd->host_or_ip= thd->host;
thd->user= my_strdup(mysql->user, MYF(0));
+ check_user(thd, COM_CONNECT, NULL, 0, thd->db, true);
return 0;
}