diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2015-12-02 18:33:54 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2015-12-02 18:33:54 +0100 |
commit | 089a586b43bba6fa74538bca8f0a361c0a984e33 (patch) | |
tree | 8cb0852c7189ac4d8f67b2e0f294ca0c53f122ba /sql/sql_table.cc | |
parent | 3c0e9d31b3e6494931deb09f5c93b05a96df8471 (diff) | |
download | mariadb-git-089a586b43bba6fa74538bca8f0a361c0a984e33.tar.gz |
Windows : Fix crash with "uninitialized variable keyname used"
by C runtime debug check.
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 8fa24b49d88..ccd6c705c32 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -5843,7 +5843,7 @@ drop_create_field: Key *key; List_iterator<Key> key_it(alter_info->key_list); uint n_key; - const char *keyname; + const char *keyname= NULL; while ((key=key_it++)) { if (!key->if_not_exists() && !key->or_replace()) |