PHP 5.2.6 cannot read result set from MSSQL stored procedure with tdsodbc 0.82-3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freetds (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Upgraded from Ubuntu 8.04 to 8.10. PHP code that worked on 8.04 ceased to work on 8.10:
$db_result = odbc_exec(
if($db_result){
if (odbc_num_
$i = 0;
do{
}
$i++;
} while (odbc_next_
}
I set the FreeTDS driver to write debugging information to a log file. I could see that the stored procedure ran successfully and 200 results were returned. However, PHP can't seem to read them.
I re-installed php5-odbc, and all of the FreeTDS packages. No Joy. Eventually I downgraded FreeTDS back to version 0.63-3.2ubuntu1. Everything works fine in that version.
description: | updated |
thanks you for your suggest and post bless