diff options
author | konstantin@mysql.com <> | 2004-10-08 02:21:19 +0400 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-10-08 02:21:19 +0400 |
commit | 2aa7ec0d9da32c9fe0ea8bea6e21b9905fbdb487 (patch) | |
tree | a5dc36f841657f3f8e88422732495d2f85a82a86 /sql/item.h | |
parent | 66923bf9685734ebec22af1a2a9a63e68ccdc24b (diff) | |
download | mariadb-git-2aa7ec0d9da32c9fe0ea8bea6e21b9905fbdb487.tar.gz |
A fix for Bug#5748 "Prepared statement with BETWEEN and bigint values
crashes mysqld": implementation for a generic item tree modifications
registry. Every item tree modification which should be rolled back for
subsequent execution of a prepared statement or stored procedure should
be saved in the registry. All such modifications are rolled back at once
during cleanup stage of PS.
Actual fix for the bug just adds a call to register modifications to
convert_constant_item.
Post review fixes implemented.
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/item.h b/sql/item.h index ce52705c341..6a22b57ee8e 100644 --- a/sql/item.h +++ b/sql/item.h @@ -317,7 +317,6 @@ class Item_ident :public Item const char *orig_db_name; const char *orig_table_name; const char *orig_field_name; - Item **changed_during_fix_field; public: const char *db_name; const char *table_name; @@ -340,8 +339,6 @@ public: Item_ident(THD *thd, Item_ident *item); const char *full_name() const; void cleanup(); - void register_item_tree_changing(Item **ref) - { changed_during_fix_field= ref; } bool remove_dependence_processor(byte * arg); }; |