From 843981ca5ac41be09212f3aa427500580a6e9f5c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 4 Nov 2017 01:31:18 +0300 Subject: [PATCH] Refactor(process_mysql): Rename quoting_style -> dbname --- sqlconvert/process_mysql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlconvert/process_mysql.py b/sqlconvert/process_mysql.py index 8dc43e2..e99ea79 100644 --- a/sqlconvert/process_mysql.py +++ b/sqlconvert/process_mysql.py @@ -141,11 +141,11 @@ def split_ext_insert(statement): yield statement -def process_statement(statement, quoting_style='sqlite'): +def process_statement(statement, dbname='sqlite'): requote_names(statement) unescape_strings(statement) remove_directive_tokens(statement) - escape_strings(statement, quoting_style) + escape_strings(statement, dbname) try: is_insert = get_DML_type(statement) == 'INSERT' except ValueError: -- 2.39.5