From: [EMAIL PROTECTED] Operating system: RedHat 7.2 PHP version: 4.1.2 PHP Bug Type: ODBC related Bug description: ODBC data transfer
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. -- Edit bug report at http://bugs.php.net/?id=16006&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16006&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16006&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16006&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16006&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16006&r=support Expected behavior: http://bugs.php.net/fix.php?id=16006&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16006&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16006&r=submittedtwice