diff options
author | Eugene Kosov <claprix@yandex.ru> | 2017-12-27 16:03:16 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-24 12:48:32 +0300 |
commit | 7b2bdd898450dbade97d803bb07a8846ad533d07 (patch) | |
tree | 2d558443b291b1e32f46fd11ee3547e744d668ef /sql/lock.cc | |
parent | 39a4985520ebeb8c77d657e4624359a484ad330f (diff) | |
download | mariadb-git-7b2bdd898450dbade97d803bb07a8846ad533d07.tar.gz |
register keyword c++17 warning
Diffstat (limited to 'sql/lock.cc')
-rw-r--r-- | sql/lock.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/lock.cc b/sql/lock.cc index 79ce27b9937..85a32b54081 100644 --- a/sql/lock.cc +++ b/sql/lock.cc @@ -378,7 +378,7 @@ end: static int lock_external(THD *thd, TABLE **tables, uint count) { - reg1 uint i; + uint i; int lock_type,error; DBUG_ENTER("lock_external"); @@ -530,7 +530,7 @@ void mysql_lock_remove(THD *thd, MYSQL_LOCK *locked,TABLE *table) { if (locked) { - reg1 uint i; + uint i; for (i=0; i < locked->table_count; i++) { if (locked->table[i] == table) |