From 4513de3127df61fa2030690110bb34b7e1c40849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 8 May 2018 10:40:05 +0300 Subject: [PATCH] Remove a "register" keyword from C++ code The register keyword has no effect in C++, and it has been deprecated in newer versions of the standard. --- sql/filesort.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/filesort.cc b/sql/filesort.cc index 1f0f7c0f577..83edfadee2d 100644 --- a/sql/filesort.cc +++ b/sql/filesort.cc @@ -1514,7 +1514,7 @@ cleanup: ulong read_to_buffer(IO_CACHE *fromfile, BUFFPEK *buffpek, uint rec_length) { - register ulong count; + ulong count; ulong length= 0; if ((count= (ulong) MY_MIN((ha_rows) buffpek->max_keys,buffpek->count)))