summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-07-20 20:02:36 +0400
committerkonstantin@mysql.com <>2005-07-20 20:02:36 +0400
commit21957c423ecbe8b0126d56f586bc9997fe4d91bd (patch)
tree67f17393fe4e37a40bbcdee210b4e126d3cbb834 /sql/ha_ndbcluster.cc
parent4570ace8fb06244fe0e45f5617d5e3f9da815c11 (diff)
downloadmariadb-git-21957c423ecbe8b0126d56f586bc9997fe4d91bd.tar.gz
Implement MySQL framework to support consistent read views in
cursors. This should fix Bug#11813 when InnoDB part is in (tested with a draft patch). The idea of the patch is that if a storage engine supports consistent read views, we open one when open a cursor, set is as the active view when fetch from the cursor, and close together with cursor close.
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 9e6725178d5..fc68b5a2ea9 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -63,6 +63,9 @@ static handlerton ndbcluster_hton = {
NULL, /* recover */
NULL, /* commit_by_xid */
NULL, /* rollback_by_xid */
+ NULL, /* create_cursor_read_view */
+ NULL, /* set_cursor_read_view */
+ NULL, /* close_cursor_read_view */
HTON_NO_FLAGS
};