Author: guilhermeblanco
Date: 2008-08-29 06:48:26 +0100 (Fri, 29 Aug 2008)
New Revision: 4858
Modified:
branches/1.0/lib/Doctrine/DataDict/Mysql.php
Log:
fixes #1394. Thanks for the patch!
Modified: branches/1.0/lib/Doctrine/DataDict/Mysql.php
===================================================================
--- branches/1.0/lib/Doctrine/DataDict/Mysql.php 2008-08-29 05:42:21 UTC
(rev 4857)
+++ branches/1.0/lib/Doctrine/DataDict/Mysql.php 2008-08-29 05:48:26 UTC
(rev 4858)
@@ -385,6 +385,9 @@
$type[] = 'bit';
break;
case 'geometry':
+ $type[] = 'geometry';
+ $length = null;
+ break;
case 'geometrycollection':
case 'point':
case 'multipoint':
@@ -394,7 +397,7 @@
case 'multipolygon':
$type[] = 'blob';
$length = null;
- break;
+ break;
default:
throw new Doctrine_DataDict_Exception('unknown database
attribute type: ' . $dbType);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---