CVS update: php31/ext/mysql
| From: | shane | Date: | Thu, 27 Aug 1998 20:55:42 +0000 |
| Subject: | CVS update: php31/ext/mysql | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-614@lists.php.net to get a copy of this message | ||
Date: Thursday August 27, 1998 @ 16:55
Author: shane
Update of /repository/php31/ext/mysql
In directory asf:/u2/tmp/cvs-serv1720/ext/mysql
Modified Files:
mysql.c
Log Message:
Various fixes
ldap now works with 3.1
moved dl close in request shutdown because it errored out if a loaded module
used a list.
moved module defines into msvc project files rather thwn config.w32.h
Index: php31/ext/mysql/mysql.c
diff -c php31/ext/mysql/mysql.c:2.5 php31/ext/mysql/mysql.c:2.6
*** php31/ext/mysql/mysql.c:2.5 Sat Aug 22 11:21:27 1998
--- php31/ext/mysql/mysql.c Thu Aug 27 16:55:42 1998
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: mysql.c,v 2.5 1998/08/22 15:21:27 zeev Exp $ */
/* TODO:
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: mysql.c,v 2.6 1998/08/27 20:55:42 shane Exp $ */
/* TODO:
***************
*** 488,494 ****
--- 488,498 ----
int type,link;
void *ptr;
+ #ifdef THREAD_SAFE
+ if (index_ptr->type != _php3_le_index_ptr()) {
+ #else
if (index_ptr->type != le_index_ptr) {
+ #endif
RETURN_FALSE;
}
link = (int) index_ptr->ptr;
***************
*** 521,527 ****
--- 525,535 ----
/* add it to the hash */
new_index_ptr.ptr = (void *) return_value->value.lval;
+ #ifdef THREAD_SAFE
+ new_index_ptr.type = _php3_le_index_ptr();
+ #else
new_index_ptr.type = le_index_ptr;
+ #endif
if (_php3_hash_update(list,hashed_details,hashed_details_length+1,(void *) &new_index_ptr,
sizeof(list_entry), NULL)==FAILURE) {
efree(hashed_details);
RETURN_FALSE;
--
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