http://qa.mandrakesoft.com/show_bug.cgi?id=4001
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
------- Additional Comments From [EMAIL PROTECTED] 2003-31-08 04:42 -------
Please try php-mssql-4.3.3-1mdk (in cooker).
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: ASSIGNED
creation_date:
description:
The new Pear DB 1.4 uses features (constants and functions) that exist in mssql
code but not in sybase.
So Pear DB 1.4 doesn't work with mssql.
Solutions would be to provide a php-mssql RPM (or, maybe, include the mssql code
in php-sybase ?)
Details :
----- from php-devel/extensions/mssql/php_mssql.c -----
static void php_mssql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type)
...
/* {{{ proto array mssql_fetch_array(int result_id [, int result_type])
Returns an associative array of the current row in the result set specified
by result_id */
PHP_FUNCTION(mssql_fetch_array)
{
php_mssql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MSSQL_BOTH);
}
----- PEAR DB/mssql.php -----
1.3 lign 161 : $ar = @mssql_fetch_array($result);
1.4 lign 181 : $ar = @mssql_fetch_array($result, MSSQL_ASSOC);