diff options
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index 8ee6ee02d68..b6fde659cd9 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1033,7 +1033,7 @@ char *get_field(MEM_ROOT *mem, TABLE *table, uint fieldnr) bool check_db_name(const char *name) { - const char *start=end; + const char *start=name; while (*name) { #if defined(USE_MB) && defined(USE_MB_IDENT) |