summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 019699dff5a..21c36cfc09a 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -2788,6 +2788,10 @@ public:
void send_error(uint errcode,const char *err);
int do_deletes();
bool send_eof();
+ inline ha_rows num_deleted()
+ {
+ return deleted;
+ }
virtual void abort();
};
@@ -2831,6 +2835,14 @@ public:
void send_error(uint errcode,const char *err);
int do_updates();
bool send_eof();
+ inline ha_rows num_found()
+ {
+ return found;
+ }
+ inline ha_rows num_updated()
+ {
+ return updated;
+ }
virtual void abort();
};