mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
WL#1791 Handler: support update of primary key
This commit is contained in:
@ -91,6 +91,15 @@ a b c
|
||||
4 6 12
|
||||
5 7 12
|
||||
6 7 12
|
||||
update t1 set a = a + 10 where b > 1 and b < 7;
|
||||
select * from t1 order by a;
|
||||
a b c
|
||||
5 7 12
|
||||
6 7 12
|
||||
11 2 13
|
||||
12 3 13
|
||||
13 4 12
|
||||
14 6 12
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (
|
||||
a int unsigned NOT NULL PRIMARY KEY,
|
||||
|
Reference in New Issue
Block a user