Commit Graph

38888 Commits

Author SHA1 Message Date
Andrey Hristov
02b2d0a4ac Add missing file 2007-07-24 16:50:20 +00:00
Andrey Hristov
222174e23f Import of mysqlnd and ext/mysql + ext/mysqli patched to be built either
with libmysql or mysqld.

Use --with-mysql=mysqlnd --with-mysqli=mysqlnd to build with mysqlnd.
2007-07-24 16:13:26 +00:00
Dmitry Stogov
9343c54040 Fixed bug #41984 (Hangs on large SoapClient requests) 2007-07-24 14:25:07 +00:00
Jani Taskinen
e5b9fd0d6c - Changed "display_errors" php.ini option to accept "stderr" as value which
makes the error messages to be outputted to STDERR instead of STDOUT with
  CGI and CLI SAPIs.
2007-07-24 14:18:47 +00:00
Jani Taskinen
cc745f1724 fix folding 2007-07-24 13:29:39 +00:00
Dmitry Stogov
92d3bc0c93 Fixed bug #40757 (get_object_vars get nothing in child class)
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:40:07 +00:00
Jani Taskinen
3d06e9db7f - Added missing constants for MSG_EOR and MSG_EOF 2007-07-24 11:33:47 +00:00
Jani Taskinen
5dceae6f8f - Removed useless file 2007-07-24 11:15:29 +00:00
Andrey Hristov
cbba608856 MFB 2007-07-24 09:32:11 +00:00
Dmitry Stogov
08bbb3269b Fixed bug #41983 (Error Fetching http headers terminated by '\n') 2007-07-24 09:28:12 +00:00
Dmitry Stogov
46f26a1aac Fixed bug #42027 is_file() / is_dir() matches file/dirnames with wildcard char or trailing slash 2007-07-24 09:07:50 +00:00
b1e99fc723 ChangeLog update 2007-07-24 01:31:34 +00:00
Antony Dovgal
adf53be4ed fix test 2007-07-23 22:14:41 +00:00
Stanislav Malyshev
dba16a6035 add announcement copy as README for easier reference 2007-07-23 16:06:25 +00:00
Jani Taskinen
ea5a211256 - Fixed bug #42071 (ini scanner allows NULL to be used as option name)
# Also fixed a warning
2007-07-23 15:57:08 +00:00
Jani Taskinen
8eaa978e97 - Fixed str_pad() when passed huge negative pad_length 2007-07-23 13:27:34 +00:00
Ulf Wendel
9b035b58f5 Damn, Pierre is clever.
[14:35] <_jani_> nixnutz_: why don't you just commit everything in one go..?
[14:35] <_jani_> this "spamming" is getting quite boring..
[14:36] <Pierre> 20€/commit :)
2007-07-23 12:38:41 +00:00
Ulf Wendel
512f62a5a9 Tests for mysqli_stmt_send_long_data() 2007-07-23 12:36:06 +00:00
Ulf Wendel
613947afc6 Tests which verify that you really cannot clone any of the mysqli
objects. Technically it might be possible to tweak ext/mysqli and make
the objects cloneable - tough, we haven't checked in depth.

So, if one is interested, raise a discussion.
2007-07-23 12:34:09 +00:00
Ulf Wendel
fe8c5d1243 Tests that check mysqli_fetch_field(), mysqli_fetch_field_direct() and
retrieve metadata
2007-07-23 12:28:56 +00:00
Ulf Wendel
a1c14bfffd Tests for mysqli_fetch_object() 2007-07-23 12:28:12 +00:00
Ulf Wendel
16008bc577 Another nice new function that comes with mysqlnd: return all rows of
a result set in one array. This is handy if want to fetch all results and
pass the data directly to a template engine, for example. In this case
you save a loop.

1) Currently:
  $all_rows = array();
  while ($row = mysqli_fetch_assoc($res))
   $all_rows[] = $row;

2) With mysqli_fetch_all:
  $all_rows = mysqli_fetch_all($res, MYSQL_ASSOC)

Note: if you need the loop for processing each row, try variant 1) for
performance reasons.
2007-07-23 12:27:39 +00:00
Ulf Wendel
ff87d3ec5b Adding tests for a few new functions that come with mysqlnd:
mysqli_stmt_get_result() - create mysqli_result set from stmt
  mysqli_get_cache_stats() - mysqlnd internal status/stats
  mysqli_get_client_stats() - mysqlnd internal status/stats/
2007-07-23 12:24:02 +00:00
Ulf Wendel
8e85715547 Playing with background processing: parent and child process fetching data
from the "same" result handle and checking with each other if the fetched
rows are the same or not. Inspired by a bug report. There seem to be really
people doing this...
2007-07-23 12:20:25 +00:00
Ulf Wendel
8d61b27811 Tests for mysqli_fetch_assoc(), mysqli_fetch_array(), mysqli_fetch_row() 2007-07-23 12:16:55 +00:00
Ulf Wendel
7432e6f873 Tests for mysqli_connect(), mysqli_real_connect(), mysqli_connect_errno(),
mysqli_connect_error()
2007-07-23 12:15:20 +00:00
Ulf Wendel
c41dc41f64 Tests that deal with mysqli_set_local_infile_handler() and mysqli_set_local_infile_default() 2007-07-23 12:13:15 +00:00
Ulf Wendel
937962ebe6 Adding new tests that check the interface of the classes exported by mysqli 2007-07-23 12:11:38 +00:00
Ulf Wendel
1884a16d01 Primarily whitespace/CS - synching with mysqlnd SVN repository 2007-07-23 12:04:19 +00:00
Jani Taskinen
7bfd857fa1 MFB: Fixed "Floating point exception" inside wordwrap() 2007-07-23 11:47:44 +00:00
Jani Taskinen
6b7c17e222 fix descriptions 2007-07-23 10:45:53 +00:00
Raghubansh Kumar
d4b7248e8a More new testcases for glob() 2007-07-23 10:45:11 +00:00
Jani Taskinen
0a625249c3 fix test descriptions 2007-07-23 10:44:04 +00:00
Antony Dovgal
9f46c89c3b more tests 2007-07-23 09:14:28 +00:00
Dmitry Stogov
16fa4dcbf7 Fixed wrong expectation 2007-07-23 08:57:47 +00:00
Dmitry Stogov
a53d148b7e Fixed rename() in ZTS to allow renaming of symbolic links;
Consistent handling of trailing slash
2007-07-23 08:57:20 +00:00
Ulf Wendel
307d9364ab Whitespace (space to tab)/CS
With this commit the MySQL internal mysqlnd set of ext/mysql tests is in
sync with HEAD. It's likely that php.net/HEAD fails on quite some tests.
Using ext/mysql from the MySQL internal mysqlnd SVN there should be zero
failures. Merging the MySQL internal mysqlnd SVN into HEAD will happen
soon so that we get a bug free version on php.net in the near future.
2007-07-23 07:51:37 +00:00
Raghubansh Kumar
c06a7d5ffd New testcases for glob() function 2007-07-23 05:25:19 +00:00
db353308c8 ChangeLog update 2007-07-23 01:31:25 +00:00
Hannes Magnusson
8bff918046 MFB: Avoid endless loop 2007-07-23 01:21:04 +00:00
Jani Taskinen
993f77ef9d - Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ) 2007-07-22 23:00:14 +00:00
Jani Taskinen
08b144f722 WS fix 2007-07-22 22:46:52 +00:00
Jani Taskinen
4e921b7ea6 MFB: sockepair is not always available 2007-07-22 22:17:51 +00:00
Raghubansh Kumar
e5a2101c2a More new testcases for fread() function 2007-07-22 17:38:48 +00:00
Raghubansh Kumar
00ecf433a6 New testcases for fread() functions 2007-07-22 17:30:27 +00:00
Raghubansh Kumar
7c205bb294 smaller testcases for stat() function on Windows 2007-07-22 12:32:45 +00:00
Raghubansh Kumar
3f04550eea New testcases for ftruncate() function 2007-07-22 12:30:53 +00:00
Raghubansh Kumar
995caaf5ba fix tests 2007-07-22 12:28:31 +00:00
0131d3341e ChangeLog update 2007-07-22 01:31:31 +00:00
Raghubansh Kumar
c4e10a6be1 New testcases for umask() function 2007-07-21 18:18:23 +00:00