Pierre Joye
eb18af31f9
- fix TS build
2009-04-06 11:07:39 +00:00
Felipe Pena
04c90a0f51
- Removed:
...
- UG(unicode) checks
- Changed:
- ZEND_STR_TYPE -> IS_UNICODE
- convert_to_text -> convert_to_unicode
2009-03-27 19:28:26 +00:00
Johannes Schlüter
d15503bfcc
- Export mysql_refresh to mysqli (mysqli_refresh(), $mysqli->refresh())
2009-01-22 20:57:32 +00:00
Johannes Schlüter
66c17bcca4
- Fix #45940 MySQLI OO does not populate connect_error property on failed
...
connect
2009-01-12 12:54:17 +00:00
Johannes Schlüter
c7e001a736
Proper ctor usage ( Fix #46044 )
2009-01-07 16:29:42 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Ilia Alshanetsky
992033a41c
MFB: Fixed bug #46887 (Invalid calls to php_error_docref())
2008-12-18 20:04:26 +00:00
Dmitry Stogov
e5454b359a
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:02:45 +00:00
Andrey Hristov
983f575f22
Asynchronous queries for mysqli, when mysqlnd is enabled.
...
Includes 4 tests for mysqli_poll
2008-11-18 16:54:38 +00:00
Pierre Joye
febc0cf611
- MFB: Declarations MUST BE done in the beginning of a context
2008-10-03 16:20:56 +00:00
Andrey Hristov
82310caccb
Fix the libmysql build. Unintentionally broken by my last commit.
2008-09-19 11:39:53 +00:00
Andrey Hristov
722b9135d9
Fix for bug#46019 MySQLi::init() leaks memory
2008-09-19 11:35:37 +00:00
Andrey Hristov
9b48b002f6
Add float conversions too. Float users should understand how float works!!!
2008-09-15 18:07:58 +00:00
Dmitry Stogov
013059c247
Fixed uninitialized data
2008-07-25 08:53:11 +00:00
Andrey Hristov
0df974b7a5
MFB :
...
Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 13:01:41 +00:00
Andrey Hristov
73dfa53ca8
Sync with bzr
2008-07-15 13:12:27 +00:00
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