1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

fix(TNS): fix for duplicate DISTINCT output

This commit is contained in:
drrtuy
2025-03-14 00:04:47 +00:00
parent 09926b3157
commit 8ca8119f36
2 changed files with 2 additions and 7 deletions

View File

@ -27,7 +27,7 @@ CREATE VIEW v AS
SELECT a.id a_id, b.id b_id, b.ta_id, a.value v1, b.value v2
FROM table_a a
INNER JOIN table_b b ON (b.ta_id = a.id);
--sorted_result
SELECT * FROM v;
#Can not modify more than one base table through a join view
@ -41,6 +41,7 @@ INSERT INTO v (a_id, v1) VALUES (3, 30);
--error 1178
INSERT INTO v (b_id, ta_id, v2) VALUES (5, 3, 500);
--sorted_result
SELECT * FROM v;
#Clean up