File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11[env ]
22# To use built-in math functions, this compile time flag must be set
33# See https://www.sqlite.org/draft/lang_mathfunc.html as a reference
4- LIBSQLITE3_FLAGS = { value = " -DSQLITE_ENABLE_MATH_FUNCTIONS" , force =true }
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"
Original file line number Diff line number Diff line change 1+ set number_three = sqrt(9 .0 );
2+
3+ select ' text' as component,
4+ case $number_three
5+ when ' 3.0' then ' It works !'
6+ else ' error: ' || coalesce($number_three, ' NULL' )
7+ end AS contents;
You can’t perform that action at this time.
0 commit comments