summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_stmt_attr_set.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for max_length in mysqli_fetch_fields()Nikita Popov2020-12-171-3/+3
| | | | | | | | | | | | | | | Retain the field, but always populate it with zero. This was already the case for PS without length updating. max_length has nothing lost in the field metadata -- it is a property of the specific result set, and requires scanning the whole result set to compute. PHP itself never uses max_length with mysqlnd, it is only exposed in the raw mysqli API. Keeping it for just that purpose is not worthwhile given the costs involved. People who actually need this for some reason can easily calculate it themselves, while making it obvious that the calculation requires a full result set scan.
* Rename mysqli parameters to be more logicalLarry Garfield2020-09-271-4/+4
| | | | Closes GH-6172.
* Consolidate the usage of "either" and "one of" in error messagesMáté Kocsis2020-09-201-1/+1
| | | | Closes GH-6173
* 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
|
* Remove checks for old libmysqlclient versions in testsNikita Popov2020-09-171-122/+111
|
* Promote warnings to Error in MySQLi extensionGeorge Peter Banyard2020-09-151-36/+32
| | | | Closes GH-5803
* Reindent phpt filesNikita Popov2020-02-031-237/+237
|
* Promote mysqli warnings to exceptionsMáté Kocsis2020-01-301-2/+6
| | | | Closes GH-5058
* Adjust tests for zpp TypeError changeNikita Popov2019-03-111-16/+1
|
* Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-201-1/+1
| | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* [Bug 75448] In case of failure, mysqli::prepare() returns NULL instead of FALSESergei Morozov2018-02-101-2/+2
|
* Fix for Bug #52686 mysql_stmt_attr_[gs]et arg. points to incorrect typeAndrey Hristov2010-10-061-0/+6
|
* Fixing mysqli_stmt_attr_set @ libmysqlUlf Wendel2010-05-311-8/+5
|
* Making test a bit more portableUlf Wendel2009-10-201-6/+10
|
* 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...
* Fixing testUlf Wendel2009-09-291-3/+5
|
* Fix mysqli_stmt_attr_set in libmysql mode.Andrey Hristov2009-09-251-2/+2
| | | | | | | mysql_stmt_attr_set returns my_bool instead of int. If it was int, then 0 is success and !0 is failure, but for my_bool 0 (FALSE) is failure and !0 is success.
* Not nice but neither the MySQL Client Library not mysqlnd are supposed to ↵Ulf Wendel2009-09-211-3/+4
| | | | detect invalid flags. Therefore: fixing test
* Adding --CLEAN-- sections to all ext/mysqli testsUlf Wendel2009-07-061-0/+4
|
* 1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6. 2) Merging a ↵Ulf Wendel2009-05-281-1/+1
| | | | couple of fixes I applied to PHP 5.3 only yesterday. The changes should make it a little easier to do MFH and follow the rules in the future as we will soon have identical tests for PHP 5_3 and HEAD.
* More changes = synching HEAD with 5_3Ulf Wendel2007-10-101-10/+24
|
* More changes related to MYSQL_TEST_SKIP_CONNECT_FAILURE.Ulf Wendel2007-08-091-2/+5
|
* Damn, Pierre is clever.Ulf Wendel2007-07-231-0/+246
[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 :)