~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/csv/ha_tina.cc

Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
937
937
  if (share->crashed)
938
938
      return(HA_ERR_CRASHED_ON_USAGE);
939
939
 
940
 
  ha_statistic_increment(&SSV::ha_write_count);
 
940
  ha_statistic_increment(&system_status_var::ha_write_count);
941
941
 
942
942
  size= encode_quote(buf);
943
943
 
995
995
  int size;
996
996
  int rc= -1;
997
997
 
998
 
  ha_statistic_increment(&SSV::ha_update_count);
 
998
  ha_statistic_increment(&system_status_var::ha_update_count);
999
999
 
1000
1000
  if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_UPDATE)
1001
1001
    table->timestamp_field->set_time();
1037
1037
*/
1038
1038
int ha_tina::delete_row(const unsigned char *)
1039
1039
{
1040
 
  ha_statistic_increment(&SSV::ha_delete_count);
 
1040
  ha_statistic_increment(&system_status_var::ha_delete_count);
1041
1041
 
1042
1042
  if (chain_append())
1043
1043
    return(-1);
1145
1145
  if (share->crashed)
1146
1146
      return(HA_ERR_CRASHED_ON_USAGE);
1147
1147
 
1148
 
  ha_statistic_increment(&SSV::ha_read_rnd_next_count);
 
1148
  ha_statistic_increment(&system_status_var::ha_read_rnd_next_count);
1149
1149
 
1150
1150
  current_position= next_position;
1151
1151
 
1183
1183
 
1184
1184
int ha_tina::rnd_pos(unsigned char * buf, unsigned char *pos)
1185
1185
{
1186
 
  ha_statistic_increment(&SSV::ha_read_rnd_count);
 
1186
  ha_statistic_increment(&system_status_var::ha_read_rnd_count);
1187
1187
  current_position= (off_t)internal::my_get_ptr(pos,ref_length);
1188
1188
  return(find_current_row(buf));
1189
1189
}
1438
1438
  PLUGIN_LICENSE_GPL,
1439
1439
  tina_init_func, /* Plugin Init */
1440
1440
  tina_done_func, /* Plugin Deinit */
1441
 
  NULL,                       /* status variables                */
1442
1441
  NULL,                       /* system variables                */
1443
1442
  NULL                        /* config options                  */
1444
1443
}