diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-07-03 17:35:27 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-08-10 15:03:10 +0200 |
commit | c38b8f49b8cbe43e20d7710b0d291dd92490fced (patch) | |
tree | 9811f1052beb71247936933cea7a3732fb7d324a /sql/sql_type.cc | |
parent | 4ce1470a700809c7b62ade40ddb95063a0e47402 (diff) | |
download | mariadb-git-c38b8f49b8cbe43e20d7710b0d291dd92490fced.tar.gz |
cleanup: consolidate binlog-related THD::*_used into one bitmap
Diffstat (limited to 'sql/sql_type.cc')
-rw-r--r-- | sql/sql_type.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_type.cc b/sql/sql_type.cc index 1c433043db7..3759c0ba02f 100644 --- a/sql/sql_type.cc +++ b/sql/sql_type.cc @@ -1064,7 +1064,7 @@ Datetime::Datetime(THD *thd, const timeval &tv) { thd->variables.time_zone->gmt_sec_to_TIME(this, tv.tv_sec); second_part= tv.tv_usec; - thd->time_zone_used= 1; + thd->used|= THD::TIME_ZONE_USED; DBUG_ASSERT(is_valid_value_slow()); } |