From a6e1c3616bb975a60abf1361d906040bafe900aa Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 6 Dec 2004 19:45:57 +0000 Subject: [PATCH] MFB: revert. --- NEWS | 1 - ext/mssql/php_mssql.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/NEWS b/NEWS index 26329613e7..f48838fcf4 100644 --- a/NEWS +++ b/NEWS @@ -8,7 +8,6 @@ PHP NEWS or an object as first parameter. (Andrey) - Fixed potential problems with unserializing invalid serialize data. (Marcus) - Fixed bug #30967 (properties in extended mysqli classes don't work). (Georg) -- Fixed bug #30962 (mssql returns space for NULL columns). (Ilia) - Fixed bug #30922 (reflective functions crash PHP when interfaces extend themselves). (Tony, Dmitry) - Fixed bug #30890 (MySQLi testsuite) diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 09c1bf8f52..ebb9d9a82b 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -800,10 +800,6 @@ static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int off char *data = charcol(offset); length=dbdatlen(mssql_ptr->link,offset); - if (!length) { - ZVAL_EMPTY_STRING(result); - break; - } #if ilia_0 while (length>0 && data[length-1] == ' ') { /* nuke trailing whitespace */ length--; -- 2.50.1