Project

General

Profile

« Previous | Next » 

Revision 7536

my2pg*: Replace '0000-00-00 00:00:00' with '-infinity'

View differences:

my2pg
21 21
-e 's/ double/ double precision/g' \
22 22
-e 's/ (integer|bigint|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \
23 23
-e 's/ datetime/ timestamp/g' \
24
-e "s/'0000-00-00'/'-infinity'/g" \
24
-e "s/'0000-00-00( 00:00:00)?'/'-infinity'/g" \
25 25
"$@"

Also available in: Unified diff