diff --git a/src/helpers/import_handlers.rs b/src/helpers/import_handlers.rs index 02eb335..5912372 100644 --- a/src/helpers/import_handlers.rs +++ b/src/helpers/import_handlers.rs @@ -27,11 +27,7 @@ impl ImportHandlers { caps[2].to_string() }; - if caps.get(4).is_some() { - format!("CREATE DATABASE IF NOT EXISTS `{}`;", db_name) - } else { - format!("CREATE DATABASE IF NOT EXISTS `{}`;", db_name) - } + format!("CREATE DATABASE IF NOT EXISTS `{}`;", db_name) }); let dump_content = use_db_regex.replace_all(&content, |caps: ®ex::Captures| {