diff options
author | Joerg Bruehe <joerg@mysql.com> | 2008-11-10 20:32:45 +0100 |
---|---|---|
committer | Joerg Bruehe <joerg@mysql.com> | 2008-11-10 20:32:45 +0100 |
commit | a1e2d2d14615b0ccac6b1246a58cd347effaeefb (patch) | |
tree | 0c6bedc8298d6ba68c23420c95626e2b52466499 /sql/handler.h | |
parent | 12ad7f3b9da5e0563c24698856102b4b646cea82 (diff) | |
parent | 9a0637750a4775e199b3915bd83e630540729d64 (diff) | |
download | mariadb-git-a1e2d2d14615b0ccac6b1246a58cd347effaeefb.tar.gz |
Merge main 5.1 -> 5.1-build
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h index b7d4d689d40..a218de6a1e5 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -1198,6 +1198,9 @@ public: { return inited == INDEX ? ha_index_end() : inited == RND ? ha_rnd_end() : 0; } + /** + The cached_table_flags is set at ha_open and ha_external_lock + */ Table_flags ha_table_flags() const { return cached_table_flags; } /** These functions represent the public interface to *users* of the @@ -1738,7 +1741,7 @@ public: if (ht->alter_table_flags) return ht->alter_table_flags(flags); return 0; - } + } protected: /* Service methods for use by storage engines. */ |