Changeset 4815

Show
Ignore:
Timestamp:
08/26/08 21:02:32 (5 months ago)
Author:
romanb
Message:

Fixed #1291. Patch applied.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/DataDict/Mysql.php

    r4788 r4815  
    385385                $type[] = 'bit'; 
    386386            break; 
     387            case 'geometry': 
     388            case 'geometrycollection': 
     389            case 'point': 
     390            case 'multipoint': 
     391            case 'linestring': 
     392            case 'multilinestring': 
     393            case 'polygon': 
     394            case 'multipolygon': 
     395                $type[] = 'blob'; 
     396                $length = null; 
     397            break;               
    387398            default: 
    388399                throw new Doctrine_DataDict_Exception('unknown database attribute type: ' . $dbType);