mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-31 13:54:27 +01:00
fix: use sqlite compatible math functions
This commit is contained in:
10
fuzz/Cargo.lock
generated
10
fuzz/Cargo.lock
generated
@@ -1182,7 +1182,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "turso_core"
|
||||
version = "0.1.5"
|
||||
version = "0.2.0-pre.1"
|
||||
dependencies = [
|
||||
"aegis",
|
||||
"aes",
|
||||
@@ -1225,7 +1225,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "turso_ext"
|
||||
version = "0.1.5"
|
||||
version = "0.2.0-pre.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"getrandom 0.3.1",
|
||||
@@ -1234,7 +1234,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "turso_macros"
|
||||
version = "0.1.5"
|
||||
version = "0.2.0-pre.1"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@@ -1243,7 +1243,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "turso_parser"
|
||||
version = "0.1.5"
|
||||
version = "0.2.0-pre.1"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"miette",
|
||||
@@ -1255,7 +1255,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "turso_sqlite3_parser"
|
||||
version = "0.1.5"
|
||||
version = "0.2.0-pre.1"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cc",
|
||||
|
||||
@@ -120,12 +120,38 @@ str_enum! {
|
||||
enum UnaryFunc {
|
||||
Ceil => "ceil",
|
||||
Floor => "floor",
|
||||
Trunc => "trunc",
|
||||
Radians => "radians",
|
||||
Degrees => "degrees",
|
||||
|
||||
Sqrt => "sqrt",
|
||||
Exp => "exp",
|
||||
Ln => "ln",
|
||||
Log10 => "log10",
|
||||
Log2 => "log2",
|
||||
|
||||
Sin => "sin",
|
||||
Sinh => "sinh",
|
||||
Asin => "asin",
|
||||
Asinh => "asinh",
|
||||
|
||||
Cos => "cos",
|
||||
Cosh => "cosh",
|
||||
Acos => "acos",
|
||||
Acosh => "acosh",
|
||||
|
||||
Tan => "tan",
|
||||
Tanh => "tanh",
|
||||
Atan => "atan",
|
||||
Atanh => "atanh",
|
||||
}
|
||||
}
|
||||
|
||||
str_enum! {
|
||||
enum BinaryFunc {
|
||||
Power => "pow",
|
||||
Mod => "mod",
|
||||
Atan2 => "atan2",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user