diff options
Diffstat (limited to 'sql/sql_alter.h')
-rw-r--r-- | sql/sql_alter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_alter.h b/sql/sql_alter.h index 1c98ac1651d..b922cbf0637 100644 --- a/sql/sql_alter.h +++ b/sql/sql_alter.h @@ -294,6 +294,12 @@ public: const char *get_tmp_path() const { return tmp_path; } + const LEX_CSTRING get_tmp_cstring_path() const + { + LEX_CSTRING tmp= { tmp_path, strlen(tmp_path) }; + return tmp; + }; + /** Mark ALTER TABLE as needing to produce foreign key error if it deletes a row from the table being changed. |