CVS update: php3/functions

From: Date: Mon, 04 Jan 1999 17:33:12 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3253@lists.php.net to get a copy of this message
Date: Monday January 4, 1999 @ 12:33 Author: fmk Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv6322 Modified Files: oracle.c Log Message: replacing calls to orlon with calls to olog for version 8 compatibility on windows NT Index: php3/functions/oracle.c diff -c php3/functions/oracle.c:1.89 php3/functions/oracle.c:1.90 *** php3/functions/oracle.c:1.89 Mon Jan 4 04:24:42 1999 --- php3/functions/oracle.c Mon Jan 4 12:33:11 1999 *************** *** 30,36 **** +----------------------------------------------------------------------+ */ ! /* $Id: oracle.c,v 1.89 1999/01/04 09:24:42 jah Exp $ */ #if defined(COMPILE_DL) # if PHP_31 --- 30,36 ---- +----------------------------------------------------------------------+ */ ! /* $Id: oracle.c,v 1.90 1999/01/04 17:33:11 fmk Exp $ */ #if defined(COMPILE_DL) # if PHP_31 *************** *** 452,459 **** RETURN_FALSE; } ! if (orlon(&db_conn->lda, db_conn->hda, user, ! strlen(user), pwd, strlen(pwd), 0)) { php3_error(E_WARNING, "Unable to connect to ORACLE (%s)", ora_error(&db_conn->lda)); if (persistent) --- 452,459 ---- RETURN_FALSE; } ! if (olog(&db_conn->lda, db_conn->hda, user, ! strlen(user), pwd, strlen(pwd), 0, -1, OCI_LM_DEF)) { php3_error(E_WARNING, "Unable to connect to ORACLE (%s)", ora_error(&db_conn->lda)); if (persistent) *************** *** 513,520 **** type == ORACLE_GLOBAL(php3_oracle_module).le_pconn)){ if(!_ora_ping(db_conn)) { /* XXX Reinitialize lda, hda ? */ ! if(orlon(&db_conn->lda, db_conn->hda, user, ! strlen(user), pwd, strlen(pwd), 0)) { php3_error(E_WARNING, "Unable to reconnect to ORACLE (%s)", ora_error(&db_conn->lda)); /* Delete list entry for this connection */ --- 513,520 ---- type == ORACLE_GLOBAL(php3_oracle_module).le_pconn)){ if(!_ora_ping(db_conn)) { /* XXX Reinitialize lda, hda ? */ ! if(olog(&db_conn->lda, db_conn->hda, user, ! strlen(user), pwd, strlen(pwd), 0, -1, OCI_LM_DEF)) { php3_error(E_WARNING, "Unable to reconnect to ORACLE (%s)", ora_error(&db_conn->lda)); /* Delete list entry for this connection */ -- 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

« previous php.dev (#3253) next »