antonmks / Alenka

GPU database engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

insert select fails with buffer overflow

Randolph42 opened this issue · comments

The code:
unnamed_A := FILTER nation2 BY n_nationkey == 24 ;
INSERT INTO nation   SELECT  n_comment AS n_comment,n_name AS n_name,n_nationkey AS n_nationkey,n_regionkey AS n_regionkey FROM unnamed_A;

causes a buffer overflow in insert_records() calling __fread_chk()

Should be working now :

inserts :

INSERT INTO region
SELECT r_regionkey AS r_regionkey, r_name AS r_name FROM region1;

deletes:

DELETE FROM region1 WHERE r_regionkey == 5;

Excellent!
I will test it shortly.

Thanks
R

On 13/12/14 2:45 AM, "Anton" notifications@github.com wrote:

Should be working now :

inserts :

INSERT INTO region
SELECT r_regionkey AS r_regionkey, r_name AS r_name FROM region1;

deletes:

DELETE FROM region1 WHERE r_regionkey == 5;


Reply to this email directly or view it on GitHub
#75 (comment) .