~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Brian Aker
  • Date: 2009-12-01 02:39:03 UTC
  • mfrom: (1234.1.4 push)
  • Revision ID: brian@gaz-20091201023903-1id5z7xnup695jaq
Merge of Brian + Jay test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
  return inited == INDEX ? ha_index_end() : inited == RND ? ha_rnd_end() : 0;
113
113
}
114
114
 
115
 
plugin::StorageEngine::Table_flags Cursor::ha_table_flags() const
116
 
{
117
 
  return engine->table_flags();
118
 
}
119
 
 
120
115
void Cursor::ha_start_bulk_insert(ha_rows rows)
121
116
{
122
117
  estimation_rows_to_insert= rows;
142
137
 
143
138
bool Cursor::has_transactions()
144
139
{
145
 
  return (ha_table_flags() & HA_NO_TRANSACTIONS) == 0;
 
140
  return (table->s->db_type()->check_flag(HTON_BIT_DOES_TRANSACTIONS));
146
141
}
147
142
 
148
143
void Cursor::ha_statistic_increment(ulong SSV::*offset) const