13 lines
310 B
SQL
13 lines
310 B
SQL
# name: test/issues/rigger/test_522.test
|
|
# description: Issue 522
|
|
# group: [rigger]
|
|
|
|
statement ok
|
|
PRAGMA enable_verification
|
|
|
|
# Casting a large number to REAL and multiplying it with zero results in -nan
|
|
statement error
|
|
SELECT 1e100::real*0;
|
|
----
|
|
<REGEX>:Conversion Error.*DOUBLE.*is out of range for.*FLOAT.*
|