• aivanov@mysql.com's avatar
    Fix BUG#12071: "Windows hang: 'Opening tables' or 'Waiting for · 7ae2d469
    aivanov@mysql.com authored
     table' lockup".
     Changes from the innodb-4.1-ss11 snapshot.
     Do not call os_file-create_tmpfile() at runtime. Instead, create
     a tempfile at startup and guard access to it with a mutex.
     Also, fix bugs:
     10511: "Wrong padding of UCS2 CHAR columns in ON UPDATE CASCADE";
     13778: "If FOREIGN_KEY_CHECKS=0, one can create inconsistent FOREIGN
     KEYs". When FOREIGN_KEY_CHECKS=0 we still need to check that
     datatypes between foreign key references are compatible.
     Also, added test cases (also for bug 9802).
    7ae2d469
srv0srv.c 66.3 KB