summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-09-07 15:25:27 +0200
committerSergei Golubchik <serg@mariadb.org>2018-09-07 15:25:27 +0200
commitdb947b75997248ca4b0a6b6600df993bf84cd601 (patch)
treeb6c16037931b17f645d4b71b0db8c4ebf3479435 /sql/log_event.cc
parentf95d26b4d3ec0e4b039e80439f85e4f22bd79fe7 (diff)
parent2482306861ca107adfb6c8823cd9f6e413912ebe (diff)
downloadmariadb-git-db947b75997248ca4b0a6b6600df993bf84cd601.tar.gz
Merge branch '10.0-galera' into 10.1
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 9ccbb45d01c..e1912ad4620 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -7912,11 +7912,6 @@ User_var_log_event(const char* buf, uint event_len,
we keep the flags set to UNDEF_F.
*/
uint bytes_read= ((val + val_len) - buf_start);
- if (bytes_read > event_len)
- {
- error= true;
- goto err;
- }
if ((data_written - bytes_read) > 0)
{
flags= (uint) *(buf + UV_VAL_IS_NULL + UV_VAL_TYPE_SIZE +