From aea33db8bbc329415a6a9d54065b49ed972bb167 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 6 Dec 2004 19:44:33 +0000 Subject: [PATCH] Revert, this is not needed after all. --- NEWS | 1 - ext/mssql/php_mssql.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/NEWS b/NEWS index f5deac91e8..df4c223509 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,6 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Nov 2004, Version 4.3.10 -- Fixed bug #30962 (mssql returns space for NULL columns). (Ilia) 23 Nov 2004, Version 4.3.10RC1 - Added the %F modifier to *printf to render a non-locale-aware representation diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 20c72194c2..fbc5edef3f 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -787,10 +787,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