]> granicus.if.org Git - php/commitdiff
MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when...
authorFrank M. Kromann <fmk@php.net>
Tue, 1 Nov 2005 18:15:44 +0000 (18:15 +0000)
committerFrank M. Kromann <fmk@php.net>
Tue, 1 Nov 2005 18:15:44 +0000 (18:15 +0000)
ext/mssql/php_mssql.c

index 3f6c249c9f6f683694f6ca9505525bc1eb1909d5..ca426aae5c8e372b1b3af103c94d89cb445d518c 100644 (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 */