From efb463fc8cace9cbbbdfa25768d17e04045afcd8 Mon Sep 17 00:00:00 2001 From: frol Date: Sat, 15 Mar 2014 19:46:33 -0700 Subject: [PATCH] add 'regexp' to keywords that has to be escaped whether it is a column name --- pg2mysql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg2mysql.inc.php b/pg2mysql.inc.php index a60bdda..35ac90b 100644 --- a/pg2mysql.inc.php +++ b/pg2mysql.inc.php @@ -237,7 +237,7 @@ function pg2mysql(&$input, $header=true) $tbl_extra.=", PRIMARY KEY(`$field`)\n"; } - $specialfields=array("repeat","status","type","call", "key"); + $specialfields=array("repeat","status","type","call", "key", "regexp"); $field=getfieldname($line); if(in_array($field,$specialfields)) {