Commit Graph

43141 Commits

Author SHA1 Message Date
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
Jani Taskinen
4a95cb8938 fn 2009-09-24 22:40:15 +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
Antony Dovgal
5e810ee5e4 save LDFLAGS in EXTRA_LDFLAGS before unsetting
this patch makes sure that LDFLAGS are taken into account when
configuring the build
2009-09-24 10:43:13 +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
4b1c7c5615 Fixed ext/standard/tests/streams/stream_get_contents_002.phpt 2009-09-23 10:25:54 +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
Nuno Lopes
fb86d5b462 spread some svn:ignore love 2009-09-22 12:12:43 +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
Dmitry Stogov
17aff0eb25 Fixed test (removed "bad" locale) 2009-09-22 08:22:29 +00:00
Dmitry Stogov
42b62e7ca6 Fixed ext/spl/tests/arrayObject_magicMethods2.phpt 2009-09-22 07:54:06 +00:00
Ulf Wendel
77f44b7926 Fixing test. There is nothing we can do about the MySQL Client Library allocate huge 4GB buffers for some SQL types. 2009-09-22 07:11:50 +00:00
Ulf Wendel
5c67cdf62b Fixing test. Can't wait to see the new run-tests materialize for detecting skip section parse errors. 2009-09-22 06:59:04 +00:00
Ilia Alshanetsky
d223d65aad Fixed build with older version of libcurl 2009-09-22 01:17:16 +00:00
Ulf Wendel
6ef632d129 Fixing test 2009-09-21 15:59:22 +00:00
Ulf Wendel
e94d475ad0 Fixing test 2009-09-21 15:24:47 +00:00
Dmitry Stogov
883b992ea7 Fixed tests (removed irrelevant check which makes test to fail from time to time) 2009-09-21 15:23:25 +00:00
Dmitry Stogov
d12c66770f Fixed tests ("none" is an alias of "false" and it can't be used as a string value of ini option) 2009-09-21 14:32:20 +00:00
Ulf Wendel
e4f41b1f9f Moving test code around to get test failures down without testing less. Users of the MySQL Client Lib should always call stmt_bind_result after execute - not before. 2009-09-21 14:20:05 +00:00
Dmitry Stogov
c36b27db63 Fixed memleak in tests/lang/engine_assignExecutionOrder_001.phpt 2009-09-21 13:01:17 +00:00
Ulf Wendel
9afd024715 Fixing test by calling it a known limit. We keept the test failing as a reminder to think about how to handle BIT(32) and up but none of us has an idea. Thinks work fine up to BIT(31) - the limitation should be documented. 2009-09-21 12:02:30 +00:00
Ulf Wendel
47b209a3cd Fixing test 2009-09-21 11:54:15 +00:00
Dmitry Stogov
d49abc2736 Fixed tests 2009-09-21 11:38:14 +00:00
Dmitry Stogov
623fe9aaf9 Fixed tests 2009-09-21 11:30:38 +00:00
Dmitry Stogov
b4ba7fb96e Fixed memory leak 2009-09-21 11:22:13 +00:00
Ulf Wendel
dc1e7d6d6d Not nice but neither the MySQL Client Library not mysqlnd are supposed to detect invalid flags. Therefore: fixing test 2009-09-21 10:16:44 +00:00
Ulf Wendel
1a3b7774e6 Fixing mysqli_result_references_mysqlnd.php 2009-09-21 10:06:13 +00:00