php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68301 Empty results when querying more than a couple columns
Submitted: 2014-10-24 16:00 UTC Modified: 2015-04-19 04:22 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: evan dot king at bluespurs dot com Assigned:
Status: No Feedback Package: ODBC related
PHP Version: 5.5.18 OS: ubuntu 14.04 64bit, centos 64bit
Private report: No CVE-ID: None
 [2014-10-24 16:00 UTC] evan dot king at bluespurs dot com
Description:
------------
I'm connecting to an Intersystems Cache database through an SSH tunnel, using either php5-odbc or PDO (doesn't matter which) and a DSN connection string.  When I write a query that fetches many columns, PHP gets no records.  I can run the same complete query using iSQL (unixODBC) on the command line and get correct data, and can convince PHP to return data if I reduce the number of colums queried to no more than about 2 or 3.  It does not appear to matter what datatypes are being fetched - the result can be broken by adding an integer or date field to the select, for example.

The problem arose some time after PHP 5.5.14 and is still present in 5.5.18.  As a temporary workaround we're replacing the odbc .so file using the one from 5.5.14, and with that all queries still work.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-11 17:01 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2015-04-11 17:01 UTC] cmb@php.net
The problem might be related to bug #68087. Please try PHP 5.5.19
or newer.
 [2015-04-19 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 10:01:28 2024 UTC