summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-09-09 13:02:25 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-09-09 13:02:25 +0300
commit040ae4c59bdf0f93caf410679b6b34aca5ebd4cd (patch)
tree9f1d2dc050147453b59901803d83dd9e2def8f53
parentd44c0f46c51bf456010360e4e73959a6130c00b0 (diff)
downloadmariadb-git-040ae4c59bdf0f93caf410679b6b34aca5ebd4cd.tar.gz
MDEV-22924 fixup: Replace C++11 auto
-rw-r--r--storage/innobase/row/row0sel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/row/row0sel.cc b/storage/innobase/row/row0sel.cc
index 2b6d34b8837..c07b42ea8d7 100644
--- a/storage/innobase/row/row0sel.cc
+++ b/storage/innobase/row/row0sel.cc
@@ -3323,7 +3323,7 @@ class Row_sel_get_clust_rec_for_mysql
ut_ad(vers_offs == rec_get_offsets(cached_old_vers, index, vers_offs, true,
index->db_trx_id(), &heap));
ut_ad(!heap);
- for (auto n= index->db_trx_id(); n--; )
+ for (unsigned n= index->db_trx_id(); n--; )
{
const dict_col_t *col= dict_index_get_nth_col(index, n);
ulint len1, len2;