php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16006 ODBC data transfer
Submitted: 2002-03-11 16:55 UTC Modified: 2002-05-21 23:42 UTC
From: cdu_lx at yahoo dot com Assigned:
Status: No Feedback Package: ODBC related
PHP Version: 4.1.2 OS: RedHat 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cdu_lx at yahoo dot com
New email:
PHP Version: OS:

 

 [2002-03-11 16:55 UTC] cdu_lx at yahoo dot com
Hello there.

Is there maximum limit of data ( SQL query ) that can be send via odbc?
I've been exerimenting with inserting large text into database and noticed that sent queries larger than 8190 byte are cause to error:
    SQL error: [unixODBC]Requested value changed., SQL state 01S02 in SQLExecDirect in /path/scriptname while sending queries larger than 8190 byte from DataManager ( unixODBC client ) works just fine.

So, problem looks in PHP...
Now I wonder if it's a bug or some configuration errors?
( I'm not expert )

Second problem - Recieving binary data via ODBC.
Selected binary data corrupted... ( Less in size )
functions odbc_binmode() and odbc_longreadlen() did not help.
while selecting the same data via builtin Postgres functions works fine.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-11 17:04 UTC] ahill@php.net
I suggest you try this with iODBC, as a comparison.
www.iodbc.org

Best regards,
Andrew Hill
OpenLink Software
 [2002-03-11 17:06 UTC] kalowsky@php.net
Marking as feedback.
 [2002-05-21 23:42 UTC] kalowsky@php.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 "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC