Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CBRD-24867] regression bug-fix related to DBLINK (DML and extended table specification) #4450

Merged
merged 7 commits into from Jul 7, 2023

Conversation

beyondykk9
Copy link
Contributor

http://jira.cubrid.org/browse/CBRD-24867

Modified the code so that the queries below work properly.

○ segmentation fault
– Created in remote DB
create table t1 (a int PRIMARY KEY, b varchar(100));
insert into t1 values (1, 'abc'), (2, 'abcd'), (3, 'abcde'), (4, 'abcdef'), (5, 'abcdefg');

--create table/data in local DB
create table tbl(a int, b varchar(100));
insert into tbl values (1, 'abc'), (2, 'abcd'), (3, 'abcde'), (4, 'abcdef'), (5, 'abcdefg');

– Running on local DB – Segmentation fault (core dumped)
update tbl set b = ( select a||'sub query1' from t1@srv1 limit 1) where tbl.a=2;
delete tbl from tbl where a = (select a from t1@srv1 where a = 3 ) ;

○ segmentation fault when using set operators (union, difference, intersection)
--create table/data in local DB
create table statement_set_operators (col1 varchar(100), a int, b varchar(100));

insert into statement_set_operators(col1, a, b)
( select 'local', A.* from tbl A
union all
select 'remote', A.* from t1@srv1 A ) ;

@beyondykk9 beyondykk9 added this to the fig milestone Jun 27, 2023
@beyondykk9 beyondykk9 requested a review from ctshim June 27, 2023 01:22
@beyondykk9 beyondykk9 self-assigned this Jun 27, 2023
@beyondykk9 beyondykk9 merged commit 7ce1e21 into CUBRID:develop Jul 7, 2023
10 checks passed
@beyondykk9 beyondykk9 deleted the CBRD-24867 branch July 7, 2023 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants