Ulf Wendel
9408303390
Fixing a leak in mysqlnd when passing invalid fetch modes to mysqlnd.
2009-09-30 14:39:33 +00:00
Dmitry Stogov
7a535b807c
pcntl_exec() should inherit environment in case it's not provided as an argument
2009-09-30 13:04:28 +00:00
Ilia Alshanetsky
809dbcda08
Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose).
2009-09-30 02:34:17 +00:00
Ulf Wendel
e56e60c3a0
Fixing test
2009-09-29 16:37:50 +00:00
Rafael Machado Dohms
e91fffb24a
Fixing tests for head and wrong SKIPIF blocks
2009-09-29 14:34:06 +00:00
Rasmus Lerdorf
80bdbc8f66
Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak.
2009-09-29 14:14:02 +00:00
Rasmus Lerdorf
8c15aa2314
Add missing open_basedir check in posix_mkfifo
2009-09-29 14:02:50 +00:00
Rasmus Lerdorf
99f30c1b6a
Fix date_sunrise/date_sunset tests
2009-09-29 13:56:51 +00:00
Rafael Machado Dohms
9ba46557e9
Adding tests for bug #49692
2009-09-28 22:57:41 +00:00
Rasmus Lerdorf
b3de24c9b8
Fix for bug #49698
2009-09-28 13:29:53 +00:00
Ulf Wendel
91315a9307
Fixing test
2009-09-28 10:42:36 +00:00
Ulf Wendel
fbfd13310b
Allow setting of default connection flags through the environment variable MYSQL_TEST_CONNECT_FLAGS
2009-09-28 10:39:42 +00:00
Ilia Alshanetsky
5edef9d2dd
Fixed test
2009-09-28 03:14:46 +00:00
Felipe Pena
b6a1b37889
- Fixed tests
2009-09-26 17:59:33 +00:00
Felipe Pena
5132913dd3
- Fixed tests
2009-09-26 16:54:08 +00:00
Rasmus Lerdorf
5afa8a23bb
Refix bug #49558 as per bug #49676
2009-09-26 00:53:59 +00:00
Ulf Wendel
8621a06eed
Trying to respect time limit to please Andrey who must be using slooow hardware...
2009-09-25 13:21:44 +00:00
Andrey Hristov
3828ca158e
Fix mysqli_stmt_attr_set in libmysql mode.
...
mysql_stmt_attr_set returns my_bool instead of int.
If it was int, then 0 is success and !0 is failure, but
for my_bool 0 (FALSE) is failure and !0 is success.
2009-09-25 12:25:54 +00:00
Andrey Hristov
5d3152b181
Fix a crash in the rare case when a persistent connection
...
is found dead, after CHNG_USER. mysql->mysql will be NULL
and segfault will follow.
2009-09-25 11:38:19 +00:00
Ulf Wendel
bd69506171
Large package to check how compression handles package queues.
2009-09-25 10:56:17 +00:00
Andrey Hristov
9b44cbb490
Remove unused variable
2009-09-25 10:55:06 +00:00
Ulf Wendel
a5e4c6f795
Replacing MYSQL_TEST_COMPRESS env var with more generic MYSQL_TEST_CONNECT_FLAGS to be able to test all connection flags. Fixing some test.
2009-09-25 10:54:16 +00:00
Andrey Hristov
eea0660def
Fix error code checking for mysql_stmt_attr_set. There
...
is a test that checks this.
2009-09-25 10:52:29 +00:00
Andrey Hristov
80f629ed9f
Fix possible crash when conn is NULL
2009-09-25 10:37:44 +00:00
Felipe Pena
22876972a5
- Fix test
2009-09-25 02:07:41 +00:00
Felipe Pena
20c5df8cce
- Fixed mem leak
2009-09-25 01:46:58 +00:00
Ilia Alshanetsky
eb2d54822b
Make tempnam() return FALSE on error as documented
2009-09-24 18:59:28 +00:00
Sriram Natarajan
92c08b1224
- Fixed bug #49571 (CURLOPT_POSTREDIR not implemented).
2009-09-24 18:20:49 +00:00
Jani Taskinen
2c90fb8ea2
- Fix the build issue with php_mysqlnd_config.h ending up in wrong build directory
2009-09-24 18:01:17 +00:00
Rob Richards
c3d66dbfed
Fixed bug #49647 (DOMUserData does not exist)
2009-09-24 13:18:22 +00:00
Ulf Wendel
c01b505a44
Proxying as many connect calls as possible to make testing of the compression protocol @ mysqlnd easier. By setting the environment variable MYSQL_TEST_COMPRESS you can tell the tests to set the MYSQLI_CLIENT_COMPRESS flag upon connect.
2009-09-24 12:51:03 +00:00
Rob Richards
9b923dd6ce
fix memleak
2009-09-24 12:40:59 +00:00
Ulf Wendel
7b50b0794d
Fixing test
2009-09-24 09:40:24 +00:00
Ulf Wendel
057a62fc52
Coverage for the OO variants of some functions
2009-09-24 08:19:56 +00:00
Ilia Alshanetsky
7eeff10cc0
Fixed unused var
2009-09-23 23:14:17 +00:00
Moriyoshi Koizumi
0c974164e2
- Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
...
multibyte character).
(This bug was introduced by the commit by r202895. Please double-check the
specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Dmitry Stogov
6f32199f75
Fixed compilation error
2009-09-23 08:33:23 +00:00
Felipe Pena
788031f093
- Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...")
2009-09-23 02:08:19 +00:00
Ilia Alshanetsky
420a3abc6a
Fixed compiler warning
2009-09-23 00:18:32 +00:00
Felipe Pena
5596b05449
- Fixed bug #49630 (imap_listscan function missing)
...
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
2009-09-22 18:18:57 +00:00
Ulf Wendel
381ebe751b
mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd
2009-09-22 15:31:35 +00:00
Andrey Hristov
ac93b60f68
MFH:Fix handling of BIT fields for non-PS. We need
...
macros from mysqlnd to be able to convert a bit
stream to a number.
2009-09-22 15:08:11 +00:00
Dmitry Stogov
38cdb16dd2
Fixed tests which fail from time to time because of race conditions ("echo" command didn't wait for all the data php tried to send and as result php got a SIGPIPE)
2009-09-22 14:52:47 +00:00
Andrey Hristov
452aca97e3
MFH:Check for the different types and create the
...
corresponding configuration file, so it can be used
by mysqli, even if mysqlnd is not enabled at all.
2009-09-22 14:44:11 +00:00
Andrey Hristov
dcb5c5b0a4
MFH: Fix handling of BIT fields in mysqli, when libmysql is used
...
We need to use macros from mysqlnd to be able to read the
bit fields, as they are specially encoded. mysqlnd is always
there, 5.3+, so its macros can be used, even if mysqlnd is
not compiled as library of choice.
2009-09-22 13:59:29 +00:00
Nuno Lopes
24090104ef
allow tests to pass when a random username is used.
...
patch by Olivier Doucet
2009-09-22 12:30:21 +00:00
Ulf Wendel
26b4248799
Fixing test
2009-09-22 11:58:46 +00:00
Dmitry Stogov
bb81ef5d71
Fixed test (it failed from time to time because of very small timeouts)
2009-09-22 10:15:10 +00:00
Jani Taskinen
4cce432eeb
- Move tests in the right location
2009-09-22 09:41:39 +00:00
Ulf Wendel
75d415efbe
Fixing test
2009-09-22 08:42:44 +00:00