~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/query_id.cc

  • Committer: Brian Aker
  • Date: 2009-02-11 20:09:54 UTC
  • Revision ID: brian@tangent.org-20090211200954-8iqkywxxd76vtn2a
Small lock transfer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  pthread_mutex_lock(&LOCK_query_id);
44
44
  query_id_t ret= the_query_id++;
45
45
  pthread_mutex_unlock(&LOCK_query_id);
 
46
 
46
47
  return ret;
47
48
}
48
49