• gkodinov/kgeorge@macbook.gmz's avatar
    Bug #28488: Incorrect information in file: './test/t1_test#.frm' · f081188f
    gkodinov/kgeorge@macbook.gmz authored
    While executing ALTER TABLE ... PARTITION the server uses 
    a temporary "shadow" table to create the updated table.
    This shadow table then gets renamed as the original table.
    The shadow table was not prefixed with the special prefix that
    marks temporary tables so it was picked up by SHOW TABLE STATUS.
    Fixed by isolating the code to create the shadow table name in a
    separate function and prefixing the shadow table name with the
    special prefix to exclude it from the list of user tables.
    See bug 18775 and WL1324 for details.
    f081188f
sql_table.cc 225 KB