diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-10-18 10:20:25 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-10-18 10:22:10 +0300 |
commit | babbf8c6fc6da92cd1b2bb23f04e996f84b0ca1a (patch) | |
tree | ff26bf1de9d598dae877d3bf69171c403b7221f2 /extra/my_print_defaults.c | |
parent | 30e89acd95138d8ebfad8f3d392c41b6f2b08790 (diff) | |
download | mariadb-git-babbf8c6fc6da92cd1b2bb23f04e996f84b0ca1a.tar.gz |
fts_query_free(): Fix a potential assertion failure
The ownership of the field query->intersection usually transfers
to query->doc_ids. In some error scenario, it could be possible
that fts_query_free() would be invoked with query->intersection!=NULL.
Let us handle that case, instead of intentionally crashing the server.
Diffstat (limited to 'extra/my_print_defaults.c')
0 files changed, 0 insertions, 0 deletions