~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Monty Taylor
  • Date: 2008-11-25 01:28:52 UTC
  • mto: This revision was merged to the branch mainline in revision 612.
  • Revision ID: mtaylor@bitters-20081125012852-v93e3xn33qpon6re
Fixed a few things for solaris builds.

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= TL_READ;
 
879
      tl->lock_type= using_update_log ? TL_READ_NO_INSERT : TL_READ;
880
880
      tl->updating= 0;
881
881
      /* Update Table::lock_type accordingly. */
882
882
      if (!tl->placeholder() && !using_lock_tables)