Skip to content

Commit

Permalink
Merge pull request #1545 from dreamsxin/1536_for_1.2.5
Browse files Browse the repository at this point in the history
Fix BUG #1536 for 1.2.5
  • Loading branch information
Phalcon committed Nov 11, 2013
2 parents 34870af + c779b29 commit 37d2c6e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ext/db/adapter/pdo/mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@ PHP_METHOD(Phalcon_Db_Adapter_Pdo_Mysql, describeColumns){

while (1) {

/**
* Point are varchars
*/
if (phalcon_memnstr_str(column_type, SL("point"))) {
phalcon_array_update_string_long(&definition, SL("type"), 2, PH_SEPARATE);
break;
}

/**
* Enum are treated as char
*/
Expand Down

0 comments on commit 37d2c6e

Please sign in to comment.