diff options
author | gshchepa/uchum@gleb.loc <> | 2007-07-26 03:33:43 +0500 |
---|---|---|
committer | gshchepa/uchum@gleb.loc <> | 2007-07-26 03:33:43 +0500 |
commit | bb22e3667e1a267c161789e9a1e2638f5a93ff86 (patch) | |
tree | 9586be2beae68dcf0a316792398609129103c820 /sql/sql_base.cc | |
parent | 4c208499a409d9e558ca019e9e101115d801bab7 (diff) | |
parent | 2c9eb1638be925b2976459a6d3c1deff0fb91fbe (diff) | |
download | mariadb-git-bb22e3667e1a267c161789e9a1e2638f5a93ff86.tar.gz |
Merge gleb.loc:/home/uchum/work/bk/5.0
into gleb.loc:/home/uchum/work/bk/5.0-opt
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 3860dfa1ded..911e8d4d1f5 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -2938,13 +2938,6 @@ TABLE *open_ltable(THD *thd, TABLE_LIST *table_list, thr_lock_type lock_type) if (table) { -#if defined( __WIN__) || defined(OS2) - /* Win32 can't drop a file that is open */ - if (lock_type == TL_WRITE_ALLOW_READ) - { - lock_type= TL_WRITE; - } -#endif /* __WIN__ || OS2 */ table_list->lock_type= lock_type; table_list->table= table; table->grant= table_list->grant; |