summaryrefslogtreecommitdiff
path: root/myisam/mi_search.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-09 03:55:26 +0200
committermonty@mashka.mysql.fi <>2003-01-09 03:55:26 +0200
commitf8e660d88ca64d2f7a1be58acbe57d777d20b122 (patch)
treeaf09adc5a3ec6814545553d72fda1d33e443d162 /myisam/mi_search.c
parenta10178493005b3fa69163ef39c6a58fe9ff6658b (diff)
parent2ea43f3c53573a6482ea84556e11e5db6cedddef (diff)
downloadmariadb-git-f8e660d88ca64d2f7a1be58acbe57d777d20b122.tar.gz
merge with 4.0.9
To get bug fixes for TCP/IP connections, FORCE INDEX and OPTIMIZE TABLE with NULL keys
Diffstat (limited to 'myisam/mi_search.c')
-rw-r--r--myisam/mi_search.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c
index 8aeccbbf559..04803d7a901 100644
--- a/myisam/mi_search.c
+++ b/myisam/mi_search.c
@@ -260,9 +260,11 @@ int _mi_prefix_search(MI_INFO *info, register MI_KEYDEF *keyinfo, uchar *page,
uchar *key, uint key_len, uint nextflag, uchar **ret_pos,
uchar *buff, my_bool *last_key)
{
- /* my_flag is raw comparison result to be changed according to
- SEARCH_NO_FIND,SEARCH_LAST and HA_REVERSE_SORT flags.
- flag is the value returned by ha_key_cmp and as treated as final */
+ /*
+ my_flag is raw comparison result to be changed according to
+ SEARCH_NO_FIND,SEARCH_LAST and HA_REVERSE_SORT flags.
+ flag is the value returned by ha_key_cmp and as treated as final
+ */
int flag=0, my_flag=-1;
uint nod_flag, length, len, matched, cmplen, kseg_len;
uint prefix_len,suffix_len;