Plugin Directory

Changeset 544612


Ignore:
Timestamp:
05/15/2012 07:17:23 PM (14 years ago)
Author:
hawk__
Message:

Corrected a typo and added a WPMU required translation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postgresql-for-wordpress/trunk/pg4wp/driver_pgsql_install.php

    r429285 r544612  
    3131        'tinyint(1)'    => 'smallint',
    3232        "enum('0','1')" => 'smallint',
    33        
     33        'COLLATE utf8_general_ci'   => '',
    3434    );
    3535   
     
    153153    END AS \"Null\",
    154154    CASE pg_type.typname
    155         WHEN 'varchar' THEN substring(pg_attrdef.adsrc FROM '^\'(.*)\'.*$')
     155        WHEN 'varchar' THEN substring(pg_attrdef.adsrc FROM '^''(.*)''.*$')
    156156        WHEN 'timestamp' THEN CASE WHEN pg_attrdef.adsrc LIKE '%now()%' THEN '0000-00-00 00:00:00' ELSE pg_attrdef.adsrc END
    157157        ELSE pg_attrdef.adsrc
Note: See TracChangeset for help on using the changeset viewer.