summaryrefslogtreecommitdiff
path: root/sql/tztime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r--sql/tztime.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc
index a2add055deb..e77a7529332 100644
--- a/sql/tztime.cc
+++ b/sql/tztime.cc
@@ -2435,9 +2435,9 @@ print_tz_as_sql(const char* tz_name, const TIME_ZONE_INFO *sp)
#define SAVE_ENGINE(e) \
- "\"select ENGINE into @" e "_engine" \
+ "'select ENGINE into @" e "_engine" \
" from information_schema.TABLES" \
- " where TABLE_SCHEMA=DATABASE() and TABLE_NAME='" e "'\""
+ " where TABLE_SCHEMA=DATABASE() and TABLE_NAME=''" e "'''"
/*
Print info about leap seconds in time zone as SQL statements