~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Brian Aker
  • Date: 2008-11-24 06:05:26 UTC
  • Revision ID: brian@tangent.org-20081124060526-z02hwac02i5membk
Remove lock condition needed (we do row based replication, so... lock is
uninteresting for us).

Show diffs side-by-side

added added

removed removed

Lines of Context:
876
876
        correct order of statements. Otherwise, we use a TL_READ lock to
877
877
        improve performance.
878
878
      */
879
 
      tl->lock_type= using_update_log ? TL_READ_NO_INSERT : TL_READ;
 
879
      tl->lock_type= TL_READ;
880
880
      tl->updating= 0;
881
881
      /* Update Table::lock_type accordingly. */
882
882
      if (!tl->placeholder() && !using_lock_tables)