Commit Graph

129 Commits

Author SHA1 Message Date
Andrey Hristov
86cc5d9325 MFB : fix the build 2008-03-18 17:32:03 +00:00
Andrey Hristov
e53f44b9bd MFB - Bug #44352 mysqli_connect_error() false negative for host errors 2008-03-18 16:58:43 +00:00
Andrey Hristov
60869b3e8e Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
2008-03-10 20:27:15 +00:00
Johannes Schlüter
e883735e64 Fix typo 2008-03-10 13:38:23 +00:00
Johannes Schlüter
0cd7f31de0 - Fix build with older MySQL 2008-03-10 13:26:15 +00:00
Andrey Hristov
cd9b7889ec Bug fixed in MySQL 5.0.46 2008-03-08 15:17:45 +00:00
Andrey Hristov
f20d47c541 MFB:
- Fixed problem with $mysqli->connect() not connecting with defaults
- Fixed leak (#39475)
2008-03-08 15:16:08 +00:00
Andrey Hristov
038a533d65 Fix Windows build. VC doesn't like nested macros - expansion + #if 2008-02-12 22:06:06 +00:00
Johannes Schlüter
35bfb9028f - Fix build with TSRM and mysqlnd 2008-02-12 20:18:56 +00:00
Antony Dovgal
4a7c24b267 nuke unnecessary TSRMLS_FETCH() 2008-02-12 10:54:27 +00:00
Andrey Hristov
a4c1bc02b7 Fix typo 2008-02-12 10:51:25 +00:00
Andrey Hristov
82ad02f0cd cvs sync 2008-02-11 16:45:15 +00:00
Andrey Hristov
ac3d36818f Pconnect working with mysqli_real_connect() 2008-02-06 11:35:44 +00:00
Andrey Hristov
18c8e6501b MFB: More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
2008-01-28 18:27:49 +00:00
Johannes Schlüter
584a7c7be8 - Remove more replication stuff 2008-01-03 14:32:52 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Andrey Hristov
4ba0bd49fb Fix crashes with pconn (merge from 5_3) 2007-11-09 12:13:15 +00:00
Antony Dovgal
dc8634add8 use correct dtor and variable for the callback 2007-10-17 08:17:34 +00:00
Antony Dovgal
0655ad3833 use zval_dtor() instead of efree() + FREE_ZVAL() 2007-10-16 13:18:55 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Andrey Hristov
9ac92cfecb Update mysqlnd in HEAD
Updated ext/mysql and ext/mysqli in HEAD
2007-10-02 10:45:27 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Andrey Hristov
222174e23f Import of mysqlnd and ext/mysql + ext/mysqli patched to be built either
with libmysql or mysqld.

Use --with-mysql=mysqlnd --with-mysqli=mysqlnd to build with mysqlnd.
2007-07-24 16:13:26 +00:00
Scott MacVicar
8842c24db7 MFB: Fixed bug #41350 (my_thread_global_end() error during request shutdown on Windows). 2007-06-25 20:19:30 +00:00
Antony Dovgal
fab8c8549d fix typo and bug #40898 2007-03-23 08:21:08 +00:00
Marcus Boerger
cd7a656a9b - Optional dependency for SPL must be specified in header 2007-03-20 20:00:07 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Stanislav Malyshev
d78f8b05a0 use error message size 2007-02-16 18:49:06 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Georg Richter
c7a97a7482 unicode fixes 2006-10-01 21:01:31 +00:00
Georg Richter
0dc8637ed4 ZTS fixes. Implemented Andrei's hints (simplifying unicode stuff) 2006-09-27 15:25:52 +00:00
Georg Richter
1432e7b40f added unicode support for mysqli extension 2006-09-26 13:06:13 +00:00
Antony Dovgal
484698f6fe fix leak in php_local_infile_init() handler 2006-07-27 10:53:03 +00:00
Michael Wallner
3c0a4a8b07 - revert messed up patch 2006-07-10 13:16:07 +00:00
Michael Wallner
9539a8b980 - fix 5.2 build 2006-07-10 13:08:11 +00:00
Antony Dovgal
70a7d0319b fix mysqli_*_free_storage() funcs to conform with their prototypes 2006-07-10 13:02:31 +00:00
Dmitry Stogov
0644e2e386 Another fix for #38019 2006-07-10 12:46:46 +00:00
Dmitry Stogov
1236514b0b Fixed bug #38019 (segfault extending mysqli class) 2006-07-10 10:05:35 +00:00
Antony Dovgal
6345105612 fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context)
also, use appropriate macro instead of accessing structure elements directly
2006-07-05 11:48:17 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Michael Wallner
5777060367 MFB: Fixed bug #36949 (invalid internal mysqli objects dtor) 2006-05-29 16:55:40 +00:00
Andrey Hristov
e4e7d27e4a MFB 2006-05-10 12:29:09 +00:00
Georg Richter
b6d7fdf465 Merge from 5.2 2006-05-09 11:27:20 +00:00
Antony Dovgal
cb2232e808 MF51: fix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace) 2006-03-30 11:23:11 +00:00
Antony Dovgal
87f6b66a62 fix typo 2006-03-29 16:30:54 +00:00
Antony Dovgal
6a53a49c8b MF51: fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
2006-03-29 15:08:52 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Marcus Boerger
20273c4fe9 - Fix build 2006-03-05 17:31:44 +00:00
Johannes Schlüter
50e52dcc3e - Fix build after unicode changes 2006-03-05 15:49:55 +00:00
Ilia Alshanetsky
c20dbeb121 MFB51: Remove no longer needed check (checked at a higher level now). 2006-03-01 18:37:25 +00:00