mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Windows : Fix crash with "uninitialized variable keyname used"
by C runtime debug check.
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user