Skip to content

Commit

Permalink
Merge pull request #1544 from dreamsxin/1536
Browse files Browse the repository at this point in the history
Fix BUG #1536
  • Loading branch information
Phalcon committed Nov 11, 2013
2 parents 6fd612a + 2f3ba60 commit beb8b47
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 @@ -196,6 +196,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 beb8b47

Please sign in to comment.