diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-01-14 11:58:45 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-01-14 11:58:45 +0100 |
commit | 6554977fe577507378290c44d9d3476d1d9d107d (patch) | |
tree | dd4bc7b57b53ff196b3d5c749ffece2e6e7a359b /sql/handler.h | |
parent | f5ea301acc593b51b13303899246a38efff92c1a (diff) | |
download | mariadb-git-6554977fe577507378290c44d9d3476d1d9d107d.tar.gz |
Added ha_write_tmp_row() for slightly faster write_row for internal temp tables.
This will also enable us in the future to collect statistics for
writes to internal tmp tables.
sql/handler.h:
Added ha_write_tmp_row()
sql/opt_subselect.cc:
ha_write_row -> ha_write_tmp_row
sql/sql_class.h:
Added ha_write_tmp_row()
sql/sql_select.cc:
ha_write_row -> ha_write_tmp_row
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 760754b21e6..3beda9f7c88 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -2415,6 +2415,7 @@ public: /* XXX to be removed, see ha_partition::partition_ht() */ virtual handlerton *partition_ht() const { return ht; } + inline int ha_write_tmp_row(uchar *buf); }; #include "multi_range_read.h" |