]> granicus.if.org Git - php/commitdiff
Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h.
authorAdam Baratz <adambaratz@php.net>
Thu, 27 Oct 2016 16:15:45 +0000 (12:15 -0400)
committerAdam Baratz <adambaratz@php.net>
Thu, 27 Oct 2016 16:15:45 +0000 (12:15 -0400)
ext/pdo_dblib/dblib_stmt.c

index 7e7b8ed5682995fae29a9adaf64a7723cb833376..74e91a84b1347a3fd1c7b88f4594cf7f8534518e 100644 (file)
@@ -384,11 +384,7 @@ static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr,
                                        break;
                                }
 
-#ifdef SQLUNIQUE
                                case SQLUNIQUE: {
-#else
-                               case 36: { /* FreeTDS hack */
-#endif
                                        if (H->stringify_uniqueidentifier) { // 36-char hex string representation
                                                tmp_data_len = 36;
                                                tmp_data = safe_emalloc(tmp_data_len, sizeof(char), 1);