Commit Graph

45880 Commits

Author SHA1 Message Date
Ulf Wendel
e123cae8ac 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
fe1709ec49 fix memleak 2009-09-24 12:40:59 +00:00
Antony Dovgal
36a7f82c31 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
9326836676 Fixing test 2009-09-24 09:40:24 +00:00
Ulf Wendel
d3b2b3c155 Coverage for the OO variants of some functions 2009-09-24 08:19:56 +00:00
Dmitry Stogov
fe796df92d Fixed tests ("\r" and "\n" mismatch) 2009-09-23 16:34:05 +00:00
Dmitry Stogov
5ba6b33910 Fixed tests ("\r" and "\n" mismatch) 2009-09-23 15:46:10 +00:00
Moriyoshi Koizumi
ce3c028803 - 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
f4f23add37 Removed irrelevant test 2009-09-23 14:15:52 +00:00
Dmitry Stogov
3c0dba4510 Fixed a bug in parameter passing/conversion API which caused tons of memleak and was the reason of ~1500 test failurs 2009-09-23 13:51:50 +00:00
Dmitry Stogov
0f6f23dc14 Fixed ext/standard/tests/streams/stream_get_contents_002.phpt 2009-09-23 10:25:54 +00:00
Dmitry Stogov
69df782740 Fixed compilation error 2009-09-23 08:33:23 +00:00
Felipe Pena
8bbad1ad60 - Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...") 2009-09-23 02:08:19 +00:00
Ilia Alshanetsky
65d3b858a9 Fixed compiler warning 2009-09-23 00:18:32 +00:00
Felipe Pena
1766f09b8d - 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
fd33df54ba mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd 2009-09-22 15:31:35 +00:00
Andrey Hristov
5a1ae5b876 Fix handling of BIT fields for non-PS. We need
macros from mysqlnd to be able to convert a bit
stream to a number. BIT is binary data thus
the result is a string, and not unicode
2009-09-22 15:07:39 +00:00
Dmitry Stogov
d906bd09f0 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
67a0d7ad46 sync with branch, after Ulf's commits 2009-09-22 14:52:12 +00:00
Andrey Hristov
26f5344ed0 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:43:37 +00:00
Andrey Hristov
e4be0b369c 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:58:52 +00:00
Nuno Lopes
1a88e45cf2 MFB: generalize output 2009-09-22 12:35:35 +00:00
Nuno Lopes
4db018ab29 spread more svn:ignore love 2009-09-22 12:14:47 +00:00
Ulf Wendel
341e125d60 Fixing test 2009-09-22 11:58:46 +00:00
Dmitry Stogov
798b8e77b1 Fixed test (it failed from time to time because of very small timeouts) 2009-09-22 10:15:10 +00:00
Jani Taskinen
7ae78572e2 - Move tests in the right location 2009-09-22 09:41:39 +00:00
Ulf Wendel
f0cf479eb4 Fixing test 2009-09-22 08:42:44 +00:00
Dmitry Stogov
eedc39f4f3 Fixed ext/spl/tests/arrayObject_magicMethods2.phpt 2009-09-22 07:54:06 +00:00
Ulf Wendel
f532a81aea 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
1cafe8c54c 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
efba216e32 Fixed build with older version of libcurl 2009-09-22 01:17:16 +00:00
Ulf Wendel
decdb55cef Fixing test 2009-09-21 15:59:22 +00:00
Ulf Wendel
16be7ee5c5 Fixing test 2009-09-21 15:24:47 +00:00
Dmitry Stogov
197eb8b13b Fixed tests (removed irrelevant check which makes test to fail from time to time) 2009-09-21 15:23:25 +00:00
Dmitry Stogov
d79b83ed87 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
ddef8f511f 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
85f7a0da61 Fixed memleak in tests/lang/engine_assignExecutionOrder_001.phpt 2009-09-21 13:01:17 +00:00
Ulf Wendel
4dcea7c624 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
b979107fd0 Fixing test 2009-09-21 11:54:15 +00:00
Dmitry Stogov
a7a3d28f6d Fixed tests 2009-09-21 11:38:14 +00:00
Dmitry Stogov
dc2442bcd2 Fixed tests 2009-09-21 11:30:38 +00:00
Ulf Wendel
0c8262069f 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
356371a7bc Fixing mysqli_result_references_mysqlnd.php 2009-09-21 10:06:13 +00:00
Ulf Wendel
b35ffe4689 Fixing mysqli_get_client_stats.phpt. More testing for MYSQLI_INIT_COMMAND 2009-09-21 09:35:23 +00:00
Ulf Wendel
0d202cd84d Fixing test: references has to be collected even if the users disables the collection of statistics. It is needed for memory management. 2009-09-21 08:59:00 +00:00
Ulf Wendel
a65e1456e9 Fixing test - the standard test table will not accept NULL values for column id 2009-09-21 08:36:14 +00:00
Pierre Joye
a4aef06b34 - fix ACL cache for read check 2009-09-19 20:54:34 +00:00
Hannes Magnusson
f7aa838e1a And now use proper colspanning 2009-09-18 23:06:21 +00:00
Hannes Magnusson
043a86b31d Fix typo in comment (danbrown) 2009-09-18 22:26:44 +00:00
Hannes Magnusson
73028016ec Throw some credit around 2009-09-18 22:01:58 +00:00