~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Brian Aker
  • Date: 2009-10-02 19:38:12 UTC
  • mfrom: (1152.1.7 merge)
  • Revision ID: brian@gaz-20091002193812-mpd61oecep74t6gd
Merge Monty + Brian for plugins.

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