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
{{ message }}
Repository navigation
DELETE and INSERT VALUES throw a TypeError when a scalar subquery reads a parameter #3138
alasql('CREATE TABLE t (a INT); INSERT INTO t VALUES (1),(2),(3)');alasql('CREATE TABLE u (x INT); INSERT INTO u VALUES (1),(2)');alasql('DELETE FROM t WHERE a = (SELECT MAX(x) FROM u WHERE x < ?)',[2]);alasql('INSERT INTO t VALUES ((SELECT MAX(x) FROM u WHERE x < ?))',[2]);
Both throw TypeError: Cannot read properties of undefined (reading '0').
Activity