Skip to content
Snippets Groups Projects
  • Sergey Bronnikov's avatar
    67c73796
    sql: make sql code fuzzing-friendly · 67c73796
    Sergey Bronnikov authored
    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
    67c73796
    History
    sql: make sql code fuzzing-friendly
    Sergey Bronnikov authored
    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
.test.mk 8.70 KiB