• Sergey Vojtovich's avatar
    Fixed TRUNCATE TABLE against VECTOR indexes · 29cd7cd7
    Sergey Vojtovich authored
    This patch fixes only TRUNCATE by recreate variant, there seem to be no
    reasonable engine that uses TRUNCATE by handler method for testing.
    
    Reset index_cinfo so that mi_create is not confused by garbage passed via
    index_file_name and sets MY_DELETE_OLD flag.
    
    Review question: can we add a test case to make sure VECTOR index is empty
    indeed?
    29cd7cd7
vector.test 5.2 KB