diff options
author | mskold/marty@linux.site <> | 2006-08-15 14:39:48 +0200 |
---|---|---|
committer | mskold/marty@linux.site <> | 2006-08-15 14:39:48 +0200 |
commit | 604f3f8a69e9ce9f533f488ff8d6edc717c93431 (patch) | |
tree | e67b952b8286adedd89782c44859b2e4b84b0053 /sql/ha_ndbcluster.h | |
parent | ed6deb3d881d02ed73f4e2b0e046f871f33dbe39 (diff) | |
parent | c8b93da3557e2b923e7033ea947172c80b0e329b (diff) | |
download | mariadb-git-604f3f8a69e9ce9f533f488ff8d6edc717c93431.tar.gz |
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index a9e33491d07..c48f78a7f51 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -534,6 +534,11 @@ class Ndb_cond_traverse_context Ndb_rewrite_context *rewrite_stack; }; +typedef enum ndb_query_state_bits { + NDB_QUERY_NORMAL = 0, + NDB_QUERY_MULTI_READ_RANGE = 1 +} NDB_QUERY_STATE_BITS; + /* Place holder for ha_ndbcluster thread specific data */ @@ -571,6 +576,7 @@ class Thd_ndb int error; uint32 options; List<NDB_SHARE> changed_tables; + uint query_state; HASH open_tables; }; @@ -849,8 +855,8 @@ private: friend int execute_commit(ha_ndbcluster*, NdbTransaction*); friend int execute_no_commit_ignore_no_key(ha_ndbcluster*, NdbTransaction*); - friend int execute_no_commit(ha_ndbcluster*, NdbTransaction*); - friend int execute_no_commit_ie(ha_ndbcluster*, NdbTransaction*); + friend int execute_no_commit(ha_ndbcluster*, NdbTransaction*, bool); + friend int execute_no_commit_ie(ha_ndbcluster*, NdbTransaction*, bool); NdbTransaction *m_active_trans; NdbScanOperation *m_active_cursor; @@ -898,6 +904,8 @@ private: bool m_force_send; ha_rows m_autoincrement_prefetch; bool m_transaction_on; + void release_completed_operations(NdbTransaction*, bool); + Ndb_cond_stack *m_cond_stack; bool m_disable_multi_read; byte *m_multi_range_result_ptr; |