cvs: php4 /ext/pgsql pgsql.c

From: Date: Sun, 21 Apr 2002 10:37:41 +0000
Subject: cvs: php4 /ext/pgsql pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11290@lists.php.net to get a copy of this message
sas Sun Apr 21 06:37:41 2002 EDT Modified files: /php4/ext/pgsql pgsql.c Log: speling fix and s/FAILURE/HASH_KEY_NON_EXISTANT/ Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.189 php4/ext/pgsql/pgsql.c:1.190 --- php4/ext/pgsql/pgsql.c:1.189 Sun Apr 21 06:28:01 2002 +++ php4/ext/pgsql/pgsql.c Sun Apr 21 06:37:40 2002 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.189 2002/04/21 10:28:01 sas Exp $ */ +/* $Id: pgsql.c,v 1.190 2002/04/21 10:37:40 sas Exp $ */ #include <stdlib.h> @@ -2993,7 +2993,7 @@ return PG_BIT; if (!strcmp(type_name, "bit varying")) return PG_VARBIT; - /* geometoric */ + /* geometric */ if (!strcmp(type_name, "line")) return PG_LINE; if (!strcmp(type_name, "lseg")) @@ -3119,7 +3119,7 @@ zend_hash_get_current_data_ex(Z_ARRVAL_P(values), (void **)&val, &pos) == SUCCESS; zend_hash_move_forward_ex(Z_ARRVAL_P(values), &pos)) { skip_field = 0; - if ((key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &field, &field_len, &num_idx, 0, &pos)) == FAILURE) { + if ((key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &field, &field_len, &num_idx, 0, &pos)) == HASH_KEY_NON_EXISTANT) { php_error(E_WARNING, "%s() failed to get array key type", get_active_function_name(TSRMLS_C)); err = 1; @@ -3799,7 +3799,7 @@ /* bit */ case PG_BIT: case PG_VARBIT: - /* geometoric */ + /* geometric */ case PG_LINE: case PG_LSEG: case PG_POINT:

« previous php.cvs (#11290) next »