Commit Graph

829 Commits

Author SHA1 Message Date
ULF WENDEL
da541ff561 Cover have_ssl=NO and have_ssl=DISABLED 2012-09-29 18:54:54 +02:00
ULF WENDEL
20e76f4487 Minor changes for MySQL 5.6 2012-09-29 12:10:24 +02:00
Xinchen Hui
1b9e0de2cc Remove executable permission on inc 2012-10-10 10:44:34 +08:00
Xinchen Hui
610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Xinchen Hui
5f9023ca38 Correct PHP version 2012-09-05 23:41:42 +08:00
Xinchen Hui
e5bdd2c0ee Fixed bug #62885 (mysqli_poll - Segmentation fault) 2012-08-22 13:41:47 +08:00
andrey
d4afbd487a Fix for bug#62046
Bug#62046 mysqli@mysqlnd can't iterate over stored sets after call to
mysqli_stmt_reset().

Stmt's state was changed to STMT_PREPARED and leads the driver to think
that the stmt was just prepared. Because result set exist also for only
prepared but not executed sets, the check for stmt->result isn't any good.
There is a result set, because as response for COM_PREPARE the server sends
metadata and metadata is part of a result set. After COM_EXECUTE the server
sends metadata again, which could be different and in this case more correct.
2012-05-16 14:28:55 +02:00
Ulf Wendel
8665e02ccd Test for MySQL version.Variable is deprecated in MySQL 5.6. 2012-03-14 14:55:09 +00:00
Johannes Schlüter
ecf87a96b9 Use correct property ctor, should fix threading issue in bug #55334
# The code was refactored in 5_4/trunk, no need to merge
2012-03-08 12:52:12 +00:00
Johannes Schlüter
512fdb4cc2 Fix bug #61003 mysql_stat() require a valid connection 2012-03-06 00:15:40 +00:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Andrey Hristov
2f0d084ab8 fix for 5.5.19 2011-12-14 19:29:45 +00:00
Andrey Hristov
f16c10898b another fix 2011-12-14 19:28:41 +00:00
Andrey Hristov
536e675bfa fix test 2011-12-14 18:37:49 +00:00
Andrey Hristov
63ded0f5e9 fix test 2011-12-14 18:36:04 +00:00
Andrey Hristov
8a65304a01 fix typo 2011-12-14 17:59:11 +00:00
Andrey Hristov
141905ce54 fix test 2011-12-14 16:27:52 +00:00
Ulf Wendel
0f799cc410 Good to fix something, but don't forget to update tests 2011-11-23 17:30:59 +00:00
Ulf Wendel
1d1d88bec0 Good to fix something, but don't forget to update tests 2011-11-23 17:23:57 +00:00
Ulf Wendel
2bfd24071b Always good to fix something, but don't forget to update tests 2011-11-23 17:01:09 +00:00
Ulf Wendel
b5054a7c7b Fix test 2011-11-23 16:47:22 +00:00
Ulf Wendel
6c1f4e58ce Message can vary depending on server version 2011-11-23 16:38:50 +00:00
Ulf Wendel
09a9df8d59 Skipping with libmysql. If a documentation points to more or less unmaintained wiki contents, I take it as a request to stop testing a feature. Can't tell if I get false positive, hit a bug or not. This is not libmysql testing. Its PHP MySQL API testing. 2011-11-22 16:52:42 +00:00
Johannes Schlüter
2ec0a9c5c8 - Add missing include. 2011-11-14 17:56:33 +00:00
Ulf Wendel
52e836611f Improving test to reflect latest API changes 2011-11-03 17:39:39 +00:00
Andrey Hristov
3701485d97 null the value before usage 2011-10-08 14:48:14 +00:00
Andrey Hristov
48077f321f Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov
7a7b550003 Be consistent, add mysqli::stat property, as equivalent of mysqli_stat().
Fix for Bug #55859 mysqli->stat property access gives error
2011-10-06 11:25:05 +00:00
Xinchen Hui
08201e11fe Fix Bug #55703(PHP crash when calling mysqli_fetch_fields)
Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html
2011-09-17 03:12:23 +00:00
Ulf Wendel
b509ba6dbd This should please gcov.php.net which hits error 1044 instead of 1049. 2011-09-12 15:05:10 +00:00
Ulf Wendel
019e96a7f6 Fix typo. 2011-09-12 13:55:28 +00:00
Ulf Wendel
27c73aa542 Minor issue. Seems to fail the same way on various PHP + MySQL combinations. Setting XFAIL until we fix it. 2011-09-12 13:39:57 +00:00
Ulf Wendel
c4de2c8654 Hits libmysql/MySQL bug, works with mysqlnd 2011-09-12 13:14:16 +00:00
Ulf Wendel
496d6d45e9 Those will fail with MySQL 5.5. Running them because they have unveiled a crash, which has been fixed already. Setting to XFAIL, need to be decide if and/or how the functionality shall be supported. 2011-09-12 12:14:56 +00:00
Ulf Wendel
8ed1dc2fa9 Bug #55653 2011-09-09 12:12:08 +00:00
Christopher Jones
1c809df001 Fix skipifs to match other tests for the case when connection fails 2011-09-08 17:40:15 +00:00
Andrey Hristov
fd4fc39dc9 Fix problems with the unbuffered set detection, for libmysql, which resulted
in always true. Thanks Stas.
2011-09-06 19:52:19 +00:00
Ulf Wendel
cc24c30307 More parenthesis, credits to Nikita Popov 2011-09-06 16:13:03 +00:00
Ulf Wendel
661a69b873 BORK hunting - Fixing SKIPIF 2011-09-06 14:47:57 +00:00
Ulf Wendel
79b605a89b Fix SKIPIF 2011-09-06 13:50:45 +00:00
Ulf Wendel
85e6b8141d Prevent Notice 2011-09-06 13:39:46 +00:00
Ulf Wendel
d6e15cc517 No more test failure for libmysql, http://news.php.net/php.internals/55210 2011-09-05 16:24:40 +00:00
Andrey Hristov
13c5106f43 Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used 2011-09-05 15:29:45 +00:00
Ulf Wendel
864f8106be Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1 2011-09-02 11:06:51 +00:00
Ulf Wendel
248a9a7f4d As of MySQL 5.6.1 the server variable have_innodb is no more. Updating InnoDB check... 2011-09-02 10:38:51 +00:00
Ulf Wendel
65a3b6e0bb MySQL 5.6 update 2011-09-02 09:27:23 +00:00
Ulf Wendel
ec4eb7ab17 Check for LOAD DATA support during SKIPIF 2011-09-01 16:35:13 +00:00
Ulf Wendel
46910fd722 Fix test. First element within the parantheses is a SQL status code. Should please gcov 2011-09-01 14:04:52 +00:00
Ulf Wendel
3c15d50c80 Fixing tests debug output 2011-09-01 13:37:49 +00:00
Ulf Wendel
3eb3eb406e Check if MySQL server supports SSL and, if using mysqlnd, check if PHP streams will support SSL 2011-09-01 13:17:16 +00:00