• unknown's avatar
    Fix BUG#12071: "Windows hang: 'Opening tables' or 'Waiting for · 8e3f95b5
    unknown 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).
    
    
    innobase/dict/dict0dict.c:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/dict/dict0load.c:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/include/dict0dict.h:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/include/dict0load.h:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/include/os0file.h:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/include/rem0cmp.h:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/include/srv0srv.h:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/rem/rem0cmp.c:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/row/row0ins.c:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/row/row0mysql.c:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/srv/srv0srv.c:
      Changes from the innodb-4.1-ss11 snapshot
    innobase/srv/srv0start.c:
      Changes from the innodb-4.1-ss11 snapshot
    libmysqld/ha_blackhole.cc:
      Changes from the innodb-4.1-ss11 snapshot
    mysql-test/r/innodb.result:
      Changes from the innodb-4.1-ss11 snapshot
    mysql-test/t/innodb.test:
      Changes from the innodb-4.1-ss11 snapshot
    sql/ha_innodb.cc:
      Changes from the innodb-4.1-ss11 snapshot
    8e3f95b5
innodb.test 40.6 KB