summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorVesa Pentti <vesa.pentti@mariadb.net>2018-01-07 19:14:27 +0000
committerVesa Pentti <vesa.pentti@mariadb.net>2018-01-08 16:00:08 +0000
commit373ae4e86edd772f367bd8b57be07878246b5b9f (patch)
tree7ec398ae2f0140f1374bd6b38695ec879bfcef07 /sql/handler.h
parent5208e898079ef7f226bdb2275e5a528ad3663b67 (diff)
downloadmariadb-git-bb-10.2-pentve.tar.gz
MDEV-14185 -- CREATE TEMPORARY TABLE AS SELECT causes error 1290 with read_only and InnoDBbb-10.2-pentve
* Did affect only transactional engines like InnoDB * Note: During table creation handler's 'table_share' is NULL * Now the transaction isn't marked rw for a temporary table when it's created
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index b280f6d597d..6c35e5eafc0 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -2923,7 +2923,7 @@ public:
int ha_create(const char *name, TABLE *form, HA_CREATE_INFO *info);
int ha_create_partitioning_metadata(const char *name, const char *old_name,
- int action_flag);
+ int action_flag, bool should_mark_rw = true);
int ha_change_partitions(HA_CREATE_INFO *create_info,
const char *path,