diff --git a/rslib/src/backend/dbproxy.rs b/rslib/src/backend/dbproxy.rs index 56cf200fb..df5b88197 100644 --- a/rslib/src/backend/dbproxy.rs +++ b/rslib/src/backend/dbproxy.rs @@ -122,7 +122,7 @@ fn is_dql(sql: &str) -> bool { .take(10) .map(|c| c.to_ascii_lowercase()) .collect(); - head.starts_with("select ") + head.starts_with("select") } pub(super) fn db_query_row(ctx: &SqliteStorage, sql: &str, args: &[SqlValue]) -> Result {