Commit Graph

38905 Commits

Author SHA1 Message Date
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
0903c79f2a ("0" == NULL) must be false even in Unicode mode 2007-07-13 17:07:02 +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
Antony Dovgal
d9d3c3ca08 fix tests 2007-07-13 15:42:31 +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
Dmitry Stogov
26dcf2f57f Fixed erong compilation for static call to constructor 2007-07-13 08:19:51 +00:00
Jani Taskinen
2bd642c353 - Make sure people call ldap_first_attribute() before ldap_next_attribute() 2007-07-13 02:00:26 +00:00
4cd1594559 ChangeLog update 2007-07-13 01:31:24 +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
Johannes Schlüter
c084da4c8e - Mention [DOC] tag in the README
- PHP_5_1 is closed meanwhile
- Fixed a small typo
2007-07-12 23:44:30 +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
42dbb97d4d fix the configure output 2007-07-12 17:46:14 +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