mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ndb - bug#34118 - hash index trigger vs. disk
mysql-test/suite/ndb/r/ndb_dd_basic.result: bug#34118 hash index trigger disk flag mysql-test/suite/ndb/t/ndb_dd_basic.test: bug#34118 hash index trigger disk flag storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: bug#34118 hash index trigger disk flag storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: bug#34118 hash index trigger disk flag storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp: bug#34118 hash index trigger disk flag
This commit is contained in:
@ -501,6 +501,18 @@ f1 f2
|
||||
111111 aaaaaa
|
||||
222222 bbbbbb
|
||||
drop table test.t1;
|
||||
CREATE TABLE t1 (
|
||||
id int unsigned NOT NULL,
|
||||
c1 int unsigned NOT NULL,
|
||||
c2 int DEFAULT NULL,
|
||||
PRIMARY KEY using hash (id),
|
||||
UNIQUE KEY c1 using hash (c1))
|
||||
TABLESPACE ts1 STORAGE DISK ENGINE=ndbcluster;
|
||||
insert into t1 values(1, 1, 3);
|
||||
insert into t1 values(2, 2, 3);
|
||||
update t1 set c1 = 1 where id = 2;
|
||||
ERROR 23000: Duplicate entry '1' for key 'c1'
|
||||
drop table t1;
|
||||
ALTER TABLESPACE ts1
|
||||
DROP DATAFILE 'datafile.dat'
|
||||
ENGINE = NDB;
|
||||
|
Reference in New Issue
Block a user