CVS update: php3/functions
| From: | shane | Date: | Sun, 04 Oct 1998 20:05:02 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1659@lists.php.net to get a copy of this message | ||
Date: Sunday October 4, 1998 @ 16:05
Author: shane
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv3710/functions
Modified Files:
mysql.c
Log Message:
fix warnings when compiling against mysql 3.22.x
Index: php3/functions/mysql.c
diff -c php3/functions/mysql.c:1.169 php3/functions/mysql.c:1.170
*** php3/functions/mysql.c:1.169 Sun Oct 4 08:11:12 1998
--- php3/functions/mysql.c Sun Oct 4 16:05:01 1998
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: mysql.c,v 1.169 1998/10/04 12:11:12 kk Exp $ */
/* TODO:
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: mysql.c,v 1.170 1998/10/04 20:05:01 shane Exp $ */
/* TODO:
***************
*** 1183,1189 ****
--- 1183,1193 ----
pval *result, *row, *field=NULL;
MYSQL_RES *mysql_result;
MYSQL_ROW sql_row;
+ #if MYSQL_VERSION_ID > 32199
+ unsigned long *sql_row_lengths;
+ #else
unsigned int *sql_row_lengths;
+ #endif
int type,field_offset=0;
MySQL_TLS_VARS;
***************
*** 1345,1351 ****
--- 1349,1359 ----
pval *result;
MYSQL_RES *mysql_result;
MYSQL_ROW mysql_row;
+ #if MYSQL_VERSION_ID > 32199
+ unsigned long *mysql_row_lengths;
+ #else
unsigned int *mysql_row_lengths;
+ #endif
int type;
int num_fields;
int i;
***************
*** 1396,1402 ****
--- 1404,1414 ----
MYSQL_RES *mysql_result;
MYSQL_ROW mysql_row;
MYSQL_FIELD *mysql_field;
+ #if MYSQL_VERSION_ID > 32199
+ unsigned long *mysql_row_lengths;
+ #else
unsigned int *mysql_row_lengths;
+ #endif
int type;
int num_fields;
int i;
***************
*** 1494,1500 ****
{
pval *result;
MYSQL_RES *mysql_result;
! int *lengths;
int type;
int num_fields;
int i;
--- 1506,1516 ----
{
pval *result;
MYSQL_RES *mysql_result;
! #if MYSQL_VERSION_ID > 32199
! unsigned long *lengths;
! #else
! unsigned int *lengths;
! #endif
int type;
int num_fields;
int i;
--
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