#37698 [Opn->Fbk]: select on a synonym through a database link
| From: | tony2001@php.net | Date: | Mon, 05 Jun 2006 08:44:29 +0000 |
| Subject: | #37698 [Opn->Fbk]: select on a synonym through a database link | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98026@lists.php.net to get a copy of this message | ||
ID: 37698
Updated by: tony2001@php.net
Reported By: james at redeye dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Linux Advanced Server 3.4
PHP Version: 5.1.4
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-06-05 08:17:12] james at redeye dot com
Description:
------------
I have a synonym in my Oracle 10g database that points to a table on a
9i database. A database link is used to do this.
If I do a select * on this table a segmentation fault is produced in
php. If I do the select with a where clause or by specifying the fields
I want then PHP works ok
Reproduce code:
---------------
select * from segment // Causes segmentation fault
select * from segment where name like '%MR%' // works ok
select name from segment // works ok
Expected result:
----------------
returns the matches from the sql.
Actual result:
--------------
PHP segmentation fault.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37698&edit=1