~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/xid.cc

  • Committer: Brian Aker
  • Date: 2009-07-16 19:30:03 UTC
  • mfrom: (1093.1.17 captain)
  • Revision ID: brian@gaz-20090716193003-gwt4i1le2g02ay0j
Merge Jay

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;