Browse Source

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

PHP-5.1
Frank M. Kromann 21 years ago
parent
commit
623a2021ab
  1. 3
      ext/mssql/php_mssql.c

3
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 */

Loading…
Cancel
Save