~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 05:00:04 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108050004-l50ikx9zdtcq1e5a
First pass through the global lock refactor merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
      session->my_ok(1);
142
142
    }
143
143
  }
144
 
  start_waiting_global_read_lock(session);
 
144
  session->startWaitingGlobalReadLock();
145
145
 
146
146
  return error;
147
147
}
192
192
      my_error(ER_ALTER_SCHEMA, MYF(0), schema_message.name().c_str());
193
193
    }
194
194
  }
195
 
  start_waiting_global_read_lock(session);
 
195
  session->startWaitingGlobalReadLock();
196
196
 
197
197
  return success;
198
198
}
343
343
      mysql_change_db_impl(session);
344
344
  }
345
345
 
346
 
  start_waiting_global_read_lock(session);
 
346
  session->startWaitingGlobalReadLock();
347
347
 
348
348
  return error;
349
349
}