• vasil's avatar
    branches/5.1: · a1d437b0
    vasil authored
    Merge a change from MySQL (this fixes the failing innodb-replace test):
    
      revno: 2659
      committer: Mattias Jonsson <mattiasj@mysql.com>
      branch nick: b31210-51-bugteam
      timestamp: Tue 2008-06-03 13:25:41 +0200
      message:
        Bug#31210: INSERT DELAYED crashes server when used on partitioned tables
          
        Problem was an unclear error message since it could suggest that
        MyISAM did not support INSERT DELAYED.
        Changed the error message to say that DELAYED is not supported by the
        table, instead of the table's storage engine.
        The confusion is that a partitioned table is in somewhat sense using
        the partitioning storage engine, which in turn uses the ordinary
        storage engine. By saying that the table does not support DELAYED we
        do not give any extra informantion about the storage engine or if it
        is partitioned.
      modified:
        mysql-test/r/innodb-replace.result
        mysql-test/t/innodb-replace.test
        mysql-test/t/merge.test
        mysql-test/t/partition_hash.test
        sql/share/errmsg.txt
        sql/sql_insert.cc
    a1d437b0
innodb-replace.test 555 Bytes