• unknown's avatar
    Bug#20573 · 31929f35
    unknown authored
      "strict mode: inserts autogenerated auto_increment value bigger than max"
      Strict mode should fail if autoincrement value is out of range
    
    
    include/my_base.h:
      Add new handler error codes
    sql/ha_berkeley.cc:
      handle error in update_auto_increment()
    sql/ha_heap.cc:
      handle error in update_auto_increment()
    sql/ha_innodb.cc:
      handle error in update_auto_increment()
    sql/ha_myisam.cc:
      handle error in update_auto_increment()
    sql/ha_myisammrg.cc:
      handle error in update_auto_increment()
    sql/ha_ndbcluster.cc:
      handle error in update_auto_increment()
    sql/handler.cc:
      return error from handler::update_auto_increment()
    sql/handler.h:
      change return type of handler::update_auto_increment() to int
    sql/share/errmsg.txt:
      new error message for auto-increment
    mysql-test/include/strict_autoinc.inc:
      New BitKeeper file ``mysql-test/include/strict_autoinc.inc''
    mysql-test/r/strict_autoinc_1myisam.result:
      New BitKeeper file ``mysql-test/r/strict_autoinc_1myisam.result''
    mysql-test/r/strict_autoinc_2innodb.result:
      New BitKeeper file ``mysql-test/r/strict_autoinc_2innodb.result''
    mysql-test/r/strict_autoinc_3heap.result:
      New BitKeeper file ``mysql-test/r/strict_autoinc_3heap.result''
    mysql-test/r/strict_autoinc_4bdb.result:
      New BitKeeper file ``mysql-test/r/strict_autoinc_4bdb.result''
    mysql-test/r/strict_autoinc_5ndb.result:
      New BitKeeper file ``mysql-test/r/strict_autoinc_5ndb.result''
    mysql-test/t/strict_autoinc_1myisam.test:
      New BitKeeper file ``mysql-test/t/strict_autoinc_1myisam.test''
    mysql-test/t/strict_autoinc_2innodb.test:
      New BitKeeper file ``mysql-test/t/strict_autoinc_2innodb.test''
    mysql-test/t/strict_autoinc_3heap.test:
      New BitKeeper file ``mysql-test/t/strict_autoinc_3heap.test''
    mysql-test/t/strict_autoinc_4bdb.test:
      New BitKeeper file ``mysql-test/t/strict_autoinc_4bdb.test''
    mysql-test/t/strict_autoinc_5ndb.test:
      New BitKeeper file ``mysql-test/t/strict_autoinc_5ndb.test''
    31929f35
strict_autoinc_2innodb.test 152 Bytes