From: Frank M. Kromann Date: Tue, 1 Nov 2005 18:15:44 +0000 (+0000) Subject: MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when... X-Git-Tag: php-5.1.0RC5~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=623a2021abdef46bb28007476ac08209064ee710;p=php MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds. --- diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 3f6c249c9f..ca426aae5c 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -856,6 +856,9 @@ static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int off break; #ifdef SQLUNIQUE case SQLUNIQUE: { +#else + case 36: { /* FreeTDS hack */ +#endif char *data = charcol(offset); /* uniqueidentifier is a 16-byte binary number */