mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Cleanup of alarm macros.
Fixed data corruption bug in query cache. Made queries be dependent of the database in use.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user