andrey
263b37bee1
change public key setting to PERDIR and finish code that allows
...
to set the key file programatically per mysqli_options()
2012-09-25 18:26:02 +02:00
andrey
6074df91c6
remove old unicode code, that is was compiled out by using a macro
2012-09-25 16:36:21 +02:00
andrey
571b46bff6
Add SHA256 authentication support - password hashing to mysqlnd
...
Automatic switchover to SSL with plain-text password is not part of this
2012-09-25 14:04:36 +02:00
andrey
6e648e9340
trace allocations in a file
2012-06-27 16:51:07 +03:00
Johannes Schlüter
e8e661128a
Fix #61704 (Crash apache, phpinfo() threading issue)
2012-05-08 17:30:05 +02:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Andrey Hristov
f926a3c07d
Move from directly referencing an aggregated structure to using a
...
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
2011-10-25 23:01:49 +00:00
Andrey Hristov
efb68d9399
api_ext to reverse_api
2011-10-19 15:04:12 +00:00
Johannes Schlüter
9554e24547
- Fix bug #55609 (mysqlnd cannot be built shared)
...
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any
# other extension it can be used with =shared to build mysqlnd shared;
# mysqlnd will implicitly enabled when requested from another extension
2011-09-06 16:38:22 +00:00
Johannes Schlüter
7420cf22bc
- Fix bug #55609 (mysqlnd cannot be built shared)
...
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any
# other extension it can be used with =shared to build mysqlnd shared;
# mysqlnd will implicitly enabled when requested from another extension
2011-09-06 16:38:22 +00:00
Johannes Schlüter
f90bead78a
- Fix TSRM build
2011-09-01 12:04:54 +00:00
Johannes Schlüter
7d25510b1b
- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd
2011-08-31 20:30:08 +00:00
Felipe Pena
997f323e3a
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Andrey Hristov
d8774af125
C89 fix
2010-12-28 16:41:39 +00:00
Andrey Hristov
cfac5f5b67
extending the API interface - plugins can register
...
themselves with a structure and can be searched.
Every plugin can have statistics and they are shown
under the statistics of mysqlnd in MINFO.
2010-12-28 15:16:21 +00:00
Andrey Hristov
443bedf204
show tracing
2010-10-28 14:07:36 +00:00
Andrey Hristov
9920be1a81
show tracing
2010-10-28 14:07:36 +00:00
Ulf Wendel
1f9a7fd758
Fixing compiler warning.
2010-10-04 10:58:05 +00:00
Ulf Wendel
500cd35c21
Fixing compiler warning.
2010-10-04 10:58:05 +00:00
Andrey Hristov
c974313aed
Switch from using PHP_MAJOR_VERSION to separate define for
...
unicode. Unicode is no more, but these are "bookmarks" where
to change mysqlnd, if Unicode becomes trendy again.
2010-08-12 12:02:02 +00:00
Andrey Hristov
92ef63a07b
Switch from using PHP_MAJOR_VERSION to separate define for
...
unicode. Unicode is no more, but these are "bookmarks" where
to change mysqlnd, if Unicode becomes trendy again.
2010-08-12 12:02:02 +00:00
Dmitry Stogov
df8bf2a2de
Fixed checks for PHP_DEBUG macro
2010-07-08 07:38:59 +00:00
Andrey Hristov
7aaef918a6
export mysqlnd_globals_id, per Johannes
2010-06-10 12:24:03 +00:00
Andrey Hristov
3b2000f042
export mysqlnd_globals_id, per Johannes
2010-06-10 12:24:03 +00:00
Andrey Hristov
04d24bde20
Add possibility to control the allocator in when PHP is compiled
...
with debug
2010-05-04 13:49:43 +00:00
Andrey Hristov
447c693b2d
Add possibility to control the allocator in when PHP is compiled
...
with debug
2010-05-04 13:49:43 +00:00
Andrey Hristov
5431f235db
Fix problem spotted by Felipe.
2010-04-22 16:22:56 +00:00
Andrey Hristov
e5dcac245c
Fix problem spotted by Felipe.
2010-04-22 16:22:56 +00:00
Andrey Hristov
f71444c756
adding what last commit was missing
2010-04-22 15:14:45 +00:00
Andrey Hristov
7c5259cca3
adding what last commit was missing
2010-04-22 15:14:45 +00:00
Andrey Hristov
34e56fea0b
Remove dead code and add possibility to fine tune the size of
...
a mempool (used for result sets).
2010-04-22 15:07:40 +00:00
Andrey Hristov
1ed3da294b
Remove dead code and add possibility to fine tune the size of
...
a mempool (used for result sets).
2010-04-22 15:07:40 +00:00
Felipe Pena
a175419f84
- Fix copyrights
2010-04-20 13:50:34 +00:00
Felipe Pena
6d951e2ded
- Fix copyrights
2010-04-20 13:50:34 +00:00
Andrey Hristov
6aa682f564
CS + WS changes
2010-04-15 12:55:04 +00:00
Andrey Hristov
a9880e78c6
CS + WS changes
2010-04-15 12:55:04 +00:00
Andrey Hristov
dd9fc198ce
Fix for bug#49234 method not found ssl_set
...
Patch was tested and compiles on Windows. (Thanks Kalle)
2010-04-15 11:01:30 +00:00
Andrey Hristov
c04f752625
Fix for bug#49234 method not found ssl_set
...
Patch was tested and compiles on Windows. (Thanks Kalle)
2010-04-15 11:01:30 +00:00
Andrey Hristov
176e6dd2f2
make mysqlnd's tracing API more reusable
2010-01-13 14:06:02 +00:00
Andrey Hristov
7ff1184be2
make mysqlnd's tracing API more reusable
2010-01-13 14:06:02 +00:00
Andrey Hristov
9831a18d17
this function should be exporten in all cases, not only under PHP6
2010-01-11 18:40:11 +00:00
Andrey Hristov
8b3931b444
this function should be exporten in all cases, not only under PHP6
2010-01-11 18:40:11 +00:00
Andrey Hristov
4d2735007d
Remove disabled code - threaded fetching. This can be implemented
...
on a upper level and by offloading it we reduce the complexity of
the core.
2009-12-09 16:57:03 +00:00
Andrey Hristov
157f1bddf1
Remove disabled code - threaded fetching. This can be implemented
...
on a upper level and by offloading it we reduce the complexity of
the core.
2009-12-09 16:57:03 +00:00
Pierre Joye
2a3ec70d10
- void is NaN, you can't do math ops on void. Declarations go first. Fix TS build
2009-11-30 10:56:01 +00:00
Andrey Hristov
5143fe41e2
Compressed protocol support + extensibility for mysqlnd
2009-11-20 08:12:14 +00:00
Andrey Hristov
7674c942c7
Compressed protocol support + extensibility for mysqlnd
2009-11-20 08:12:14 +00:00
Andrey Hristov
5b97f74b62
Increase the minimal size of the command buffer, which is used
...
for sending queries and in the future commpressed patch for reading
almost all packets from the wire instead of using stack buffers.
2009-10-07 17:33:51 +00:00
Andrey Hristov
309fced64d
Increase the minimal size of the command buffer, which is used
...
for sending queries and in the future commpressed patch for reading
almost all packets from the wire instead of using stack buffers.
2009-10-07 17:33:51 +00:00
Pierre Joye
f5e52c9a79
- fix TS build, this macro contains code and declaration, always put it right after your declaration
2009-09-28 12:54:23 +00:00
Andrey Hristov
67a0d7ad46
sync with branch, after Ulf's commits
2009-09-22 14:52:12 +00:00
Ulf Wendel
8e42cbfeac
Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.
2009-09-16 15:00:54 +00:00
Ulf Wendel
20005db2a0
Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.
2009-09-16 15:00:54 +00:00
Andrey Hristov
e8412fb61c
Fix for bug#48745
...
mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields
2009-08-28 09:30:16 +00:00
Johannes Schlüter
9485cad688
Revert mysqlnd to RC3 state after issues with pconnects
2009-06-25 19:03:52 +00:00
Andrey Hristov
a3b85c28c6
Sync with PHP6 - TSRMLS_FETCH
...
Extract reference decrement in own function
Remove PHPAPI of a function and make it static as it is not called
externally
2009-06-11 08:30:08 +00:00
Pierre Joye
7cc3ad6313
- fix TS build
2009-06-09 10:03:42 +00:00
Pierre Joye
67f88a0c3f
- ws
2009-06-09 09:51:56 +00:00
Andrey Hristov
efc752375e
Merge with the branch, someone made changes in PHP5_3 and did not merge.
...
Also switch off the zval cache for now.
2009-06-08 10:19:29 +00:00
Andrey Hristov
8b43f4fddc
ws
2009-05-26 13:42:43 +00:00
Felipe Pena
dcd86aebd2
- MFH: Removed UG(unicode) checks
2009-03-30 16:52:33 +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
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Pierre Joye
3def8739ce
- declaration first (fix build win)
2008-11-22 23:52:40 +00:00
Johannes Schlüter
80720205c0
MFH: Improve order in MINFO output
2008-10-01 21:36:43 +00:00
Johannes Schlüter
e7bd1e240c
Improve order in MINFO output
2008-10-01 21:35:27 +00:00
Andrey Hristov
493b0bb51b
Update mysqlnd - new ini variable
2008-05-07 15:16:27 +00:00
Andrey Hristov
8256272540
Update mysqlnd
2008-05-07 15:14:26 +00:00
Andrey Hristov
de560f3161
MFB: Update CVS from the development tree
2008-04-16 12:57:38 +00:00
Andrey Hristov
c931468b88
Update ext/mysql, ext/mysqli and ext/mysqlnd from development tree
2008-04-16 12:53:18 +00:00
Andrey Hristov
4dd2425184
Fix compile warning
2008-02-19 15:38:58 +00:00
Andrey Hristov
7b0625865b
Fix a compile warning + test
2008-02-19 15:38:24 +00:00
Andrey Hristov
28e7d996df
Another fix
2008-02-14 15:20:49 +00:00
Andrey Hristov
62e8d0f5aa
Another fix
2008-02-14 15:20:08 +00:00
Andrey Hristov
77d6a5afe8
Update mysqlnd - fix bg_store
2008-02-14 12:51:00 +00:00
Andrey Hristov
2d9d22395f
Update mysqlnd - fix bg_store
2008-02-14 12:49:30 +00:00
Andrey Hristov
508841bb5c
Fix the build, add a missing file
2008-01-29 18:13:12 +00:00
Andrey Hristov
829831f5ba
Fix the build, add a missing file
2008-01-29 18:11:46 +00:00