com php-src: Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h.: ext/pdo_dblib/dblib_stm t.c

From: Date: Thu, 27 Oct 2016 16:15:45 +0000
Subject: com php-src: Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h.: ext/pdo_dblib/dblib_stm t.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95307@lists.php.net to get a copy of this message
Commit: 886e721356eb311fbf2dbeca91575b93d585168e Author: Adam Baratz <adambaratz@php.net> Thu, 27 Oct 2016 12:15:45 -0400 Parents: 3d35f0b3b2099639705229ff7bfe618bccbebd0e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=886e721356eb311fbf2dbeca91575b93d585168e Log: Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h. Changed paths: M ext/pdo_dblib/dblib_stmt.c Diff: diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index 7e7b8ed..74e91a8 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);

« previous php.cvs (#95307) next »