summaryrefslogtreecommitdiff
path: root/storage/maria/ma_delete_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_delete_table.c')
-rw-r--r--storage/maria/ma_delete_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_delete_table.c b/storage/maria/ma_delete_table.c
index 067ab280fdc..0c06091281e 100644
--- a/storage/maria/ma_delete_table.c
+++ b/storage/maria/ma_delete_table.c
@@ -41,7 +41,7 @@ int maria_delete_table(const char *name)
Unfortunately it is necessary to open the table just to check this. We use
'open_for_repair' to be able to open even a crashed table.
*/
- if (!(info= maria_open(name, O_RDONLY, HA_OPEN_FOR_REPAIR)))
+ if (!(info= maria_open(name, O_RDONLY, HA_OPEN_FOR_REPAIR, 0)))
{
sync_dir= 0;
}