From da811b29bd25e1bb116a290e99f623cfb5a0b055 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sun, 30 Jan 2022 18:59:12 +0000 Subject: [PATCH] Allow upper or lower case in OPTION statements --- src/dbs/executor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbs/executor.rs b/src/dbs/executor.rs index 979d690c..0f9fceee 100644 --- a/src/dbs/executor.rs +++ b/src/dbs/executor.rs @@ -154,7 +154,7 @@ impl<'a> Executor<'a> { let res = match stm { // Specify runtime options Statement::Option(stm) => { - match &stm.name.name[..] { + match &stm.name.name.to_uppercase()[..] { "FIELD_QUERIES" => opt = opt.fields(stm.what), "EVENT_QUERIES" => opt = opt.events(stm.what), "TABLE_QUERIES" => opt = opt.tables(stm.what),