iliaa Mon Aug 18 07:18:41 2003 EDT Modified files: /php-src/ext/mssql php_mssql.c Log: Fixed typo. Index: php-src/ext/mssql/php_mssql.c diff -u php-src/ext/mssql/php_mssql.c:1.119 php-src/ext/mssql/php_mssql.c:1.120 --- php-src/ext/mssql/php_mssql.c:1.119 Mon Aug 11 20:55:56 2003 +++ php-src/ext/mssql/php_mssql.c Mon Aug 18 07:18:41 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mssql.c,v 1.119 2003/08/12 00:55:56 iliaa Exp $ */ +/* $Id: php_mssql.c,v 1.120 2003/08/18 11:18:41 iliaa Exp $ */ #ifdef COMPILE_DL_MSSQL #define HAVE_MSSQL 1 @@ -2101,12 +2101,12 @@ result = (mssql_result *) emalloc(sizeof(mssql_result)); result->batchsize = batchsize; result->blocks_initialized = 1; - result->data = (zval **) safe_emalloc(sizeof(zval *), MSSQL_ROWS_BLOCK); + result->data = (zval **) safe_emalloc(sizeof(zval *), MSSQL_ROWS_BLOCK, 0); result->mssql_ptr = mssql_ptr; result->cur_field=result->cur_row=result->num_rows=0; result->num_fields = num_fields; - result->fields = (mssql_field *) safe_emalloc(sizeof(mssql_field), num_fields); + result->fields = (mssql_field *) safe_emalloc(sizeof(mssql_field), num_fields, 0); result->num_rows = _mssql_fetch_batch(mssql_ptr, result, retvalue TSRMLS_CC); result->statement = statement; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php