Skip to content

Commit 0b9fe95

Browse files
committed
PI() not present in old sqlite
1 parent 7efa9e7 commit 0b9fe95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Platform/TypedExpressionBooleanPiFunction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TypedExpressionBooleanPiFunction extends FunctionNode implements TypedExpr
1515

1616
public function getSql(SqlWalker $sqlWalker): string
1717
{
18-
return 'PI()';
18+
return '3.14159';
1919
}
2020

2121
public function parse(Parser $parser): void

tests/Platform/TypedExpressionIntegerPiFunction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TypedExpressionIntegerPiFunction extends FunctionNode implements TypedExpr
1515

1616
public function getSql(SqlWalker $sqlWalker): string
1717
{
18-
return 'PI()';
18+
return '3.14159';
1919
}
2020

2121
public function parse(Parser $parser): void

0 commit comments

Comments
 (0)