summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_kill.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate passing null to non-nullable arg of internal functionNikita Popov2021-02-111-2/+1
| | | | | | | | | | | | | | | | | | | | | This deprecates passing null to non-nullable scale arguments of internal functions, with the eventual goal of making the behavior consistent with userland functions, where null is never accepted for non-nullable arguments. This change is expected to cause quite a lot of fallout. In most cases, calling code should be adjusted to avoid passing null. In some cases, PHP should be adjusted to make some function arguments nullable. I have already fixed a number of functions before landing this, but feel free to file a bug if you encounter a function that doesn't accept null, but probably should. (The rule of thumb for this to be applicable is that the function must have special behavior for 0 or "", which is distinct from the natural behavior of the parameter.) RFC: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg Closes GH-6475.
* Rename mysqli parameters to be more logicalLarry Garfield2020-09-271-3/+3
| | | | Closes GH-6172.
* Fix some tests for libmysqlNikita Popov2020-09-181-2/+2
|
* Run tidyNikita Popov2020-09-181-1/+1
| | | | | This should fix most of the remaining issues with tabs and spaces being mixed in tests.
* Remove vestiges of embedded mysql from testsNikita Popov2020-09-171-1/+0
|
* Promote warnings to Error in MySQLi extensionGeorge Peter Banyard2020-09-151-9/+19
| | | | Closes GH-5803
* Reindent phpt filesNikita Popov2020-02-031-42/+42
|
* Merge branch 'PHP-7.4'Derick Rethans2019-06-211-5/+0
|\
| * Fixed bug #67348: Reading $dbc->stat modifies $dbc->affected_rowsDerick Rethans2019-06-211-5/+0
| |
* | Adjust tests for zpp TypeError changeNikita Popov2019-03-111-9/+0
|/
* 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
* Remove more PHP 6 leftovers from testsNikita Popov2016-11-241-32/+32
|
* Fix testUlf Wendel2011-11-231-6/+9
|
* fix test after stat changeAndrey Hristov2011-10-101-0/+2
|
* Add mysqli_error_list() that returns an array with errors. Typically onlyAndrey Hristov2011-08-041-0/+12
| | | | | | | | one and just one for libmysql. mysqlnd can return generate more than one error during its work and with mysqli_error() only the last error is being reported. In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found. The list is reset when the next command is executed
* Adapting tests to accept actual behaviour found in 5.2, 5.3 and 6.0. The ↵Ulf Wendel2009-12-091-1/+1
| | | | behaviour is wrong according to the documentation: mysqli_connect_error() should return an empty string (not NULL), if there is no error. However, changing this would break BC and most users will not notice the difference between NULL and empty string anyway.
* Using require[_once] instead of include. Adding logic to connect.inc to ↵Ulf Wendel2009-10-191-1/+1
| | | | 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/+4
|
* Another detail where mysqlnd is superior than libmysql. The mysql_info() ↵Ulf Wendel2009-05-291-6/+15
| | | | from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189
* Fixing test (its OK in 5_3 and needs to be fixed in HEAD)Ulf Wendel2009-05-281-7/+41
|
* - Removed UEXPECT(F)Felipe Pena2009-01-061-49/+0
| | | | | - Unicodified some tests
* MFB - Bug #44352 mysqli_connect_error() false negative for host errorsAndrey Hristov2008-03-181-2/+36
|
* More changes related to MYSQL_TEST_SKIP_CONNECT_FAILURE.Ulf Wendel2007-08-091-2/+5
|
* Damn, Pierre is clever.Ulf Wendel2007-07-231-0/+93
[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 :)