summaryrefslogtreecommitdiff
path: root/storage/innobase/btr/btr0defragment.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2020-03-11 16:27:37 +0300
committerEugene Kosov <claprix@yandex.ru>2020-03-11 16:27:37 +0300
commitdf88e7cefaa7dcffdc52359b73a1087e8569e000 (patch)
treef9cd6de83dd4fbfed03687157c8410e5830af681 /storage/innobase/btr/btr0defragment.cc
parentb30446c85dbf0fd402a7833e1042bc13be7fece2 (diff)
downloadmariadb-git-df88e7cefaa7dcffdc52359b73a1087e8569e000.tar.gz
fix typedef-related warning and cleanup using namespace std
Diffstat (limited to 'storage/innobase/btr/btr0defragment.cc')
-rw-r--r--storage/innobase/btr/btr0defragment.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/innobase/btr/btr0defragment.cc b/storage/innobase/btr/btr0defragment.cc
index 070f6a9cc0a..f679f22dfe4 100644
--- a/storage/innobase/btr/btr0defragment.cc
+++ b/storage/innobase/btr/btr0defragment.cc
@@ -38,6 +38,9 @@ Modified 30/07/2014 Jan Lindström jan.lindstrom@mariadb.com
#include <list>
+using std::list;
+using std::min;
+
/* When there's no work, either because defragment is disabled, or because no
query is submitted, thread checks state every BTR_DEFRAGMENT_SLEEP_IN_USECS.*/
#define BTR_DEFRAGMENT_SLEEP_IN_USECS 1000000