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-07 19:14:27 +0000
commit85d8d30a55b1dd7f1bc876b47ee6b6a53d7d9964 (patch)
treef17838193af77a44a8aa7658c8b008efd4c1e0c8 /sql/handler.h
parentce4cdfa0f8691f47366d50acd6049b8cd7520e8a (diff)
downloadmariadb-git-bb-10.1-pentve.tar.gz
MDEV-14185 -- CREATE TEMPORARY TABLE AS SELECT causes error 1290 with read_only and InnoDBbb-10.1-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 68de7563d8b..1734ac0c598 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -2872,7 +2872,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,