summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-02-21 17:52:15 +0100
committerunknown <lars@mysql.com>2005-02-21 17:52:15 +0100
commit25b205cec8d634220677f633c015ce8c7bde6c51 (patch)
treedacd124e4b2ab2416889efc2e6b2c5cf8de24dc0 /sql/log_event.cc
parentdf1b674a695c6cba3228a94a556f97c707e732fc (diff)
downloadmariadb-git-25b205cec8d634220677f633c015ce8c7bde6c51.tar.gz
BUG#6676: Added comment for the fix
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 7d2848700f6..fabc6718826 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -2528,6 +2528,11 @@ int User_var_log_event::exec_event(struct st_relay_log_info* rli)
0 can be passed as last argument (reference on item)
*/
e.fix_fields(thd, 0, 0);
+ /*
+ A variable can just be considered as a table with
+ a single record and with a single column. Thus, like
+ a column value, it could always have IMPLICIT derivation.
+ */
e.update_hash(val, val_len, type, charset, DERIVATION_IMPLICIT);
free_root(thd->mem_root,0);