summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/008.phpt
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Cleanup in trunk. Remove some functions, noted inAndrey Hristov2010-07-071-3/+3
| | | | | | UPGRADING. sed-ed the tests to change the usage to the real function name.
* 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-2/+3
| | | | | 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
* The usual tweaking:Ulf Wendel2007-07-121-13/+20
| | | | | | | | | - 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
* bring tests up-to-date with 5_1 branchAndrey Hristov2006-01-041-0/+1
| | | | | #few are failing and will stop failing when bugfixes are upmerged from 5_1
* 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)
* changed tests (ysqli_bind_param and mysql_bind_result changes)Georg Richter2003-06-281-3/+1
|
* adding a few testsGeorg Richter2003-02-121-0/+53