19 lines
360 B
SQL
19 lines
360 B
SQL
# name: test/issues/internal/test_5457.test
|
|
# description: Internal Issue 5457: Error type regression: INTERRUPT thrown instead of OutOfMemory
|
|
# group: [internal]
|
|
|
|
require vector_size 2048
|
|
|
|
statement ok
|
|
SET memory_limit='10kb';
|
|
|
|
# this works
|
|
statement ok
|
|
SELECT 42;
|
|
|
|
# explain causes more allocations
|
|
statement error
|
|
EXPLAIN SELECT 42;
|
|
----
|
|
failed to allocate
|