From 623a2021abdef46bb28007476ac08209064ee710 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Tue, 1 Nov 2005 18:15:44 +0000 Subject: [PATCH] MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds. --- ext/mssql/php_mssql.c | 3 +++ 1 file changed, 3 insertions(+) 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 */ -- 2.40.0