|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
39 - 15 = ?
Subscribe to this entry?

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-11 17:04 UTC]
I suggest you try this with iODBC, as a comparison.

Best regards,
Andrew Hill
OpenLink Software
 [2002-03-11 17:06 UTC]
Marking as feedback.
 [2002-05-21 23:42 UTC]
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 Apr 15 04:01:28 2024 UTC