Bug #47803 [NoF->Opn]: Executing prepared statements is succesfull only for the first two statements

From: Date: Wed, 31 Dec 2014 02:13:04 +0000
Subject: Bug #47803 [NoF->Opn]: Executing prepared statements is succesfull only for the first two statements
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189554@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=47803&edit=1 ID: 47803 Updated by: requinix@php.net Reported by: egil at wp dot pl Summary: Executing prepared statements is succesfull only for the first two statements -Status: No Feedback +Status: Open Type: Bug Package: ODBC related Operating System: Windows XP SP 3 PHP Version: 5.2.9 Block user comment: N Private report: N New Comment: You replied, yes, but left this in the Feedback state. Which is what the bot looks at. Previous Comments: ------------------------------------------------------------------------ [2014-12-31 00:21:17] egil at wp dot pl I think your robot is broken ;-). I provided the feedback - the problem still occurs. ------------------------------------------------------------------------ [2014-12-30 10:41:31] php-bugs at lists dot php dot 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 "Re-Opened". Thank you. ------------------------------------------------------------------------ [2014-07-23 11:18:05] egil at wp dot pl Still fails on 3rd execution. Gist with test code (PHP) and test data (SQL): https://gist.github.com/Eccenux/28ebf6c4a37d0e4a7c5f Output: > "c:\PHP-5.4-snap\php" -f "odbc_sql_test.php" 5.4.32-dev Warning: odbc_execute(): SQL error: [Microsoft][ODBC SQL Server Driver]Błąd sekwencji funkcji, SQL state S1010 in SQLDescribeParameter in D:\_tmp\odbc_sql_test.php on line 60 Fatal error: [sql] exec: array(test 3, 3) in D:\_tmp\odbc_sql_test.php on line 62 ------------------------------------------------------------------------ [2014-07-16 02:41:28] yohgaki@php.net Please try using this snapshot: http://snaps.php.net/php5.4-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-05-29 10:18:26] tom dot graham at jadu dot co dot uk I have exactly the same problem, two rows inserted fine and the third row is not inserted and the following error is thrown: "[Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=47803 -- Edit this bug report at https://bugs.php.net/bug.php?id=47803&edit=1

« previous php.bugs (#189554) next »