summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests
Commit message (Collapse)AuthorAgeFilesLines
* MFH - Fixing tests - messages/warnings can vary by versionUlf Wendel2009-05-292-2/+2
|
* MFH - Updating test to reflect API changes.Ulf Wendel2009-05-291-9/+13
|
* MFH - Skip test for libmysql. The MySQL C-API does not support it, mysqlnd ↵Ulf Wendel2009-05-291-2/+8
| | | | does...
* MFH - 1) The wording of a message can differ by version and by libmysql vs. ↵Ulf Wendel2009-05-292-2/+2
| | | | mysqlnd. 2) %i is better than %s
* MFH - Behaviour is undefined with libmysql, accept whatever libmysql may ↵Ulf Wendel2009-05-291-1/+5
| | | | return. With mysqlnd you get the defined value of -1 to indicate 'no value'.
* MFH - 'Fixing' test to reflect a libmysql vs. mysqlnd difference. With ↵Ulf Wendel2009-05-291-2/+7
| | | | libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself.
* MFH - Another detail where mysqlnd is superior than libmysql. The ↵Ulf Wendel2009-05-291-6/+15
| | | | mysql_info() 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
* MFH: Weaker test - libmysql/server error messages can differ by versionUlf Wendel2009-05-291-6/+6
|
* MFH - Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is ↵Ulf Wendel2009-05-291-5/+6
| | | | set. There is probably no proper way to check this condition in the user land.
* MFH - Skip when using libmysql. Likely a regression bug - ↵Ulf Wendel2009-05-291-7/+8
| | | | http://bugs.mysql.com/bug.php?id=45184
* MFH:The option has changed the name, hence we change the testAndrey Hristov2009-05-292-4/+4
|
* MFH - Asynchronous queries are mysqlnd only. If you want them with libmysql, ↵Ulf Wendel2009-05-281-0/+3
| | | | ping JimW who works on Connector/C.
* MFH - Andrey needs to have a look at this one. The bug report itself is ↵Ulf Wendel2009-05-281-0/+31
| | | | bogus. However, the bug report shows a result set and that is wrong.
* MFH:Andrey Hristov2009-05-281-1/+1
| | | | | Forgot to commit this one, of the ANSI_QUOTES fame
* MFH:Fix again the tests for ANSI_QUOTESAndrey Hristov2009-05-286-11/+11
|
* MFH:Fix a valgrind warning as well as more trace log informationAndrey Hristov2009-05-282-2/+3
|
* MFH - I had accidently removed Andrey's path to work with ANSI QUOTES... ↵Ulf Wendel2009-05-2828-64/+67
| | | | fixing what I broke (part 1)
* MFH - what a wonderful word. After the change in HEAD its easy to do a ↵Ulf Wendel2009-05-28132-4197/+1531
| | | | merge. The merge removes all UEXPECTF sections from the old days. Yes, there have been UEXPECTFs in 5_3. I hope PHP 6 won't change again over time... :-)
* MFH:Fix a test, UNSIGNED is expectedAndrey Hristov2009-05-281-2/+2
|
* MFH: Fix failures when the server is running with ANSI_QUOTESAndrey Hristov2009-05-286-12/+12
|
* MFH: Fix tests when the server is running with ANSI_QUOTESAndrey Hristov2009-05-2726-81/+81
|
* Crappy anonymous MySQL user account... trying to make the test more portable.Ulf Wendel2009-05-271-8/+28
|
* The test is bogus as long as there is no (proper) way to detect from the PHP ↵Ulf Wendel2009-05-271-1/+3
| | | | userland if persistent connections do a change user or not. If they do is controlled by define at the moment.
* Testing a little further into the direction of a possible mysqlnd vs. ↵Ulf Wendel2009-05-271-15/+28
| | | | libmysql compatibility break or a libmysql bug. It is not clearly stated in the MySQL C-API documentation what excactly happens on stmt_reset().
* Trying to get test failures down by fixing tests.Ulf Wendel2009-05-274-12/+13
|
* MFH: export mysql_refreshJohannes Schlüter2009-01-223-12/+25
| | | | | | | | | [DOC] This makes mysql_refresh() as described in http://dev.mysql.com/doc/refman/6.0/en/mysql-refresh.html available as mysqli_Refresh() and mysqli->refresh() MYSQLI_REFRESH_BACKUP_LOG is only available when linking libmysql 6.0 or mysqlnd
* MFH: Fix #47050 mysqli_poll() modifies improper variablesJohannes Schlüter2009-01-121-0/+31
|
* MFH Fix #45940 MySQLI OO does not populate connect_error property on failedJohannes Schlüter2009-01-122-3/+13
| | | | | connect
* MFH: Proper ctor usage (Fix #46044)Johannes Schlüter2009-01-075-10/+10
|
* MFH:Andrey Hristov2008-11-188-5/+716
| | | | | | Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
* MFH: Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement isJohannes Schlüter2008-10-271-0/+92
| | | | | executed)
* MFH: Fix an issue with mysqli.default_port not being usedAndrey Hristov2008-10-274-10/+246
|
* MFH:Fix for bug#46019 MySQLi::init() leaks memoryAndrey Hristov2008-09-191-0/+18
|
* fix testAntony Dovgal2008-09-181-2/+2
|
* cleanup garbageAntony Dovgal2008-08-261-0/+1
|
* fix typoAntony Dovgal2008-08-266-10/+10
|
* MFH: Fixed bug#45019 Segmentation fault with SELECT ? and UNIONAndrey Hristov2008-07-251-3/+3
|
* MFH: Added test fileAndrey Hristov2008-07-241-0/+158
|
* MFH: Fixed bug#44897 - failed to prepare statementAndrey Hristov2008-07-231-0/+70
| | | | | | After a PS "CALL()" we have at least one result set. If the SP does also some, then we need to clean the wire more fool-proof.
* Support for closuresDmitry Stogov2008-07-171-0/+65
|
* more fixed testsAntony Dovgal2008-07-133-5/+5
|
* Update ext/mysql's and ext/mysqli's testsAndrey Hristov2008-04-247-21/+131
| | | | | | Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature.
* Small updates & a fix forAndrey Hristov2008-03-251-42/+1
| | | | | Bug #43832 mysqi_get_charset() doesn't expose charset comment
* Small fix and a test case to prove it's rightAndrey Hristov2008-03-201-0/+148
|
* - Don't modify the variables which are passed for parameter binding.Andrey Hristov2008-03-201-0/+151
| | | | | | | | | | We need to clone them, if there will be a transformation (convert_to_xxx) which will change the origin (bug#44390 bind_param / bind_result and Object member variables) - Make mysqlnd more compatible to libmysql, in this case if the execute of a statement fails set the state of the statement back to PREPARED - A test case to check the case of a failing statement.
* Fixed a bunch of bugs reported inAndrey Hristov2008-03-1824-39/+684
| | | | | | | | | Bug #44352 mysqli_connect_error() false negative for host errors From now on the mysqli object doesn't have that magic properties, like error, which were readable but not visible through isset(), property_exists() and var_dump(). All other ext/mysqli classes were fixed too. Now it will be easier to debug mysqli based applications.
* Fix a problem with $mysqi->connect() not working with default values.Andrey Hristov2008-03-081-0/+21
| | | | | Fix a leak, bug#39457
* Fix test. Now passes.Andrey Hristov2008-02-201-13/+13
|
* Fix a failing testAndrey Hristov2008-02-191-1/+1
|
* Fix testAndrey Hristov2008-02-191-0/+12
|