Project

General

Profile

« Previous | Next » 

Revision 4455

my2pg, my2pg.data: Fixed bug where replacement for '0000-00-00' date needed to be wrapped in single quotes

View differences:

my2pg
15 15
-e 's/ (int|smallint|tinyint)([ (])/ integer\2/g' \
16 16
-e 's/ double/ double precision/g' \
17 17
-e 's/ (integer|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \
18
-e "s/'0000-00-00'/-infinity/g" \
18
-e "s/'0000-00-00'/'-infinity'/g" \
19 19
"$@"

Also available in: Unified diff