mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now it's part of the connection, no MT problems.
This commit is contained in:
parent
e9914e9d06
commit
2033c1b7f2
12 changed files with 271 additions and 169 deletions
39
ext/mysqlnd/mysqlnd_block_alloc.h
Normal file
39
ext/mysqlnd/mysqlnd_block_alloc.h
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 6 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 2006-2008 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Authors: Georg Richter <georg@mysql.com> |
|
||||
| Andrey Hristov <andrey@mysql.com> |
|
||||
| Ulf Wendel <uwendel@mysql.com> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#ifndef MYSQLND_BLOCK_ALLOC_H
|
||||
#define MYSQLND_BLOCK_ALLOC_H
|
||||
|
||||
MYSQLND_MEMORY_POOL * mysqlnd_mempool_create(size_t arena_size TSRMLS_DC);
|
||||
void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool TSRMLS_DC);
|
||||
|
||||
#endif /* MYSQLND_BLOCK_ALLOC_H */
|
||||
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
* tab-width: 4
|
||||
* c-basic-offset: 4
|
||||
* End:
|
||||
* vim600: noet sw=4 ts=4 fdm=marker
|
||||
* vim<600: noet sw=4 ts=4
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue