Project

General

Profile

« Previous | Next » 

Revision 5887

my2pg*: Turn off escape_string_warning because \-escaped strings are standard in MySQL

View differences:

my2pg
9 9
sed () { "$(which sed)" -"$sedEreFlag" "$@";}
10 10

  
11 11
echo 'SET standard_conforming_strings = off;'
12
echo 'SET escape_string_warning = off;'
12 13
sed \
13 14
-e 's/^  KEY "([^"]*)" \([^)]*\)/  "\1_index" boolean/' \
14 15
-e "s/\/\*.* (SET NAMES )([0-9A-Za-z_]+) \*\/;/\1'\2';/" \

Also available in: Unified diff