summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/040.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Reindent more mysqli testsNikita Popov2020-11-251-17/+17
| | | | | Due to a bug in the tidy script, most tests did not actually get reindented...
* Reindent ext/mysqli testsNikita Popov2020-11-251-1/+1
| | | | | | Reindent ext/mysqli tests on PHP-7.4, so they match with the indentation on PHP-8.0. Otherwise merging test changes across branches is very unpleasant.
* Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Using require[_once] instead of include. Adding logic to connect.inc to ↵Ulf Wendel2009-10-191-2/+2
| | | | detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result...
* Proxying as many connect calls as possible to make testing of the ↵Ulf Wendel2009-09-241-2/+2
| | | | 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.
* Adding --CLEAN-- sections to all ext/mysqli testsUlf Wendel2009-07-061-0/+11
|
* Looks more than it is. Its whitespace, adding error handling in a few places,Ulf Wendel2008-01-081-6/+4
| | | | | changing SQL statement formatting etc. No "real" changes.
* Introducing new environment variable:Ulf Wendel2007-08-091-1/+4
| | | | | | | | | | | | | | | | | | | | MYSQL_TEST_SKIP_CONNECT_FAILURE = false Every test that needs a working MySQL connection now includes skipifconnectfailure.inc. If MYSQL_TEST_SKIP_CONNECT_FAILURE evaluates to true skipifconnectfailure.inc tries to establish a database connection. If no connection can be opened, the test will be skipped. In case of MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) an no connection, a test who cannot establish a connection will fail. So, if you have a buggy configuration or a server that is sometimes not available, you can now decide if you want the tests to ignore this and skip the test or to fail (MYSQL_TEST_CONNECT_FAILURE = false, default). Other, minor tweaks: 042.phpt - whitespace 067.phpt - parse error in SKIPIF section fixed
* As usual:Ulf Wendel2007-07-121-3/+5
| | | | | | | - connection parameter tweaking - a bit of whitespace here and there - use UEXPECTF if need be
* added skipif sectionGeorg Richter2004-12-041-0/+2
|
* Fixed bug #30890 (testsuite)Georg Richter2004-12-041-1/+1
| | | | | Fixed bug #28817 (property problems in extended class)
* added new testsGeorg Richter2003-02-121-0/+31