summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2019-08-18 23:18:44 +0300
committerAleksey Midenkov <midenok@gmail.com>2019-08-19 10:38:24 +0300
commit6dd3f24090ce2d237037eb09cf7db083ebbc92f9 (patch)
tree9f7eac51d80ecb434ec5e695b2667fcf3f5d1b85 /storage/myisam
parent44150a770fd861c3837df34357c794432baf8882 (diff)
downloadmariadb-git-6dd3f24090ce2d237037eb09cf7db083ebbc92f9.tar.gz
MDEV-19740 Debug build of 10.3.15 FTBFS
* Replace LINT_INIT for non-struct types with ctor initializers; * Check BUILD_DEPS list is not empty so REMOVE_DUPLICATES won't throw error.
Diffstat (limited to 'storage/myisam')
-rw-r--r--storage/myisam/ft_nlq_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/ft_nlq_search.c b/storage/myisam/ft_nlq_search.c
index 6c36c327d81..3e433b71761 100644
--- a/storage/myisam/ft_nlq_search.c
+++ b/storage/myisam/ft_nlq_search.c
@@ -77,13 +77,13 @@ static int walk_and_match(FT_WORD *word, uint32 count, ALL_IN_ONE *aio)
uint extra= HA_FT_WLEN + info->s->rec_reflength;
float tmp_weight;
DBUG_ENTER("walk_and_match");
- LINT_INIT_STRUCT(subkeys);
word->weight=LWS_FOR_QUERY;
keylen=_ft_make_key(info,aio->keynr,keybuff,word,0);
keylen-=HA_FT_WLEN;
doc_cnt=0;
+ subkeys.i= 0;
if (share->concurrent_insert)
mysql_rwlock_rdlock(&share->key_root_lock[aio->keynr]);