CVS update: php31/ext/mysql

From: Date: Fri, 11 Sep 1998 00:22:39 +0000
Subject: CVS update: php31/ext/mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-954@lists.php.net to get a copy of this message
Date: Thursday September 10, 1998 @ 20:22 Author: zeev Update of /repository/php31/ext/mysql In directory asf:/u2/tmp/cvs-serv334/ext/mysql Modified Files: mysql.c Log Message: pval naming patch Index: php31/ext/mysql/mysql.c diff -c php31/ext/mysql/mysql.c:2.10 php31/ext/mysql/mysql.c:2.11 *** php31/ext/mysql/mysql.c:2.10 Sun Sep 6 17:34:27 1998 --- php31/ext/mysql/mysql.c Thu Sep 10 20:22:38 1998 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: mysql.c,v 2.10 1998/09/06 21:34:27 zeev Exp $ */ /* TODO: --- 27,33 ---- +----------------------------------------------------------------------+ */ ! /* $Id: mysql.c,v 2.11 1998/09/11 00:22:38 zeev Exp $ */ /* TODO: *************** *** 1356,1362 **** int type; int num_fields; int i; ! pval *yystype_ptr; MySQL_TLS_VARS; --- 1356,1362 ---- int type; int num_fields; int i; ! pval *pval_ptr; MySQL_TLS_VARS; *************** *** 1390,1403 **** int len; char *tmp=_php3_addslashes(mysql_row[i],mysql_row_lengths[i],&len,0); ! add_get_index_stringl(return_value, i, tmp, len, (void **) &yystype_ptr, 0); } else { */ ! add_get_index_stringl(return_value, i, mysql_row[i], mysql_row_lengths[i], (void **) &yystype_ptr, 1); /* } */ ! _php3_hash_pointer_update(return_value->value.ht, mysql_field->name, strlen(mysql_field->name)+1, yystype_ptr); } else { /* NULL field, don't set it */ ! /* add_get_index_stringl(return_value, i, empty_string, 0, (void **) &yystype_ptr); */ } } } --- 1390,1403 ---- int len; char *tmp=_php3_addslashes(mysql_row[i],mysql_row_lengths[i],&len,0); ! add_get_index_stringl(return_value, i, tmp, len, (void **) &pval_ptr, 0); } else { */ ! add_get_index_stringl(return_value, i, mysql_row[i], mysql_row_lengths[i], (void **) &pval_ptr, 1); /* } */ ! _php3_hash_pointer_update(return_value->value.ht, mysql_field->name, strlen(mysql_field->name)+1, pval_ptr); } else { /* NULL field, don't set it */ ! /* add_get_index_stringl(return_value, i, empty_string, 0, (void **) &pval_ptr); */ } } } -- 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 (#954) next »