summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2010-06-10 15:43:32 +0400
committerKonstantin Osipov <kostja@sun.com>2010-06-10 15:43:32 +0400
commit41d95c504976746e4d117a4f97e18004f36eb70e (patch)
tree41f4c8d871ed17caa85406b096d767bc51481b0d /sql/table.h
parentdf9ab0ffea2eb603179f2bd2abcc66d2c652cdda (diff)
downloadmariadb-git-41d95c504976746e4d117a4f97e18004f36eb70e.tar.gz
A pre-requisite for WL#5419 "LOCK_open scalability:
make tdc_refresh_version an atomic counter". Backport the trivial changes from mysql-trunk-iplus.
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h
index 52fc0f1a7d9..30cac15f8d1 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -740,7 +740,7 @@ struct TABLE_SHARE
/*
Must all TABLEs be reopened?
*/
- inline bool needs_reopen()
+ inline bool needs_reopen() const
{
return version != refresh_version;
}