Windows : Fix crash with "uninitialized variable keyname used"

by C runtime debug check.
This commit is contained in:
Vladislav Vaintroub 2015-12-02 18:33:54 +01:00
parent 3c0e9d31b3
commit 089a586b43

View File

@ -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())