~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/xid.cc

  • Committer: lbieber
  • Date: 2009-07-28 15:08:13 UTC
  • mfrom: (1100 staging)
  • mto: (1093.1.34 captain)
  • mto: This revision was merged to the branch mainline in revision 1105.
  • Revision ID: lbieber@lbieber-laptop-20090728150813-vdmchh23gbrtbo4b
fix read_many_rows_innodb test to use InnoDB instead of MyISAM for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
bool xid_cache_insert(XID_STATE *xid_state)
179
179
{
180
180
  pthread_mutex_lock(&LOCK_xid_cache);
181
 
  assert(hash_search(&xid_cache, xid_state->xid.key(),
182
 
                          xid_state->xid.key_length())==0);
183
181
  bool res=my_hash_insert(&xid_cache, (unsigned char*)xid_state);
184
182
  pthread_mutex_unlock(&LOCK_xid_cache);
185
183
  return res;