We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f8205 commit cc6a391Copy full SHA for cc6a391
.cargo/config.toml
@@ -0,0 +1,7 @@
1
+[env]
2
+# To use built-in math functions, this compile time flag must be set
3
+# See https://www.sqlite.org/draft/lang_mathfunc.html as a reference
4
+# According to Cargo docs this will not overwrite any env var that was already
5
+# set by the user, and this is a good thing. If the user already set some
6
+# LIBSQLITE3_FLAGS, he probably knows what he is doing.
7
+LIBSQLITE3_FLAGS = "-DSQLITE_ENABLE_MATH_FUNCTIONS"
tests/sql_test_files/it_works_sqrt.sql
+set number_three = sqrt(9.0);
+
+select 'text' as component,
+ case $number_three
+ when '3.0' then 'It works !'
+ else 'error: ' || coalesce($number_three, 'NULL')
+ end AS contents;
0 commit comments