diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-03 09:41:50 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-03 09:41:50 +0200 |
commit | ddbc6126920c1ad0300f7f9734348309f5073de7 (patch) | |
tree | f98a56b0fef476345979f3a228de8ffd27da0ea6 /sql/handler.h | |
parent | 0f81ca6a0bb21fbba4bca93a7555f7c8e6357b47 (diff) | |
parent | 676987c4a14069d415c56d0f259aaaa7ca742c23 (diff) | |
download | mariadb-git-ddbc6126920c1ad0300f7f9734348309f5073de7.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h index 49fef4a5cc9..fc69d9423b4 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -2,7 +2,7 @@ #define HANDLER_INCLUDED /* Copyright (c) 2000, 2019, Oracle and/or its affiliates. - Copyright (c) 2009, 2020, MariaDB + Copyright (c) 2009, 2021, MariaDB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -1671,6 +1671,12 @@ handlerton *ha_default_tmp_handlerton(THD *thd); // Engine needs to access the main connect string in partitions #define HTON_CAN_READ_CONNECT_STRING_IN_PARTITION (1 <<12) +/* + Table requires and close and reopen after truncate + If the handler has HTON_CAN_RECREATE, this flag is not used +*/ +#define HTON_REQUIRES_CLOSE_AFTER_TRUNCATE (1 << 18) + class Ha_trx_info; struct THD_TRANS |