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
 [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

Pull Requests

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: Mon Oct 07 08:01:27 2024 UTC