summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authorunknown <magnus@neptunus.(none)>2004-04-30 13:42:47 +0200
committerunknown <magnus@neptunus.(none)>2004-04-30 13:42:47 +0200
commit3d8703e5ca9e50d8567d378cfe43417968e855e1 (patch)
tree96bc6aa795e9d00fddc66e0c1f0974c0c58fdcc7 /sql/ha_ndbcluster.h
parent8641fe140cdf845d8e77e63c8bca2ea52842034a (diff)
parent1e95577e7ef896fd2e88462025b9ca83ee44b915 (diff)
downloadmariadb-git-3d8703e5ca9e50d8567d378cfe43417968e855e1.tar.gz
Merge neptunus.(none):/home/magnus/mysql-4.1
into neptunus.(none):/home/magnus/mysql-4.1-insert sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index e524cd8e4b3..f9109244492 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -132,6 +132,8 @@ class ha_ndbcluster: public handler
const byte *end_key,uint end_key_len,
enum ha_rkey_function end_search_flag);
+ void start_bulk_insert(ha_rows rows);
+ int end_bulk_insert();
static Ndb* seize_ndb();
static void release_ndb(Ndb* ndb);
@@ -206,6 +208,9 @@ class ha_ndbcluster: public handler
const char* m_unique_index_name[MAX_KEY];
NdbRecAttr *m_value[NDB_MAX_ATTRIBUTES_IN_TABLE];
bool m_use_write;
+ ha_rows rows_to_insert;
+ ha_rows rows_inserted;
+ ha_rows bulk_insert_rows;
};
bool ndbcluster_init(void);