diff options
author | unknown <monty@hundin.mysql.fi> | 2001-12-21 07:00:58 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-12-21 07:00:58 +0200 |
commit | 9603291efdd930b1b7efb1534ba76569d517aac9 (patch) | |
tree | 14f15faabd0531594907bd3b9b9e4787da493d83 /sql/sql_udf.cc | |
parent | 10863a359080d70a979bf0fc8bd88e7c51a6a2c2 (diff) | |
download | mariadb-git-9603291efdd930b1b7efb1534ba76569d517aac9.tar.gz |
Cleanup of alarm macros.
Fixed data corruption bug in query cache.
Made queries be dependent of the database in use.
Docs/manual.texi:
Update binary log reference
client/mysql.cc:
Removed warning
include/thr_alarm.h:
Cleanup of alarm macros.
libmysql/libmysql.c:
Portabiliy fix
libmysql/net.c:
Cleanup of alarm macros.
mysql-test/t/rpl_get_lock.test:
Fixed results after merge.
mysys/my_bitmap.c:
Removed warning.
sql/log_event.cc:
Use thd->db_length
sql/mini_client.cc:
Cleanup of alarm macros.
sql/net_serv.cc:
Cleanup of alarm macros.
sql/sql_acl.cc:
Use thd->db_length
sql/sql_cache.cc:
Store used database together with the query.
sql/sql_class.cc:
Use thd->db_length
sql/sql_class.h:
Use thd->db_length
sql/sql_db.cc:
Use thd->db_length
sql/sql_parse.cc:
Use thd->db_length
sql/sql_udf.cc:
Use thd->db_length
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r-- | sql/sql_udf.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc index 3ee4b9ff37e..9493f969802 100644 --- a/sql/sql_udf.cc +++ b/sql/sql_udf.cc @@ -139,7 +139,8 @@ void udf_init() new_thd->version = refresh_version; //current_thd->version; new_thd->current_tablenr = 0; new_thd->open_tables = 0; - new_thd->db = my_strdup("mysql", MYF(0)); + new_thd->db= my_strdup("mysql", MYF(0)); + new_thd->db_length=5; bzero((gptr) &tables,sizeof(tables)); tables.name = tables.real_name = (char*) "func"; |