CVS update: php3/functions
| From: | ssb | Date: | Wed, 21 Oct 1998 00:14:24 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1928@lists.php.net to get a copy of this message | ||
Date: Tuesday October 20, 1998 @ 20:14
Author: ssb
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv27105
Modified Files:
oci8.c
Log Message:
just an indentation fix
Index: php3/functions/oci8.c
diff -c php3/functions/oci8.c:1.19 php3/functions/oci8.c:1.20
*** php3/functions/oci8.c:1.19 Thu Oct 1 14:24:13 1998
--- php3/functions/oci8.c Tue Oct 20 20:14:23 1998
***************
*** 30,36 ****
+----------------------------------------------------------------------+
*/
! /* $Id: oci8.c,v 1.19 1998/10/01 18:24:13 ssb Exp $ */
#include "php.h"
#include "internal_functions.h"
--- 30,36 ----
+----------------------------------------------------------------------+
*/
! /* $Id: oci8.c,v 1.20 1998/10/21 00:14:23 ssb Exp $ */
#include "php.h"
#include "internal_functions.h"
***************
*** 413,445 ****
ub4 errcode = 0;
switch (status) {
! case OCI_SUCCESS:
! break;
! case OCI_SUCCESS_WITH_INFO:
! php3_error(E_WARNING, "%s: OCI_SUCCESS_WITH_INFO", what);
! break;
! case OCI_NEED_DATA:
! php3_error(E_WARNING, "%s: OCI_NEED_DATA", what);
! break;
! case OCI_NO_DATA:
! php3_error(E_WARNING, "%s: OCI_NO_DATA", what);
! break;
! case OCI_ERROR:
! OCIErrorGet(err_p, (ub4)1, NULL, &errcode, errbuf,
! (ub4)sizeof(errbuf), (ub4)OCI_HTYPE_ERROR);
! php3_error(E_WARNING, "%s: %s", what, errbuf);
! break;
! case OCI_INVALID_HANDLE:
! php3_error(E_WARNING, "%s: OCI_INVALID_HANDLE", what);
! break;
! case OCI_STILL_EXECUTING:
! php3_error(E_WARNING, "%s: OCI_STILL_EXECUTING", what);
! break;
! case OCI_CONTINUE:
! php3_error(E_WARNING, "%s: OCI_CONTINUE", what);
! break;
! default:
! break;
}
return errcode;
}
--- 413,445 ----
ub4 errcode = 0;
switch (status) {
! case OCI_SUCCESS:
! break;
! case OCI_SUCCESS_WITH_INFO:
! php3_error(E_WARNING, "%s: OCI_SUCCESS_WITH_INFO", what);
! break;
! case OCI_NEED_DATA:
! php3_error(E_WARNING, "%s: OCI_NEED_DATA", what);
! break;
! case OCI_NO_DATA:
! php3_error(E_WARNING, "%s: OCI_NO_DATA", what);
! break;
! case OCI_ERROR:
! OCIErrorGet(err_p, (ub4)1, NULL, &errcode, errbuf,
! (ub4)sizeof(errbuf), (ub4)OCI_HTYPE_ERROR);
! php3_error(E_WARNING, "%s: %s", what, errbuf);
! break;
! case OCI_INVALID_HANDLE:
! php3_error(E_WARNING, "%s: OCI_INVALID_HANDLE", what);
! break;
! case OCI_STILL_EXECUTING:
! php3_error(E_WARNING, "%s: OCI_STILL_EXECUTING", what);
! break;
! case OCI_CONTINUE:
! php3_error(E_WARNING, "%s: OCI_CONTINUE", what);
! break;
! default:
! break;
}
return errcode;
}
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net