diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-05-16 17:47:04 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-05-17 08:00:26 +0300 |
commit | b8187fd005b765b81261908ba9caa667d506e3d3 (patch) | |
tree | 5ca575d505187b9d88f4a39ad02196bdbfeb7eb1 | |
parent | e63e2fe206a62058c1134e06d25c0a40745f38c0 (diff) | |
download | mariadb-git-b8187fd005b765b81261908ba9caa667d506e3d3.tar.gz |
MDEV-12071 storage/xtradb/handler/ha_innodb.cc: Cannot assign const_iterator to iterator
-rw-r--r-- | storage/xtradb/handler/ha_innodb.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc index 12ae71508c7..6c390328258 100644 --- a/storage/xtradb/handler/ha_innodb.cc +++ b/storage/xtradb/handler/ha_innodb.cc @@ -13339,7 +13339,8 @@ fill_foreign_key_list(THD* thd, { ut_ad(mutex_own(&dict_sys->mutex)); - for (dict_foreign_set::iterator it = table->referenced_set.begin(); + for (dict_foreign_set::const_iterator it + = table->referenced_set.begin(); it != table->referenced_set.end(); ++it) { dict_foreign_t* foreign = *it; |