# Storage engine to be tested let $engine= 'NDB' ; -- source include/have_ndb.inc eval SET SESSION storage_engine=$engine; --disable_warnings DROP TABLE IF EXISTS t1; --enable_warnings eval CREATE TABLE t1 ( f1 INTEGER, f2 char(20)) PARTITION BY RANGE(f1) ( PARTITION part1 VALUES LESS THAN (2), PARTITION part2 VALUES LESS THAN (1000)); INSERT INTO t1 VALUES(1, '---1---'); INSERT INTO t1 VALUES(2, '---2---'); # This update is harmless, UPDATE t1 SET f1 = f1 + 4 WHERE f1 = 2; # This update shifts the record from the first partition into the second # but crashes the server. UPDATE t1 SET f1 = f1 + 4 WHERE f1 = 1; DROP TABLE t1;