~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

Merged up with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
383
383
    }
384
384
 
385
385
    // Release latches in case bulk insert takes a long time
386
 
    ha_release_temporary_latches(session);
 
386
    plugin::StorageEngine::releaseTemporaryLatches(session);
387
387
 
388
388
    error=write_record(session, table ,&info);
389
389
    if (error)
1255
1255
    return(1);
1256
1256
 
1257
1257
  // Release latches in case bulk insert takes a long time
1258
 
  ha_release_temporary_latches(session);
 
1258
  plugin::StorageEngine::releaseTemporaryLatches(session);
1259
1259
 
1260
1260
  error= write_record(session, table, &info);
1261
1261