Skip to content
Snippets Groups Projects
Commit 67c73796 authored by Sergey Bronnikov's avatar Sergey Bronnikov Committed by Igor Munkin
Browse files

sql: make sql code fuzzing-friendly

SQL queries generated by fuzzing test could trigger a code that want
access to a space cache. Usually this cause an abort, because fuzzing
test doesn't perform a complete initialization of tarantool instance. To
avoid this we isolated problem parts of code with macro
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION. More appropriate solution will
be implemented later.

With introduced macro FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION we change
behaviour of SQL engine and this breaks SQL regression tests. Therefore
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION is disabled in
test-release-asan.

Needed for #4826

NO_CHANGELOG=internal
NO_DOC=internal
NO_TEST=internal
parent eb43952a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment