Commit Graph

282 Commits

Author SHA1 Message Date
Andrey Hristov
fd44827701 Remove the zval caching from mysqlnd. It was disabled versions ago
due to problems on windows, which were not debugged. Better have 
code that is disabled not in the core.
2009-12-09 20:21:05 +00:00
Ulf Wendel
d79cba2afd Fixing a leak in mysqlnd when passing invalid fetch modes to mysqlnd. 2009-09-30 14:39:33 +00:00
Andrey Hristov
b30dfcd475 Fix for bug#48754 mysql_close() crash php when no handle specified 2009-09-18 10:46:51 +00:00
Ilia Alshanetsky
af90ded818 Fixed compiler warning 2009-07-28 12:26:16 +00:00
Andrey Hristov
f12565ce2f WS 2009-05-26 14:03:07 +00:00
Kalle Sommer Nielsen
b3e899e7ca Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysql 2009-05-20 08:29:23 +00:00
Antony Dovgal
6108689e50 fix segfault 2009-03-27 22:22:02 +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
3a76cc254f mysql_db_query() is always deprecated 2009-03-25 10:27:22 +00:00
Johannes Schlüter
ea84127c9e Fix #47438 mysql_fetch_field ignores zero offse 2009-02-18 16:33:28 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Johannes Schlüter
b79774409e Fix mysql_fetch_* and tests after param parsing changes 2008-12-01 21:20:27 +00:00
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