mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
recognize select statements with a leading newline from old stats screen
This commit is contained in:
parent
12a3d9ec87
commit
8e16c94b96
1 changed files with 1 additions and 1 deletions
|
@ -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<DbResult> {
|
||||
|
|
Loading…
Reference in a new issue