Commit Graph

1184 Commits

Author SHA1 Message Date
Andrey Hristov
536e675bfa fix test 2011-12-14 18:37:49 +00:00
Andrey Hristov
3ef71f9726 fix test 2011-12-14 18:36:04 +00:00
Andrey Hristov
727731cf98 fix test 2011-12-14 18:36:04 +00:00
Andrey Hristov
63ded0f5e9 fix test 2011-12-14 18:36:04 +00:00
Andrey Hristov
9033d60caf fix typo 2011-12-14 17:59:11 +00:00
Andrey Hristov
0d2af0c3ee fix typo 2011-12-14 17:59:11 +00:00
Andrey Hristov
8a65304a01 fix typo 2011-12-14 17:59:11 +00:00
Andrey Hristov
e38daffe60 fix test 2011-12-14 16:27:52 +00:00
Andrey Hristov
141905ce54 fix test 2011-12-14 16:27:52 +00:00
Andrey Hristov
e82bbe91c5 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
87a1c1bf47 Fix test 2011-11-23 16:47:22 +00:00
Ulf Wendel
77025b71e1 Fix test 2011-11-23 16:47:22 +00:00
Ulf Wendel
b5054a7c7b Fix test 2011-11-23 16:47:22 +00:00
Ulf Wendel
9475362f99 Message can vary depending on server version 2011-11-23 16:38:50 +00:00
Ulf Wendel
785b68a109 Message can vary depending on server version 2011-11-23 16:38:50 +00:00
Ulf Wendel
6c1f4e58ce Message can vary depending on server version 2011-11-23 16:38:50 +00:00
Ulf Wendel
a6502de5d0 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
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
Ulf Wendel
aeaa4b3da6 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
03a0f9deb4 - Add missing include. 2011-11-14 17:56:33 +00:00
Johannes Schlüter
2ec0a9c5c8 - Add missing include. 2011-11-14 17:56:33 +00:00
Johannes Schlüter
6442fc5b4a - 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
Ulf Wendel
25235313a0 Improving test to reflect latest API changes 2011-11-03 17:39:39 +00:00
Ulf Wendel
58f40c0345 Improving test to reflect latest API changes 2011-11-03 17:39:39 +00:00
Andrey Hristov
6a9feb730f Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.
A step in the direction of keeping internal data private
2011-10-31 11:46:24 +00:00
Andrey Hristov
8fb6bdd5b8 Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.
A step in the direction of keeping internal data private
2011-10-31 11:46:24 +00:00
Andrey Hristov
f926a3c07d Move from directly referencing an aggregated structure to using a
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
2011-10-25 23:01:49 +00:00
Andrey Hristov
845d8fa10c Move from directly referencing an aggregated structure to using a
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
2011-10-25 23:01:49 +00:00
Andrey Hristov
10e4419231 api_ext to reverse_api 2011-10-19 15:04:12 +00:00
Andrey Hristov
efb68d9399 api_ext to reverse_api 2011-10-19 15:04:12 +00:00
Andrey Hristov
103d60fad0 last stat fix 2011-10-10 15:45:56 +00:00
Andrey Hristov
33eb2ab6f1 last stat fix 2011-10-10 15:45:56 +00:00
Andrey Hristov
063162be3a fix test after stat change 2011-10-10 14:39:22 +00:00
Andrey Hristov
c75a4a408b fix test after stat change 2011-10-10 14:39:22 +00:00
Andrey Hristov
e1e147aa4e fix another test after stat change 2011-10-10 14:33:07 +00:00
Andrey Hristov
d4e0ef5dc9 fix another test after stat change 2011-10-10 14:33:07 +00:00
Andrey Hristov
4151194c5a fix test 2011-10-10 14:19:01 +00:00
Andrey Hristov
90ef61d587 fix test 2011-10-10 14:19:01 +00:00
Andrey Hristov
3468180085 fix test 2011-10-10 13:25:45 +00:00
Andrey Hristov
085c3de991 fix test 2011-10-10 13:25:45 +00:00
Andrey Hristov
93d6c4767b fix test 2011-10-10 12:50:09 +00:00
Andrey Hristov
236fb29289 fix test 2011-10-10 12:50:09 +00:00
Andrey Hristov
3701485d97 null the value before usage 2011-10-08 14:48:14 +00:00
Andrey Hristov
069e495b5f null the value before usage 2011-10-08 14:48:14 +00:00
Andrey Hristov
1744885c62 null the value before usage 2011-10-08 14:48:14 +00:00
Andrey Hristov
5b1efc1d87 Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov
00e9a1f942 Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov
48077f321f Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov
eb0f361439 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
Andrey Hristov
26dd8c52c4 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
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
Johannes Schlüter
a53c7127bf - Use the proper variable here. 2011-09-21 12:34:15 +00:00
Johannes Schlüter
679c87e999 - Use the proper variable here. 2011-09-21 12:34:15 +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
Xinchen Hui
212d210ac9 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
Xinchen Hui
26c1a62b34 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
c5523b5689 This should please gcov.php.net which hits error 1044 instead of 1049. 2011-09-12 15:05:10 +00:00
Ulf Wendel
0290718b00 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
078cbac1d2 Fix typo. 2011-09-12 13:55:28 +00:00
Ulf Wendel
1c688e06dd Fix typo. 2011-09-12 13:55:28 +00:00
Ulf Wendel
0024235874 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
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
2472bf8898 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
ca79494000 Hits libmysql/MySQL bug, works with mysqlnd 2011-09-12 13:14:16 +00:00
Ulf Wendel
49e693124f 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
9bbb03391f 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
76879f2cce 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
Xinchen Hui
6b57319cf4 Fixed Bug #55653(PS crash with libmysql when binding same variable as param and out)
Actually this caused by attempt to efree a INTERNED string
2011-09-10 03:51:16 +00:00
Xinchen Hui
5e477ae1f8 Fixed Bug #55653(PS crash with libmysql when binding same variable as param and out)
Actually this caused by attempt to efree a INTERNED string
2011-09-10 03:51:16 +00:00
Ulf Wendel
8ed1dc2fa9 Bug #55653 2011-09-09 12:12:08 +00:00
Ulf Wendel
61384510f1 Bug #55653 2011-09-09 12:12:08 +00:00
Ulf Wendel
6cb483cff8 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
Christopher Jones
de264a62cf Fix skipifs to match other tests for the case when connection fails 2011-09-08 17:40:15 +00:00
Christopher Jones
0a8e670b15 Fix skipifs to match other tests for the case when connection fails 2011-09-08 17:40:15 +00:00
Johannes Schlüter
70561e9a6d - Use myslqnd by default when MySQL extensions are activated but no path given 2011-09-07 13:33:56 +00:00
Johannes Schlüter
bea25b5e55 - Use myslqnd by default when MySQL extensions are activated but no path given 2011-09-07 13:33:56 +00:00
Andrey Hristov
222c5b4a9c Fix problems with the unbuffered set detection, for libmysql, which resulted
in always true. Thanks Stas.
2011-09-06 19:52:19 +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
Andrey Hristov
be89aa686a 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
0f31db8d11 More parenthesis, credits to Nikita Popov 2011-09-06 16:13:03 +00:00
Ulf Wendel
eb16017160 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
257131c0e0 BORK hunting - Fixing SKIPIF 2011-09-06 14:47:57 +00:00
Ulf Wendel
ccd842f912 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
8bc4572b9e Fix SKIPIF 2011-09-06 13:50:45 +00:00
Ulf Wendel
a4fcb5f1bb 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
cfb4fa47ad Prevent Notice 2011-09-06 13:39:46 +00:00
Ulf Wendel
5ec2ee6c4d Prevent Notice 2011-09-06 13:39:46 +00:00
Stanislav Malyshev
fa5f7f61ba use DBUG_ON flag for checking debug
# Some libmysql builds don't define DBUG_OFF and non-debug builds are more frequent
2011-09-06 05:20:05 +00:00
Stanislav Malyshev
153649906c use DBUG_ON flag for checking debug
# Some libmysql builds don't define DBUG_OFF and non-debug builds are more frequent
2011-09-06 05:20:05 +00:00
Stanislav Malyshev
cbbf6bda4c this tests looks mysqlnd only 2011-09-06 05:13:47 +00:00
Stanislav Malyshev
6e0dfc1851 this tests looks mysqlnd only 2011-09-06 05:13:47 +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
Ulf Wendel
ac90fb4287 No more test failure for libmysql, http://news.php.net/php.internals/55210 2011-09-05 16:24:40 +00:00
Ulf Wendel
797ac9ad3e No more test failure for libmysql, http://news.php.net/php.internals/55210 2011-09-05 16:24:40 +00:00
Andrey Hristov
4325a8bffc Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used 2011-09-05 15:29:45 +00:00
Andrey Hristov
5308ed60f3 Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used 2011-09-05 15:29:45 +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
Johannes Schlüter
283b7ad9db Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql) 2011-09-05 13:05:15 +00:00
Johannes Schlüter
2778bd3e11 Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql) 2011-09-05 13:05:15 +00:00
Stanislav Malyshev
7f6f4cc587 test fixes 2011-09-04 04:57:01 +00:00
Stanislav Malyshev
19cbfb42f6 test fixes 2011-09-04 04:57:01 +00:00
Daniel Convissor
1d50d1174c Make test work with database other than "test" (merge from 5.4). 2011-09-04 00:56:38 +00:00
Ulf Wendel
6e3708cc59 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
56a2ff3b00 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
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
893c890d01 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
70b9029d9e 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
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
280c4da0d1 MySQL 5.6 update 2011-09-02 09:27:23 +00:00
Ulf Wendel
7e5d9ae1dd MySQL 5.6 update 2011-09-02 09:27:23 +00:00
Daniel Convissor
d8a41ee031 Make test work with database other than "test". 2011-09-01 19:07:13 +00:00
Ulf Wendel
ec4eb7ab17 Check for LOAD DATA support during SKIPIF 2011-09-01 16:35:13 +00:00
Ulf Wendel
2ae90a11ea Check for LOAD DATA support during SKIPIF 2011-09-01 16:35:13 +00:00
Ulf Wendel
32d69a669e 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
ebc3b34fa0 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
83551a71c4 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
7b9d93d18b Fixing tests debug output 2011-09-01 13:37:49 +00:00
Ulf Wendel
25591bd73e Fixing tests debug output 2011-09-01 13:37:49 +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
Ulf Wendel
0c26509ff0 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
Ulf Wendel
80518dc2f4 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
Johannes Schlüter
f90bead78a - Fix TSRM build 2011-09-01 12:04:54 +00:00
Johannes Schlüter
4eff96b99b - Fix TSRM build 2011-09-01 12:04:54 +00:00
Ulf Wendel
80ec77df04 Simplify mysqlnd debug trace marginally for debugging 2011-09-01 11:48:18 +00:00
Ulf Wendel
5639fc846d Simplify mysqlnd debug trace marginally for debugging 2011-09-01 11:48:18 +00:00
Ulf Wendel
426b388b74 Simplify mysqlnd debug trace marginally for debugging 2011-09-01 11:48:18 +00:00
Ulf Wendel
04b6ce21d2 Hack around http://bugs.mysql.com/62320 2011-09-01 11:27:14 +00:00
Ulf Wendel
9e79833943 Hack around http://bugs.mysql.com/62320 2011-09-01 11:27:14 +00:00
Ulf Wendel
48c1f47979 Hack around http://bugs.mysql.com/62320 2011-09-01 11:27:14 +00:00
Johannes Schlüter
7d25510b1b - Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd 2011-08-31 20:30:08 +00:00
Johannes Schlüter
39b0be5126 - Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd 2011-08-31 20:30:08 +00:00
Ulf Wendel
c05bfdf490 Please, whenever changing the mysqli API update the tests. Don't wait for me to catch up. 2011-08-31 13:59:28 +00:00
Ulf Wendel
6e2664ee88 Please, whenever changing the mysqli API update the tests. Don't wait for me to catch up. 2011-08-31 13:59:28 +00:00
Ulf Wendel
af73e4aab6 Please, whenever changing the mysqli API update the tests. Don't wait for me to catch up. 2011-08-31 13:59:28 +00:00