Johannes Schlüter
aabcde4dc6
New param parsing for ext/mysql
2008-11-28 20:21:35 +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
35829ec7ed
Fix compiler warning (MFB: Ilia)
2008-10-28 10:45:31 +00:00
Andrey Hristov
e8e843b39e
Warning if the library API version differs from the headers used to compile.
...
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
2008-10-27 12:07:35 +00:00
Arnaud Le Blanc
5ef7ecafc1
initialize optional vars
2008-10-21 22:06:49 +00:00
Johannes Schlüter
983c7f1697
No mysqli stuff in ext/mysql
2008-09-29 21:15:16 +00:00
Dmitry Stogov
013059c247
Fixed uninitialized data
2008-07-25 08:53:11 +00:00
Andrey Hristov
9f0b69086c
Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
...
and pconn. ext/mysql is being fixed with a better fix for similar leak.
2008-07-22 23:43:14 +00:00
Andrey Hristov
55773e7853
Fix a leak with pconn and mysqlnd
2008-07-22 17:40:43 +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
fd699ce7d3
Fix possible bug with persistent connections
2008-06-24 11:19:07 +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
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
Andrey Hristov
a8e4046c72
- Fix a warning in php_mysql.c
...
- Fixed #44371 Extension compile failed
2008-03-10 09:16:13 +00:00
Andrey Hristov
cd9b7889ec
Bug fixed in MySQL 5.0.46
2008-03-08 15:17:45 +00:00
Felipe Pena
e3ca51413c
MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags)
2008-03-04 22:31:38 +00:00
Felipe Pena
a1e8d340c3
New macro for check void parameters
2008-02-28 14:16:25 +00:00
Marcus Boerger
6b58678c63
- Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
2008-02-23 17:03:53 +00:00
Johannes Schlüter
e55831f370
- Make clear what's going on and avoid overwriting parameters
2008-02-12 20:43:28 +00:00
Felipe Pena
de211f67f3
MFB: Fixed Bug #44094 (SEGFAULT when using mysql_connect())
2008-02-12 10:15:16 +00:00
Hannes Magnusson
dfebf08378
Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect())
2008-01-20 14:10:16 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Antony Dovgal
a4d95c001f
plug memory leak on invalid result type
2007-11-08 13:28:38 +00:00
Andrey Hristov
a0aa80a3f8
Sync mysqlnd with HEAD. Same sources as in 5_3
2007-10-16 20:58:35 +00:00
Antony Dovgal
cb6053bd55
fix typo
2007-10-12 07:23:44 +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
Scott MacVicar
98de59fcf0
Fixed bug 42549 (ext/mysql failed to compile with libmysql 3.23)
2007-09-09 16:07:45 +00:00
Andrey Hristov
de29322de4
Fix crashes with pconn in ext/mysql
2007-08-06 15:11:46 +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
806a90877b
reset active_result_id when fetching persistent connection
...
patch by Peter Christensen
2007-06-07 12:17:16 +00:00
Ilia Alshanetsky
cbcb1840f3
MFB
2007-05-28 23:43:24 +00:00
Scott MacVicar
1369b797a9
MFB: Typo from old parsing API spotted by bjori
2007-05-14 18:10:10 +00:00
Scott MacVicar
1029532b2f
MFB: Add mysql_set_charset() so that the connection encoding can be changed. This is similar to the SET NAMES statement but allows the mysql_real_escape_string to use the correct character set.
2007-05-14 17:11:50 +00:00
Antony Dovgal
5e5dbfa35e
revert
2007-04-23 09:32:36 +00:00
Antony Dovgal
a95ac253db
fix #41083 (mysql_ping() requires MYSQL_OPT_RECONNECT to be set since MySQL 5.0.13)
2007-04-14 10:19:10 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Antony Dovgal
4cf068ac32
include basic_functions.h for php_get_current_user() declaration
2006-12-28 15:44:50 +00:00
Andrey Hristov
c60949d0b1
space to tab
2006-11-22 10:11:58 +00:00
Georg Richter
317564fc1a
added unicode support for ext/mysql
2006-11-19 12:10:19 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
7205725d75
init variable, eliminate compile warning
2006-08-02 10:04:02 +00:00
Hannes Magnusson
731c3e4db0
Removed custom deprecate error messages
...
Use the fancy ZEND_ACC_DEPRECATED flag.
2006-06-26 11:31:19 +00:00
Dmitry Stogov
943960c324
Added automatic module globals management
2006-06-13 13:12:20 +00:00
Michael Wallner
1ba7a6812c
MFB: #37630 MySQL extensions should link against thread safe client libs if built with ZTS
2006-06-01 19:15:31 +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