~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blitzdb/blitzlock.cc

  • Committer: Mark Atwood
  • Date: 2010-06-24 03:15:21 UTC
  • mto: (1637.2.4 build)
  • mto: This revision was merged to the branch mainline in revision 1639.
  • Revision ID: me@mark.atwood.name-20100624031521-gafmppfbf5afm68w
new syslog module, with plugins for query log, error message, and SYSLOG() function

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
  pthread_mutex_unlock(&mutex);
128
128
}
129
129
 
130
 
int ha_blitz::blitz_optimal_lock() {
 
130
int ha_blitz::critical_section_enter() {
131
131
  if (sql_command_type == SQLCOM_ALTER_TABLE ||
132
132
      sql_command_type == SQLCOM_UPDATE ||
133
133
      sql_command_type == SQLCOM_DELETE ||
141
141
  return 0;
142
142
}
143
143
 
144
 
int ha_blitz::blitz_optimal_unlock() {
 
144
int ha_blitz::critical_section_exit() {
145
145
  if (sql_command_type == SQLCOM_ALTER_TABLE ||
146
146
      sql_command_type == SQLCOM_UPDATE ||
147
147
      sql_command_type == SQLCOM_DELETE ||