~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Monty Taylor
  • Date: 2009-10-06 19:14:39 UTC
  • mfrom: (1130.2.18 plugin-base-class)
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20091006191439-fd1vvlp22654l3k3
Merged latest plugin-base-class.

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