Change name of OPTION statement options

This commit is contained in:
Tobie Morgan Hitchcock 2022-04-01 11:36:32 +01:00
parent c6c43aea8a
commit c45d383b77

View file

@ -147,10 +147,11 @@ impl Executor {
opt.check(Level::Db)?; opt.check(Level::Db)?;
// Process the option // Process the option
match &stm.name.name.to_uppercase()[..] { match &stm.name.name.to_uppercase()[..] {
"FIELD_QUERIES" => opt = opt.fields(stm.what), "FIELDS" => opt = opt.fields(stm.what),
"EVENT_QUERIES" => opt = opt.events(stm.what), "EVENTS" => opt = opt.events(stm.what),
"TABLE_QUERIES" => opt = opt.tables(stm.what), "TABLES" => opt = opt.tables(stm.what),
"IMPORT" => opt = opt.import(stm.what), "IMPORT" => opt = opt.import(stm.what),
"FORCE" => opt = opt.force(stm.what),
"DEBUG" => opt = opt.debug(stm.what), "DEBUG" => opt = opt.debug(stm.what),
_ => break, _ => break,
} }