Commit Graph

270 Commits

Author SHA1 Message Date
Johannes Schlüter
24916b2884 Revert 290786: Fixed bug #49521 (PDO fetchObject sets values before calling
constructor)
2010-02-11 22:14:06 +00:00
Andrey Hristov
055f558554 Pass tsrmls to all functions, which might need it in the future.
We are anyway breaking the internal ABI in 5.3.2 so this won't hurt
and make us prepared for the future.
2010-02-03 17:31:29 +00:00
Gwynne Raskind
c316540ac9 ZEND_EXTERN_MODULE_GLOBALS() is necessary with ZTS, at least on OS X. How confusing. (Forgot to commit to trunk/ before, sorry) 2010-01-31 20:04:10 +00:00
Ilia Alshanetsky
0f437c3a09 Fixed crash in ZTS mode due to ini values not being initialized 2010-01-31 19:18:56 +00:00
Rasmus Lerdorf
981faa6754 Blah, PDO_DBG_ENABLED is a 0/1 toggle 2010-01-31 17:07:31 +00:00
Rasmus Lerdorf
9e4e4922bb RINIT/RSHUTDOWN do nothing unless PDO_DBG_ENABLED is defined,
so don't waste time calling them on every request.
2010-01-31 16:56:52 +00:00
Ilia Alshanetsky
ec2f3920b7 Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored) 2010-01-26 13:15:52 +00:00
Johannes Schlüter
d8afb7374c Overlong hostnames breakthistest on NIS enabled FreeBSD 2010-01-21 13:30:46 +00:00
Andrey Hristov
7ff1184be2 make mysqlnd's tracing API more reusable 2010-01-13 14:06:02 +00:00
Ilia Alshanetsky
c2ed5e6f9d Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Pierre Joye
1ab58199a9 - fix build, come on, it is not that hard to test before commit, is it? 2009-12-11 16:35:42 +00:00
Andrey Hristov
ff7ce67a20 Fix pdo build, forgot to remove the zval caching from pdo-mysql 2009-12-10 09:35:10 +00:00
Pierrick Charron
dc0b588e65 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string). 2009-12-06 21:32:58 +00:00
Pierrick Charron
13010b552b Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement). 2009-12-03 15:24:43 +00:00
Jani Taskinen
98c8b8f920 - Fixed bug #50231 (Socket path passed using --with-mysql-sock is ignored when mysqlnd is enabled) 2009-11-30 15:11:29 +00:00
Rasmus Lerdorf
4bf5bab596 The constructor generates that next line of output, so the expected
output had these 2 lines in the wrong order.  Test your tests!
2009-11-25 05:44:27 +00:00
Rasmus Lerdorf
1b37fd48a9 And there is no 23,24,25 in this test at all. Perhaps these lines were
added to the wrong file by mistake?  Those were the same ones missing from
pdo_mysql___construct_options.phpt
2009-11-25 05:38:33 +00:00
Rasmus Lerdorf
5ff2df9b5f Unless I am completely misreading this test case, these 3 lines at the
end should be in the expected output.
2009-11-25 05:29:57 +00:00
Rasmus Lerdorf
3f5a58bd3a Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Ilia Alshanetsky
a27f673512 Fixed bug #50240 (pdo_mysql.default_socket in php.ini shouldn't used if it is empty). 2009-11-23 15:45:04 +00:00
Felipe Pena
7c3bd45b82 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Ulf Wendel
e5e58ed47e Adding CLEAN sections and making tests portable between PHP 5 and PHP 6 by replacing string(n) with %unicode|string%(n) and similar. 2009-11-04 12:33:49 +00:00
Ilia Alshanetsky
921d8ca9c4 Fixed bug #50023 (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR)
# Original patch by six at aegis-corp dot org
2009-10-29 13:33:51 +00:00
Ulf Wendel
50a8d25129 Updating test - no error message any more. Maybe the PDO core has changed... whatever, one issue less 2009-10-26 11:48:47 +00:00
Ulf Wendel
b847135194 Updating test, mysqlnd support init commands 2009-10-26 11:41:30 +00:00
Ulf Wendel
fd33df54ba mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd 2009-09-22 15:31:35 +00:00
Antony Dovgal
855a458b06 fix build broken by the fix for bug #49306 2009-08-21 07:46:43 +00:00
Ilia Alshanetsky
e0349c5cb5 Fixed bug #49306 (inside pdo_mysql default socket settings are ignored). 2009-08-20 12:13:38 +00:00
Jani Taskinen
b96d6075f6 - Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). 2009-08-17 17:57:40 +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
Felipe Pena
d0c644c7bb - Synced pieces of codes
- Fixed tests
2009-03-24 19:32:06 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Ilia Alshanetsky
33d2ca2a32 MFB: Removed unused variable 2009-01-14 19:16:43 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Ilia Alshanetsky
916c8187cc MFB: Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). 2008-12-30 19:11:21 +00:00
Johannes Schlüter
1f71be7e1e Don't enable mysqlnd when pdo_mysql is being built with libmysql 2008-11-06 11:11:57 +00:00
Felipe Pena
870039d58a - Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash) 2008-11-03 15:31:51 +00:00
Johannes Schlüter
b22d3665be Fix #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS) 2008-10-27 18:29:57 +00:00
Felipe Pena
3c1cd7f7f3 - Fixed test 2008-10-19 18:24:37 +00:00
Johannes Schlüter
262f89b81f Fix test 2008-10-19 18:08:19 +00:00
Johannes Schlüter
d106560958 fix mysqlnd detection 2008-10-19 12:43:10 +00:00
Johannes Schlüter
ddfa9e6297 Fix test 2008-10-19 12:20:28 +00:00
Johannes Schlüter
d4f7133441 Add PDO::MYSQL_ATTR_COMPRESS connection flag 2008-10-14 19:00:11 +00:00
Felipe Pena
208e1b8a22 - Added SKIPIF 2008-10-14 17:46:28 +00:00
Felipe Pena
31314f5256 - Fixed test 2008-10-14 17:37:13 +00:00
Felipe Pena
469e58a2a1 - Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE) 2008-10-14 17:34:11 +00:00
Felipe Pena
0c71486c59 - Fixed tests 2008-10-10 16:56:28 +00:00
Felipe Pena
cdeea98d37 - Fixed bug #44251 (Question mark and an escaped singel quote lead to an exception)
- Fixed bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
  Patch by: tsteiner at nerdclub dot net
2008-10-10 12:08:07 +00:00
Felipe Pena
48b9214773 - Fix typo 2008-10-09 01:08:31 +00:00