diff options
author | unknown <serg@serg.mylan> | 2004-04-08 20:41:00 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-04-08 20:41:00 +0200 |
commit | e51447b1430e854fa0df1f37821e722cdb65d2bb (patch) | |
tree | 39dfdb44a3e709e59b9420faa6786345754a0ff5 /myisam/myisamdef.h | |
parent | 10e15762b8e38ae09d89e6489de6f2fe68cfd85e (diff) | |
download | mariadb-git-e51447b1430e854fa0df1f37821e722cdb65d2bb.tar.gz |
always call start_bulk_insert, clarify this behaviour in comment block
change 10 to a #define'd constant
myisam/myisamdef.h:
use a constant with a difficult-to-type name instead of two-digit number :)
sql/ha_myisam.cc:
use a constant with a difficult-to-type name instead of two-digit number :)
sql/sql_insert.cc:
always call start_bulk_insert (it performs all checks itself)
removed spurious semicolon at the end of the "if" :)
added a clarifying comment
Diffstat (limited to 'myisam/myisamdef.h')
-rw-r--r-- | myisam/myisamdef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/myisam/myisamdef.h b/myisam/myisamdef.h index ecef9953202..0f43fe7fb61 100644 --- a/myisam/myisamdef.h +++ b/myisam/myisamdef.h @@ -417,6 +417,7 @@ typedef struct st_mi_sort_param #define MI_MIN_SIZE_BULK_INSERT_TREE 16384 /* this is per key */ #define MI_MIN_ROWS_TO_USE_BULK_INSERT 100 #define MI_MIN_ROWS_TO_DISABLE_INDEXES 100 +#define MI_MIN_ROWS_TO_USE_WRITE_CACHE 10 /* The UNIQUE check is done with a hashed long key */ |