From c45d383b772788b89c3e96d9c103178dd0174476 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 1 Apr 2022 11:36:32 +0100 Subject: [PATCH] Change name of OPTION statement options --- lib/src/dbs/executor.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/src/dbs/executor.rs b/lib/src/dbs/executor.rs index f247ded4..4c35b372 100644 --- a/lib/src/dbs/executor.rs +++ b/lib/src/dbs/executor.rs @@ -147,10 +147,11 @@ impl Executor { opt.check(Level::Db)?; // Process the option 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), + "FIELDS" => opt = opt.fields(stm.what), + "EVENTS" => opt = opt.events(stm.what), + "TABLES" => opt = opt.tables(stm.what), "IMPORT" => opt = opt.import(stm.what), + "FORCE" => opt = opt.force(stm.what), "DEBUG" => opt = opt.debug(stm.what), _ => break, }