summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/dblib_stmt.c
diff options
context:
space:
mode:
authorAdam Baratz <adambaratz@php.net>2016-10-27 12:15:45 -0400
committerAdam Baratz <adambaratz@php.net>2016-10-27 12:15:45 -0400
commit886e721356eb311fbf2dbeca91575b93d585168e (patch)
tree3721d9ae3005145941e6198f98c08796298407dc /ext/pdo_dblib/dblib_stmt.c
parent3d35f0b3b2099639705229ff7bfe618bccbebd0e (diff)
downloadphp-git-886e721356eb311fbf2dbeca91575b93d585168e.tar.gz
Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h.
Diffstat (limited to 'ext/pdo_dblib/dblib_stmt.c')
-rw-r--r--ext/pdo_dblib/dblib_stmt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c
index 7e7b8ed568..74e91a84b1 100644
--- a/ext/pdo_dblib/dblib_stmt.c
+++ b/ext/pdo_dblib/dblib_stmt.c
@@ -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);