diff options
| author | Frank M. Kromann <fmk@php.net> | 2005-11-01 18:20:00 +0000 |
|---|---|---|
| committer | Frank M. Kromann <fmk@php.net> | 2005-11-01 18:20:00 +0000 |
| commit | 91f971883237aed36002f189b9d04b8f9075f172 (patch) | |
| tree | 4a7722d915f0e79ef77dac741cde6b79e03dc19d /ext/mssql/php_mssql.c | |
| parent | 237bcf0da7cbaec8246989a641a14d8fc3051857 (diff) | |
| download | php-git-91f971883237aed36002f189b9d04b8f9075f172.tar.gz | |
MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds.
Diffstat (limited to 'ext/mssql/php_mssql.c')
| -rw-r--r-- | ext/mssql/php_mssql.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index fa51f04503..f6e40ca02b 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -853,6 +853,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 */ |
