Project

General

Profile

« Previous | Next » 

Revision 6165

my2pg: *int types: Added mediumint

View differences:

bin/my2pg
16 16
-e 's/ CHARACTER SET [0-9A-Za-z_]+//g' \
17 17
-e "s/ COMMENT '[^']*'//g" \
18 18
-e 's/ longtext/ text/g' \
19
-e 's/ (int|smallint|tinyint)([ (])/ integer\2/g' \
19
-e 's/ (int|mediumint|smallint|tinyint)([ (])/ integer\2/g' \
20 20
-e 's/ double/ double precision/g' \
21 21
-e 's/ (integer|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \
22 22
-e "s/'0000-00-00'/'-infinity'/g" \

Also available in: Unified diff