~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.cc

  • Committer: Brian Aker
  • Date: 2009-06-08 02:42:24 UTC
  • mfrom: (1054.1.6 merge)
  • Revision ID: brian@gaz-20090608024224-zlff1bpq62r8m5gy
Removal of LOCK TABLES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1152
1152
    */
1153
1153
 
1154
1154
    if ((lock_type >= TL_WRITE_CONCURRENT_INSERT &&
1155
 
         lock_type <= TL_WRITE) && !session_in_lock_tables(session)
 
1155
         lock_type <= TL_WRITE)
1156
1156
        && !session_tablespace_op(session))
1157
1157
      lock_type = TL_WRITE_ALLOW_WRITE;
1158
1158
 
1164
1164
      concurrent inserts to t2.
1165
1165
    */
1166
1166
 
1167
 
    if (lock_type == TL_READ_NO_INSERT && !session_in_lock_tables(session))
 
1167
    if (lock_type == TL_READ_NO_INSERT)
1168
1168
      lock_type = TL_READ;
1169
1169
 
1170
1170
    lock.type=lock_type;