1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00

MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds.

This commit is contained in:
Frank M. Kromann
2005-11-01 18:15:44 +00:00
parent 289402edc6
commit 623a2021ab
+3
View File
@@ -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 */