php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13167 Access Violation, odbc when I use distinct
Submitted: 2001-09-06 03:19 UTC Modified: 2002-06-03 12:14 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: niclas dot olsson at digidoc dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.0.4 OS: nt4
Private report: No CVE-ID: None
 [2001-09-06 03:19 UTC] niclas dot olsson at digidoc dot com
win nt4
php 4.04
odbc -> oracle 8.x
when I have cgi options, odbc doesn?t work.
In isapi it works fine. But when I do a "select DISTINCT" i get "Access Violation", only when I use distinct.

can someone help me?

/niclas

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-04 03:49 UTC] niclas dot olsson at digidoc dot com
ok.. when I
$sql= "select distinct name from table_person";
$result=odbc_exec($conn_id,$sql);
I get: PHP has encountered an Access Violation at 04C2E656
IF
$sql= "select name from table_person";
$result=odbc_exec($conn_id,$sql);
I get a true result

the client: Nt 4 6a. oracle driver 8.*
oracle-server: 7.4.

the same sql in a
client: Nt4 6a oracle73 ver 2.5 I get a true result.
oracle server 7.4


php version: PHP Version 4.0.4pl1 (isapi)




 [2001-10-04 03:59 UTC] derick@php.net
Please try a more recent version first (like 4.0.6). There is a big chance this is fixed.

Derick
 [2001-10-09 04:23 UTC] niclas dot olsson at digidoc dot com
have upgrade to 4.06...  and I still get:
PHP has encountered an Access Violation at 04C2E656
when I use distinct. Only distinct.. 
 [2002-06-03 12:14 UTC] mfischer@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 10:01:34 2024 UTC