Skip to content

Commit

Permalink
add 'regexp' to keywords that has to be escaped whether it is a colum…
Browse files Browse the repository at this point in the history
…n name
  • Loading branch information
frol committed Mar 16, 2014
1 parent ed0bece commit efb463f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg2mysql.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit efb463f

Please sign in to comment.