summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-08-14 10:26:18 +0400
committerAlexander Barkov <bar@mariadb.com>2019-08-14 13:33:01 +0400
commite86010f909fb6b8c4ffd9d6df92991ac079e67e7 (patch)
treee30f0335d75b480ffe1f546c4b0f86b530c4558c /sql/log.cc
parentfa21952e25e3defef172e1f2074e3e2d5b091f5c (diff)
downloadmariadb-git-e86010f909fb6b8c4ffd9d6df92991ac079e67e7.tar.gz
MDEV-20342 Turn Field::flags from a member to a method
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 78c1debcb4d..fe1206e35df 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -783,7 +783,7 @@ bool Log_to_csv_event_handler::
A positive return value in store() means truncation.
Still logging a message in the log in this case.
*/
- table->field[5]->flags|= FIELDFLAG_HEX_ESCAPE;
+ table->field[5]->add_flags(FIELDFLAG_HEX_ESCAPE);
if (table->field[5]->store(sql_text, sql_text_len, client_cs) < 0)
goto err;