diff options
author | hf@deer.(none) <> | 2003-07-19 18:17:29 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2003-07-19 18:17:29 +0500 |
commit | cb310f763a4cdb1a1137491df44cd73a057b6d50 (patch) | |
tree | 3f085dfe9c1a2e4205df93973faab0e2876a5155 /myisam/mi_locking.c | |
parent | a71c5c390b870978c4d410d8c11a0b533b1affba (diff) | |
download | mariadb-git-cb310f763a4cdb1a1137491df44cd73a057b6d50.tar.gz |
Fix for #712 with Serg's suggestions
Diffstat (limited to 'myisam/mi_locking.c')
-rw-r--r-- | myisam/mi_locking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_locking.c b/myisam/mi_locking.c index 648c447ae30..22772a3dd2e 100644 --- a/myisam/mi_locking.c +++ b/myisam/mi_locking.c @@ -39,7 +39,7 @@ int mi_lock_database(MI_INFO *info, int lock_type) if (share->options & HA_OPTION_READ_ONLY_DATA || info->lock_type == lock_type) DBUG_RETURN(0); - if (lock_type == MI_TEMPORARY_TABLE) + if (lock_type == F_EXTRA_LCK) { ++share->w_locks; ++share->tot_locks; |