diff options
author | Michael Widenius <monty@askmonty.org> | 2012-08-07 07:25:15 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-08-07 07:25:15 +0300 |
commit | b39e6e3d093b45f792959ef06fea1c175263ae1a (patch) | |
tree | b642aba6ff438e50d67a884f4cb5d9c6c3287644 /storage/federated | |
parent | 0a70eb33d159036c5d3f6929df57c2f18bda8471 (diff) | |
download | mariadb-git-b39e6e3d093b45f792959ef06fea1c175263ae1a.tar.gz |
Added support of thd->tx_read_only
Moved timestamp handling from all handler::write() methods in the storage engines to handler::ha_write
sql/handler.cc:
Added PSI_CALL's
Diffstat (limited to 'storage/federated')
-rw-r--r-- | storage/federated/ha_federated.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc index 549001ab08b..fcd8370f969 100644 --- a/storage/federated/ha_federated.cc +++ b/storage/federated/ha_federated.cc @@ -1848,9 +1848,6 @@ int ha_federated::write_row(uchar *buf) values_string.length(0); insert_field_value_string.length(0); - ha_statistic_increment(&SSV::ha_write_count); - if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_INSERT) - table->timestamp_field->set_time(); /* start both our field and field values strings @@ -2434,7 +2431,6 @@ int ha_federated::index_read_idx_with_result_set(uchar *buf, uint index, *result= 0; // In case of errors index_string.length(0); sql_query.length(0); - ha_statistic_increment(&SSV::ha_read_key_count); sql_query.append(share->select_query); @@ -2562,7 +2558,6 @@ int ha_federated::index_next(uchar *buf) { int retval; DBUG_ENTER("ha_federated::index_next"); - ha_statistic_increment(&SSV::ha_read_next_count); retval= read_next(buf, stored_result); DBUG_RETURN(retval); } @@ -2772,8 +2767,6 @@ int ha_federated::rnd_pos(uchar *buf, uchar *pos) int ret_val; DBUG_ENTER("ha_federated::rnd_pos"); - ha_statistic_increment(&SSV::ha_read_rnd_count); - /* Get stored result set. */ memcpy(&result, pos, sizeof(MYSQL_RES *)); DBUG_ASSERT(result); |