You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating tianmu, records with primary key conflicts will be skipped and subsequent update operations will be performed.
For example:
CREATETABLEt1 (id int(11) NOT NULL auto_increment, parent_id int(11) DEFAULT '0'NOT NULL, level tinyint(4)
DEFAULT '0'NOT NULL, PRIMARY KEY (id)) engine=tianmu;
INSERT INTO t1 VALUES (3,1,1),(4,1,1);
Executing the update ignore t1 set id=id+1; statement will ignore the update of PK=3, because the updated primary key will conflict with PK=4. Then continue to execute the update of pk=4, and the updated PK=5.
2.4 Support using select 111 or select 111 from dual scenarios in uion/union all
mysql>select id from tt union allselect2222 c1 from dual;
+------+
| id |
+------+
| 1111 |
| 2222 |
+------+
mysql>select id from tt union allselect2222 ;
+------+
| id |
+------+
| 1111 |
| 2222 |
+------+-- PS:select 111(from dual) appears in a position other than that of the first clause
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Release Notes for stonedb-5.7-v1.0.4-alpha
Stability:
New features
2.1. Support for update ignore syntax feature.
When updating tianmu, records with primary key conflicts will be skipped and subsequent update operations will be performed.
For example:
Executing the update ignore t1 set id=id+1; statement will ignore the update of PK=3, because the updated primary key will conflict with PK=4. Then continue to execute the update of pk=4, and the updated PK=5.
2.2 Support row format for “load data” statement.
When stonedb is used as the primary database, the load statement will be executed on the backup database in the form of “insert into”.
2.3 Support AggregatorGroupConcat function
2.4 Support using select 111 or select 111 from dual scenarios in uion/union all
Others Bug fixs
What's Changed
group_concat
function in tianmu by @RingsC in fix(tianmu): fix up thegroup_concat
function in tianmu #1852New Contributors
Full Changelog: 5.7-v1.0.3-GA...5.7-v1.0.4-alpha
This discussion was created from the release stonedb-5.7-v1.0.4-alpha.
Beta Was this translation helpful? Give feedback.
All reactions