ID:               23682
 User updated by:  uk at dataway dot ch
 Reported By:      uk at dataway dot ch
-Status:           No Feedback
+Status:           Open
 Bug Type:         Sybase-ct (ctlib) related
-Operating System: Linux 2.4.20
+Operating System: Linux 2.4.21
-PHP Version:      4.3.2RC4
+PHP Version:      4.3.3
 New Comment:

The issue is still present in version 4.3.3. This is unsurprising,
since the code in question was not changed.

Why don't you want to apply the patch I supplied?


Previous Comments:
------------------------------------------------------------------------

[2003-08-26 00:58:29] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[2003-08-19 19:20:27] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And possibly update your patch for it.
Is bug #25161 possibly caused by this..?


------------------------------------------------------------------------

[2003-05-27 03:38:15] uk at dataway dot ch

This issue is still present in 4.3.2RC4

------------------------------------------------------------------------

[2003-05-18 11:55:56] uk at dataway dot ch

Here (with a slight correction, CS_STATUS_RESULT
doesn't return a result set)


--- ext/sybase_ct/php_sybase_ct.c.orig Sun May 18 17:49:26 2003
+++ ext/sybase_ct/php_sybase_ct.c Sun May 18 18:37:11 2003
@@ -1386,8 +1386,22 @@
      case CS_CURSOR_RESULT:
      case CS_PARAM_RESULT:
      case CS_ROW_RESULT:
-      /* Unexpected results, cancel them. */
+      if (status != Q_RESULT) {
+       result = php_sybase_fetch_result_set(sybase_ptr, buffered,
store);
+       if (result == NULL) {
+        ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL);
+        sybase_ptr->dead = 1;
+        RETURN_FALSE;
+       }
+       status = Q_RESULT;
+      }
+      else {
+       /* Unexpected results, cancel them. */
+       ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT);
+      }
+      break;
      case CS_STATUS_RESULT:
+      /* Unexpected results, cancel them. */
       ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT);
       break;

------------------------------------------------------------------------

[2003-05-18 11:44:29] [EMAIL PROTECTED]

Provide that patch in unified form (diff -u).


------------------------------------------------------------------------

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
    http://bugs.php.net/23682

-- 
Edit this bug report at http://bugs.php.net/?id=23682&edit=1

Reply via email to