Rasmus Lerdorf
f4c8961b14
Fix for bug #49698
2009-09-28 13:29:53 +00:00
Pierre Joye
f5e52c9a79
- fix TS build, this macro contains code and declaration, always put it right after your declaration
2009-09-28 12:54:23 +00:00
Ulf Wendel
1e0d7fc509
Fixing test
2009-09-28 10:42:36 +00:00
Ulf Wendel
fff7ef9412
Allow setting of default connection flags through the environment variable MYSQL_TEST_CONNECT_FLAGS
2009-09-28 10:39:42 +00:00
Felipe Pena
5f6882aa4d
- Fixed tests
2009-09-26 17:59:33 +00:00
Felipe Pena
c5449ae3c1
- Fixed tests
2009-09-26 16:54:08 +00:00
Rasmus Lerdorf
5f9009963f
Refix bug #49558 as per bug #49676
2009-09-26 00:53:59 +00:00
Ulf Wendel
260596bfaa
Trying to respect time limit to please Andrey who must be using slooow hardware...
2009-09-25 13:21:44 +00:00
Andrey Hristov
089e8b56a1
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
07757b4f2f
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
6ae4ba4173
Large package to check how compression handles package queues.
2009-09-25 10:56:17 +00:00
Andrey Hristov
1d25ad7f5c
Remove unused variable
2009-09-25 10:55:06 +00:00
Ulf Wendel
8ad273c88e
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
5d8d0fcfb1
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
cec76fd650
Fix possible crash when conn is NULL
2009-09-25 10:37:44 +00:00
Felipe Pena
dc73022a1d
- Fix test
2009-09-25 02:07:41 +00:00
Felipe Pena
275cd0d7d9
- Fixed mem leak
2009-09-25 01:46:58 +00:00
Ilia Alshanetsky
e3f239c6ce
Make tempnam() return FALSE on error as documented
2009-09-24 18:59:28 +00:00
Sriram Natarajan
282732a62b
- Fixed bug #49571 (CURLOPT_POSTREDIR not implemented).
2009-09-24 18:20:49 +00:00
Jani Taskinen
b41f9661f8
- 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
1603c45086
Fixed bug #49647 (DOMUserData does not exist)
2009-09-24 13:18:22 +00:00
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