Commit Graph

21245 Commits

Author SHA1 Message Date
Jani Taskinen
099f5966ef - Fix some lib vs. $PHP_LIBDIR issues. 2007-07-31 13:01:42 +00:00
Antony Dovgal
24c766b902 fix typo
it would be much better if Gentoo people send us this patch long ago instead of using their private patches.
2007-07-31 12:23:42 +00:00
Stanislav Malyshev
3592865320 sometimes c-client returns non-null entry with null host 2007-07-31 00:32:18 +00:00
Pierre Joye
322a68f726 - MFB:
- fix gd bug #102, < 0 means that no load are loaded, return false
 - add error code in the warning
2007-07-30 21:44:53 +00:00
Rob Richards
a1cf7cec92 allow user specified class to be returned from transformToDoc 2007-07-28 09:16:15 +00:00
Rob Richards
7fac5158d7 MFB: Fixed Bug #42112 (deleting a node produces memory corruption)
add test
2007-07-28 08:34:09 +00:00
Jani Taskinen
6287087e70 - Align help texts and added note about embedded not being available when
the MySQL native driver is used.
2007-07-27 01:09:18 +00:00
Jani Taskinen
a250d34000 I must be blind.. 2007-07-26 19:07:53 +00:00
Jani Taskinen
4323e38314 - copy-paste typo 2007-07-26 18:49:51 +00:00
Jani Taskinen
b0b1438882 - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:23:31 +00:00
Jani Taskinen
f771450890 - Check also if ulong is available 2007-07-26 14:54:49 +00:00
Andrey Hristov
2a80356a52 Return to previous code 2007-07-26 14:40:18 +00:00
Jani Taskinen
931c9a0556 - ws + cs fixes 2007-07-26 14:30:08 +00:00
Jani Taskinen
b16daf597c fix typo 2007-07-26 14:29:03 +00:00
Raghubansh Kumar
6842c58737 file.inc : Added dumping of stat array in functions (compare_self_stat() & compare_stats() )
Smaller testcases for lstat_stat_variation[1-7].phpt files
2007-07-26 13:55:42 +00:00
Hannes Magnusson
15bac417cd Add arginfo 2007-07-26 13:19:22 +00:00
Jani Taskinen
f3c2a33f42 - Moved mysqnd to it's own directory: It is sort of an extension itself.
(Similar to what ext/libxml is..)
2007-07-25 23:47:33 +00:00
Dmitry Stogov
11c5577116 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:27 +00:00
Andrey Hristov
7bb46902f8 Alignment fixes for 64bit and fixing macroses 2007-07-25 12:42:00 +00:00
Hannes Magnusson
1eaf171d98 Show "wrong parameter count" error messages 2007-07-25 09:05:55 +00:00
Johannes Schlüter
610f70fcf5 - MFB: New ReflectionExtension::info() function to print the phpinfo() block
for an extension.
2007-07-24 23:16:47 +00:00
Hannes Magnusson
374e0a5d02 Fixed bug#42090 (json_decode causes segmentation fault) 2007-07-24 22:54:26 +00:00
Antony Dovgal
0209e41563 add PCRE_VERSION constant to ext/pcre 2007-07-24 22:34:17 +00:00
Antony Dovgal
f0cde2c03d namespace protection
GD uses the same variable, too.
2007-07-24 20:11:13 +00:00
Dmitry Stogov
cb27d5dbae Fixed test 2007-07-24 20:03:30 +00:00
Andrey Hristov
bb4b052c23 Don't use AC_CHECK_TYPES, as autoconf 2.13 is buggy, use an workaround. 2007-07-24 19:20:28 +00:00
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
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
Antony Dovgal
adf53be4ed fix test 2007-07-23 22:14:41 +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
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
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
Raghubansh Kumar
c4e10a6be1 New testcases for umask() function 2007-07-21 18:18:23 +00:00
Raghubansh Kumar
aeac0426f5 New testcases for lstat() and stat() functions 2007-07-21 17:27:45 +00:00
Raghubansh Kumar
cde94cb7b1 New testcases for is_file() function 2007-07-21 17:25:59 +00:00
Raghubansh Kumar
e889f297f3 New testcases for is_dir() function 2007-07-21 17:24:29 +00:00
Raghubansh Kumar
e41c15f71e New testcases for fseek(), ftell() & rewind() functions 2007-07-21 17:22:32 +00:00
Raghubansh Kumar
edad34bd15 New testcases for fflush() function 2007-07-21 17:19:27 +00:00
Raghubansh Kumar
75ad7fa7db New testcases for fwrite(), fgetc() and fgets() functions 2007-07-21 08:01:25 +00:00
Jani Taskinen
b0bbc60209 - Fix compile warnings 2007-07-21 01:23:37 +00:00
Jani Taskinen
7e9e8c950f - ws + compile warning fixes 2007-07-21 00:49:53 +00:00
Jani Taskinen
5c0df4eb38 - Fix warnings 2007-07-20 23:53:29 +00:00
Raghubansh Kumar
c61fda5b94 Fix for fill_file() function in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:09:11 +00:00
Antony Dovgal
c771e2bf44 fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:45 +00:00
Antony Dovgal
5613d65043 revert 2007-07-20 10:10:11 +00:00
Antony Dovgal
3e72a3636e fix #41989 (move_uploaded_file() & relative path in ZTS mode) 2007-07-19 15:56:33 +00:00
Antony Dovgal
44df63c8ae fix tests, add 64bit versions 2007-07-19 15:15:15 +00:00
Antony Dovgal
383a8264e9 split the test 2007-07-19 15:04:05 +00:00
Antony Dovgal
04dc0ced37 fix unicode mode 2007-07-19 14:36:39 +00:00
Antony Dovgal
999c50f5b0 fix test 2007-07-19 14:35:45 +00:00
Antony Dovgal
d6688619fd fix ws & folding 2007-07-19 14:25:37 +00:00
Antony Dovgal
bbf8afc3a4 make sure the cache is flushed when doing stat calls 2007-07-19 12:16:24 +00:00
Jani Taskinen
717f391d32 - Fixed bug #41433 (DBA: configure fails to include correct db.h for db4) 2007-07-19 10:48:34 +00:00
Christopher Jones
ab25af8aeb Add casts to fix compilation warnings 2007-07-18 15:09:37 +00:00
Antony Dovgal
8464268a3f fix test 2007-07-18 13:54:30 +00:00
Nuno Lopes
8171d5cc68 attempt to fix pdo_pgsql tests in HEAD 2007-07-18 12:28:08 +00:00
Raghubansh Kumar
dc721705af New testcases for filesystem handling function : unlink() 2007-07-18 04:57:25 +00:00
Jani Taskinen
e70f6d70f1 - Fixed bug #42019 (configure option --with-adabas=DIR does not work) 2007-07-17 12:11:41 +00:00
Nuno Lopes
859841cf8c MFB: update 2007-07-17 10:30:50 +00:00
Jani Taskinen
54519ad478 MFB: %f -> %F 2007-07-17 09:09:03 +00:00
Jani Taskinen
3229215255 - Fixed bug #42015 (ldap_rename() gets server error "DSA is unwilling to perform") 2007-07-17 08:38:19 +00:00
Antony Dovgal
e8dcb7a3b6 MFB: initialize glob struct 2007-07-16 20:29:37 +00:00
Antony Dovgal
78c7fde94a fix typo 2007-07-16 19:36:28 +00:00
Antony Dovgal
a26699d806 more build fixes 2007-07-16 19:16:00 +00:00
Antony Dovgal
f3c571484e fix win32 build 2007-07-16 19:12:47 +00:00
Antony Dovgal
d7ab2da30b there is no such file 2007-07-16 19:07:22 +00:00
Raghubansh Kumar
eadb9f96c1 fix tests 2007-07-16 18:02:11 +00:00
Raghubansh Kumar
b4c1b36999 New testcases 2007-07-16 17:36:33 +00:00
Jani Taskinen
7bb7cae6a9 - Fix win32 build (I guess..:) 2007-07-16 13:51:41 +00:00
Antony Dovgal
a63e107188 add missing skipifs 2007-07-16 13:46:38 +00:00
Jani Taskinen
7c44729e41 - Cleanup and simplify 2007-07-16 13:41:12 +00:00
Antony Dovgal
514dfc34ca remove ext/informix leftovers 2007-07-16 13:37:50 +00:00
Antony Dovgal
e3472f198a add skipif 2007-07-16 13:35:31 +00:00
Antony Dovgal
c875f6493c fix test 2007-07-16 13:31:34 +00:00
Antony Dovgal
8300bed9f9 add missing skipif sections 2007-07-16 13:29:41 +00:00
Jani Taskinen
d7e208a6c6 - Use explode instead of split (ereg goes bye bye..) 2007-07-16 12:35:33 +00:00
Antony Dovgal
febe567acb split test 2007-07-16 10:59:07 +00:00
Antony Dovgal
b28ea6b885 fix test 2007-07-16 10:39:34 +00:00
Jani Taskinen
a1fd81368e - Skip these tests always if unicode.semantics=on 2007-07-15 20:03:16 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Jani Taskinen
15ad001163 - Initial commit (files will be moved from elsewhere in CVS!) 2007-07-15 15:40:11 +00:00
Antony Dovgal
b608bd654d fix ws, cs & folding 2007-07-14 08:38:20 +00:00
Derick Rethans
56828aba9a - Let's always use the macro as llabs() requires c99. 2007-07-13 17:49:18 +00:00
Antony Dovgal
44d1ccca25 fix test 2007-07-13 17:15:12 +00:00
Antony Dovgal
6e5c6bbd26 add key values to the output 2007-07-13 17:07:33 +00:00
Antony Dovgal
d8354fe6ff add 64bit version 2007-07-13 16:42:42 +00:00
Antony Dovgal
38283545ee split one more huge test into several smaller ones 2007-07-13 16:39:55 +00:00
Antony Dovgal
2c0bd79e91 fix test, add 64bit version 2007-07-13 16:07:42 +00:00
Antony Dovgal
c601b252a0 fix %u in Unicode mode 2007-07-13 15:52:38 +00:00
Dmitry Stogov
e76b7240a1 Unicode support 2007-07-13 15:22:34 +00:00
Zoe Slattery
052e62c4cf Assert test cases 2007-07-13 15:17:28 +00:00
Jani Taskinen
acc430e51d - fix wrong logic 2007-07-13 15:08:55 +00:00
Zoe Slattery
84686c5b8f Assert test 2007-07-13 14:57:32 +00:00
Jani Taskinen
c6fabb2b17 - Fixed some issues with enabling builtin stuff when anything else is
enabled
- Changed all AC_ARG_* options to PHP_ARG_* options
- Cleanups.
2007-07-13 14:23:41 +00:00
Dmitry Stogov
36add00ccd Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown 2007-07-13 14:01:11 +00:00
Rob Richards
982967b637 use macro - llabs not always available on win32 2007-07-13 12:48:47 +00:00
Antony Dovgal
879cd8b7be don't allow $PHP_OCI8 to be empty when OCI8 is enabled 2007-07-13 09:23:46 +00:00
Dmitry Stogov
dde974da3a Fixed memleak 2007-07-13 09:15:03 +00:00
Antony Dovgal
71148ce268 fix test 2007-07-13 09:13:58 +00:00
Antony Dovgal
1d0a4b2fe7 simplify the patch and prevent NULL retval_ptr_ptr's 2007-07-13 08:50:53 +00:00
Jani Taskinen
2bd642c353 - Make sure people call ldap_first_attribute() before ldap_next_attribute() 2007-07-13 02:00:26 +00:00
Jani Taskinen
35d2e03ec9 - Removed non-existing function entry 2007-07-13 01:22:43 +00:00
Jani Taskinen
ef7373f458 - Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions)
[DOC] The last parameter "ber" is removed by this fix! (It's not needed)
2007-07-13 01:15:47 +00:00
Jani Taskinen
55e9266034 - Fixed bug #39291 (ldap_sasl_bind() is mising sasl_authc_id paratemeter)
# It's the equivalent for the ldapsearch -U parameter
# @doc, @DOC or whatever the tag was..
2007-07-12 22:05:09 +00:00
Zoe Slattery
2a8e9f9b50 reflectionObject tests 2007-07-12 21:08:02 +00:00
Ulf Wendel
a4cd950dc8 The last bunch of changes to the old 0*.phpt tests. Once final time a
verbose explanation of changes:

     - take connection parameter from connect.inc
     - use proper UEXPECTF
     - have 'print "done!"' or similar at the end to detect crashes
     - whitespace changes where needed
     - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
     - understand return value checking as sometime that makes you type
       more when you write but makes you happy when you debug
2007-07-12 21:02:21 +00:00
Ulf Wendel
b6cc61737f Will this never end?
- connection parameter tweaking
   - a bit of whitespace here and there
   - use UEXPECTF if need be
2007-07-12 20:57:30 +00:00
Ulf Wendel
2a191bb06d As usual:
- connection parameter tweaking
 - a bit of whitespace here and there
 - use UEXPECTF if need be
2007-07-12 20:55:12 +00:00
Ulf Wendel
b0251ed6cc Connection parameter should be taken from connect.inc and used all in
mysqli_connect() and friends. Use UEXPECTF instead of crippled EXPECTF.
2007-07-12 20:53:05 +00:00
Ulf Wendel
1cef1c528d I forgot to mention: some will fail. In particular in unicode mode.
Next 10 in row to be tweaked:

     - take connection parameter from connect.inc
     - use proper UEXPECTF
     - have 'print "done!"' or similar at the end to detect crashes
     - whitespace changes where needed
     - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
     - understand return value checking as sometime that makes you type
       more when you write but makes you happy when you debug
2007-07-12 20:49:29 +00:00
Ulf Wendel
202ba6c5fe Next 10 in row to be tweaked:
- take connection parameter from connect.inc
   - use proper UEXPECTF
   - have 'print "done!"' or similar at the end to detect crashes
   - whitespace changes where needed
   - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
   - understand return value checking as sometime that makes you type
     more when you write but makes you happy when you debug
2007-07-12 20:42:48 +00:00
Ulf Wendel
472e0c78d1 The usual tweaking:
- take connection parameter from connect.inc
 - use proper UEXPECTF
 - have 'print "done!"' or similar at the end to detect crashes
 - whitespace changes where needed
 - take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
2007-07-12 20:38:26 +00:00
Ulf Wendel
5ccab692dd Pretty much the same cosmetics and tweaking as before (proper UEXPECTF,
"done!" at the end to detect crashes, connection parameter tweaking, ...) -
plus: check return codes even if failures are unlikely.
2007-07-12 20:34:50 +00:00
Ulf Wendel
1d0b5d303b More typical changes:
1) Try to have portable SQL, don't create your own schema unless the test
   wants to test exactly this
2) Don't rely on default SQL sort orders
3) Use proper UEXPECTF. There have been a lot of tiny unicode issues when
   ext/mysqli has returned a binary string in unicode mode although a
   unicode string could be expected and vice versa
2007-07-12 20:31:18 +00:00
Ulf Wendel
984756c898 All the upcoming changes in the 0*.phpt files are pretty much the same. I'll
describe them only once in with a bit of detail.

1) Correct Whitespace (space vs. tab) if need be
2) Recall: you get the connection parameter from connect.inc, no DB name, no
   port no other connection parameter in any of the tests!
3) At the end of each test you find a "print 'done!'" or similar. This is
   most helpful to detect crashing/segfaulting tests with all run-tests.php
   versions.
2007-07-12 20:28:25 +00:00
Ulf Wendel
ed4021d857 Adding tests for mysqli_affected_rows() and mysqli_autocommit() 2007-07-12 20:20:57 +00:00
Ulf Wendel
b5595d57c5 Some of the upcoming new tests will use this little helper to create a
very simple MySQL table with some data in it to play with.
2007-07-12 20:10:23 +00:00
Ulf Wendel
e48a29bb4d Some tests intentionally fail connecting to the DB. Not being able to
connect is no reason to skip the test. Also, no test should have hard-wired
connection parameter in it. Connection parameters come from connect.inc
(see environment variables in connect.inc).
2007-07-12 20:07:05 +00:00
Ulf Wendel
6fff9f4534 Starting to merge the latest set of ext/mysqli tests from the mysqlnd
SVN repro into HEAD. Again, it might happen that I crash the set of tests
and don't mention one or the other change while merging. Blame me...

1) Note the new environment variables to control the test run
2) Variables $IS_MYSQLND and $MYSQLND_VERSION are for writing portable tests
3) sys_get_temp_dir function is for PHP5/PHP6 portability
2007-07-12 20:04:17 +00:00
Derick Rethans
b49f733c6a - Commit generated file. 2007-07-12 18:59:35 +00:00
Derick Rethans
d43b79f12b - Missing file in commit. 2007-07-12 18:58:48 +00:00
Derick Rethans
1e096be0b3 - Fixed bug #41964 (strtotime returns a timestamp for non-time string of
pattern '(A|a) .+').
- Fixed bug #41844 (Format returns incorrect number of digits for negative
  years -0001 to -0999).
- Fixed bug #41842 (Cannot create years < 0100 & negative years with
  date_create or new DateTime).
- Fixed bug #41709 (strtotime() does not handle 00.00.0000).
- Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30).
2007-07-12 18:56:42 +00:00
Jani Taskinen
261c38876a fix test 2007-07-12 17:43:34 +00:00
Jani Taskinen
174c1c5329 - Removed unnecessary stuff 2007-07-12 16:08:26 +00:00
Ulf Wendel
33c87b15d8 1) Whitespace/CS
2) Playing with column aliases
2007-07-12 16:04:15 +00:00
Ulf Wendel
d649c2e820 Testing SELECT "a" AS "". This is nice to test strcmp() and similar... 2007-07-12 16:03:10 +00:00
Seiji Masugata
498c2e08f1 Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 15:28:37 +00:00
Antony Dovgal
dc9d1c16a0 fix MINFO handler 2007-07-12 15:07:32 +00:00
Ulf Wendel
e8ed078f81 Blame me for not checking in a version that's been cleaned up with
regards to Whitespace/CS...
2007-07-12 14:24:53 +00:00
Ulf Wendel
2135a5b3f6 Whoever has hacked this function into ext/mysql, here's a "test" for it. 2007-07-12 14:23:56 +00:00
Ulf Wendel
9744d3f9a3 Checking the phpinfo() entries of ext/mysql 2007-07-12 14:22:47 +00:00
Ulf Wendel
d452938ee8 Adding test for mysql_list_tables() 2007-07-12 14:22:15 +00:00
Ulf Wendel
625c02c844 Checks if ext/mysql exposes all constants it should expose. 2007-07-12 14:01:12 +00:00
Ulf Wendel
2d1c3ec2c9 No skipping needed anymore, function is there even with mysqlnd. 2007-07-12 13:58:41 +00:00
Ulf Wendel
e6e029e399 A bit more verbose message in case of problems. It's been helpful to
debug a cross-server version issue.
2007-07-12 13:57:36 +00:00
Ulf Wendel
94e0e4c322 1) Whitespace/CS
2) Fixing [U]EXPECTF to be portable among different MySQL Server versions
2007-07-12 13:50:51 +00:00
Ulf Wendel
894e5c6a5b 1) Whitespace/CS
2) Added test for default link
2007-07-12 13:44:00 +00:00
Ulf Wendel
a6a5638dd3 1) Whitespace/CS
2) Added: skip test with mysqlnd, mysqlnd does not support this function
currently
2007-07-12 13:35:16 +00:00
Ulf Wendel
fd45bad4c8 1) Whitespace/CS
2) Added check for default connection
2007-07-12 13:31:27 +00:00
Ulf Wendel
3809493bd7 1) Whitespace/CS
2) Fixing [U]EXPECTF to accept whatever db/schema name gets used for the
test run
2007-07-12 13:27:26 +00:00
Jani Taskinen
c4e82d3cb9 MFB: fix warning 2007-07-12 12:12:30 +00:00
Jani Taskinen
08c67fa3c4 - Added test for bug #41815 2007-07-12 11:07:29 +00:00
Ulf Wendel
0ccc7d618f 1) Whitespace/CS
2) Tiny check for default link added
2007-07-12 10:52:23 +00:00
Ulf Wendel
063987fed5 1) Whitespace/CS
2) Portability: don't expect any values and have them in the [U]EXPECTF,
if they will be available only with certain MySQL Server versions.
2007-07-12 10:47:00 +00:00
Ulf Wendel
da36f2be2a 1) Whitespace/CS
2) One line added to test default connection
2007-07-12 10:30:03 +00:00
Ulf Wendel
78628dad2a 1) Whitespace/CS
2) Test mysql.default_socket only if we're using a socket to connect
2007-07-12 10:25:40 +00:00
Ulf Wendel
e58bb46329 Whitespace/CS only 2007-07-12 10:18:14 +00:00
Antony Dovgal
e13c58d14e fix ws, cs and folding 2007-07-12 10:04:42 +00:00
Antony Dovgal
a819499088 fix WS, CS and other S 2007-07-12 09:55:41 +00:00
Antony Dovgal
469e93ef35 fix test 2007-07-12 09:26:28 +00:00
Antony Dovgal
86c819cede fix #41970 (call_user_func_*() leaks on failure) 2007-07-12 09:19:04 +00:00
Jani Taskinen
4c3970500d - Changed all AC_ARG_* options to PHP_ARG_* options. 2007-07-11 23:10:46 +00:00
Antony Dovgal
5a4d3c651b check PHP version only when enabled
and replace tabs with spaces
2007-07-11 22:15:44 +00:00
Antony Dovgal
0a0b078746 implement (or fix?) #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes) 2007-07-11 22:03:59 +00:00
Jani Taskinen
b394a74797 - Removed unused empty macro and nuked illegal use of $withval 2007-07-11 21:51:10 +00:00
Zoe Slattery
fb148e4953 More reflectionClass tests 2007-07-11 20:16:43 +00:00
Johannes Schlüter
c91907a515 - Always enable mail() function 2007-07-11 17:39:04 +00:00
Dmitry Stogov
d3a6deb076 Unicode support 2007-07-11 16:47:30 +00:00
Dmitry Stogov
bf16e86999 Unicode support 2007-07-11 15:52:44 +00:00
Ulf Wendel
dcf91469db Whitespace/CS only 2007-07-11 15:51:48 +00:00
Ulf Wendel
cf0231da96 Whitespace/Coding Standards and check added for default connection. 2007-07-11 15:49:32 +00:00
Ulf Wendel
c1ab1512fd Whitespace only 2007-07-11 15:47:38 +00:00
Johannes Schlüter
c853428779 Fix test for unicode mode 2007-07-11 15:46:20 +00:00
Ulf Wendel
7ff686d786 Whitespace and more testing. 2007-07-11 15:26:07 +00:00
Ulf Wendel
90ad13cca1 Whitespace and new checks for default connection. 2007-07-11 15:17:47 +00:00
Ulf Wendel
d552edf5e8 Whitespace only 2007-07-11 15:13:10 +00:00
Ulf Wendel
3f0339a42c Mainly Whitespace/CS changes. Partly "too many arguments" check added. 2007-07-11 15:07:28 +00:00
Ulf Wendel
21e47c9a03 Whitespace and new "too many arguments" check. 2007-07-11 14:45:53 +00:00