summaryrefslogtreecommitdiff
path: root/myisam/mi_open.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-10-02 20:22:29 +0200
committerunknown <serg@serg.mylan>2003-10-02 20:22:29 +0200
commit3205118eaf1ea9a9c22b0b8437fdf5ac06c5ff4a (patch)
tree4ccd6f1ab67583e81c02d66fd35d83a3d9bee0fe /myisam/mi_open.c
parent43a4d55eefaf7409f708377b712ff306c28cc1e1 (diff)
downloadmariadb-git-3205118eaf1ea9a9c22b0b8437fdf5ac06c5ff4a.tar.gz
ft1->ft2 auto-conversion on INSERT (WL#725)
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r--myisam/mi_open.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c
index c4b24acdb77..744bb9bb3b6 100644
--- a/myisam/mi_open.c
+++ b/myisam/mi_open.c
@@ -513,8 +513,8 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
NullS))
goto err;
errpos=6;
-
- if (!have_rtree)
+
+ if (!have_rtree)
info.rtree_recursion_state= NULL;
strmov(info.filename,org_name);
@@ -536,6 +536,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
info.lock_type=F_UNLCK;
info.quick_mode=0;
info.bulk_insert=0;
+ info.ft1_to_ft2=0;
info.errkey= -1;
info.page_changed=1;
pthread_mutex_lock(&share->intern_lock);
@@ -1112,7 +1113,7 @@ char *mi_recinfo_read(char *ptr, MI_COLUMNDEF *recinfo)
/**************************************************************************
Open data file with or without RAID
-We can't use dup() here as the data file descriptors need to have different
+We can't use dup() here as the data file descriptors need to have different
active seek-positions.
The argument file_to_dup is here for the future if there would on some OS