~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Stewart Smith
  • Date: 2009-04-14 02:43:42 UTC
  • mto: (1014.2.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 1015.
  • Revision ID: stewart@flamingspork.com-20090414024342-1a1iqmcsl4l1xh45
Release latches in case bulk insert takes a long time

Related to http://bugs.mysql.com/bug.php?id=32149

Other locations have this already fixed in Drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1265
1265
  if (session->is_error())
1266
1266
    return(1);
1267
1267
 
 
1268
  // Release latches in case bulk insert takes a long time
 
1269
  ha_release_temporary_latches(session);
 
1270
 
1268
1271
  error= write_record(session, table, &info);
1269
1272
 
1270
1273
  if (!error)