diff options
author | dlenev@brandersnatch.localdomain <> | 2004-08-10 12:42:31 +0400 |
---|---|---|
committer | dlenev@brandersnatch.localdomain <> | 2004-08-10 12:42:31 +0400 |
commit | f49d4f5350299e31ec4176210e2d457795fb5ed8 (patch) | |
tree | 4016d026abe9ef6a9eb602093cce08af13970126 /sql/item_create.h | |
parent | bcbbfc3bb84b490d0f16d555c5e21b96dc105c23 (diff) | |
download | mariadb-git-f49d4f5350299e31ec4176210e2d457795fb5ed8.tar.gz |
Fix for bug #4508 "CONVERT_TZ() function with new time zone as param crashes server".
Instead of trying to open time zone tables during calculation of CONVERT_TZ() function
or setting of @@time_zone variable we should open and lock them with the rest of
statement's table (so we should add them to global table list) and after that use such
pre-opened tables for loading info about time zones.
Diffstat (limited to 'sql/item_create.h')
-rw-r--r-- | sql/item_create.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_create.h b/sql/item_create.h index 19f0c9133f2..7577627ef04 100644 --- a/sql/item_create.h +++ b/sql/item_create.h @@ -31,7 +31,6 @@ Item *create_func_char_length(Item* a); Item *create_func_cast(Item *a, Cast_target cast_type, int len, CHARSET_INFO *cs); Item *create_func_connection_id(void); Item *create_func_conv(Item* a, Item *b, Item *c); -Item *create_func_convert_tz(Item* a, Item *b, Item *c); Item *create_func_cos(Item* a); Item *create_func_cot(Item* a); Item *create_func_crc32(Item* a); |