From: Frank M. Kromann Date: Wed, 30 Apr 2003 21:52:06 +0000 (+0000) Subject: Fixing bit support. Bug #23324 X-Git-Tag: php-4.3.2RC3~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=458bcdc77e989784ad7ec4d1f2035f31bb6f7cfa;p=php Fixing bit support. Bug #23324 --- diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 79620398dd..f8be1ff988 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -768,6 +768,7 @@ static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int off switch (column_type) { + case SQLBIT: case SQLINT1: case SQLINT2: case SQLINT4: @@ -1987,6 +1988,7 @@ PHP_FUNCTION(mssql_bind) value=(LPBYTE)(&Z_DVAL_PP(var)); break; + case SQLBIT: case SQLINT1: case SQLINT2: case SQLINT4: