diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/log_event.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index 7fa8640f107..d568b91a1e2 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -7535,7 +7535,7 @@ User_var_log_event(const char* buf, uint event_len, may have the bigger value possible, is_null= True and there is no payload for val, or even that name_len is 0. */ - if (name + name_len + UV_NAME_LEN_SIZE > buf_end) + if (name + name_len + UV_VAL_IS_NULL > buf_end) { error= true; goto err; |