summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-11-24 02:56:12 +0200
committermonty@mysql.com <>2005-11-24 02:56:12 +0200
commitaa37b75768eaea30a35b0e6e60185bbd95b7bada (patch)
tree586e1c8d17361d92a7ddb4190893e1d6527e6fc9 /sql/sql_udf.cc
parent30b360bfccdf9471efb444df0514693f0fb94444 (diff)
parentf5804869e376e7214817a5ccd23737ec9f46f0d0 (diff)
downloadmariadb-git-aa37b75768eaea30a35b0e6e60185bbd95b7bada.tar.gz
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r--sql/sql_udf.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index 2067f042133..367803f4c86 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -133,6 +133,7 @@ void udf_init()
DBUG_VOID_RETURN;
}
initialized = 1;
+ new_thd->thread_stack= (char*) &new_thd;
new_thd->store_globals();
new_thd->db= my_strdup("mysql", MYF(0));
new_thd->db_length=5;