Kalle Sommer Nielsen
69a3575b38
Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)
2011-01-07 18:25:55 +00:00
Andrey Hristov
5549e066f2
Proper fix for
...
Bug #53503 mysqli::query returns false after successful LOAD DATA query
which fixes als #56349 , same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.
2011-01-07 14:22:30 +00:00
Andrey Hristov
cfac5f5b67
extending the API interface - plugins can register
...
themselves with a structure and can be searched.
Every plugin can have statistics and they are shown
under the statistics of mysqlnd in MINFO.
2010-12-28 15:16:21 +00:00
Kalle Sommer Nielsen
7456f1d8f8
Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA query)
2010-12-12 16:17:50 +00:00
Andrey Hristov
7ff7f9780e
fix test after newly introduced constant
2010-12-02 19:11:41 +00:00
Ulf Wendel
1891feac44
Testing for the two new statistics 'bytes_received_real_data_normal' and 'bytes_received_real_data_ps'
2010-11-12 12:21:35 +00:00
Andrey Hristov
bcb4c8427e
two new stats
2010-11-05 20:07:34 +00:00
Andrey Hristov
1f9cf93cac
Fix for Bug #52686 mysql_stmt_attr_[gs]et arg. points to incorrect type
2010-10-06 11:11:02 +00:00
Andrey Hristov
9d6fa31713
fix the test
2010-09-29 11:40:57 +00:00
Andrey Hristov
6a43b14849
Fixed bug #45921 (Can't initialize character set hebrew)
...
sorry for committing it separated
2010-09-27 12:37:23 +00:00
Ulf Wendel
1ab38567b9
Let's try not to have 'uft8'-only tests and avoid setting the charset upon connect. I've changed the tests to make no assumptions on the server charset setting. var_dump()/EXPECTF tests got replaced with dynamic tests which try to take the current charset into account.
2010-09-23 15:08:43 +00:00
Andrey Hristov
1af3e68880
Unify, force one charset at connect, thus fixing
...
test failures because different servers have different
system charsets.
2010-09-22 18:25:33 +00:00
Ulf Wendel
44fba4d934
Test update for sql_mode = ansi
2010-09-22 15:22:22 +00:00
Andrey Hristov
c0528261d7
update tests
2010-09-22 11:09:29 +00:00
Ulf Wendel
10974d77f4
Trying to pimp gcov.php.net code coverage tests.. trying to cover mysqlnd compress code with a standard test run
2010-09-20 19:01:13 +00:00
Ulf Wendel
f7c54d0737
Align test to the style used in the other tests
2010-09-20 18:26:11 +00:00
Ulf Wendel
579b5f2d63
No reason not to run the tests with libmysql. Its long, long ago that pconnect has been a mysqlnd only feature
2010-09-20 17:26:39 +00:00
Andrey Hristov
e389303ef3
add test case for 52891
2010-09-20 09:02:31 +00:00
Ulf Wendel
d1f40f7439
Fix test failure. Add new test for MYSQLI_OPT_INT_AND_FLOAT_NATIVE mysqlnd feature.
2010-09-02 14:57:38 +00:00
Ulf Wendel
42fea46887
Adding MYSQLI_OPT_SSL_VERIFY_SERVER_CERT for use with mysqli_options().
2010-08-30 16:59:10 +00:00
Ulf Wendel
db9667d2a5
Test for http://bugs.mysql.com/bug.php?id=49406 , Binding params doesn't work when selecting a date inside a CASE-WHEN
2010-08-26 13:35:20 +00:00
Andrey Hristov
277c7d4dea
Added utf16 and utf32 support, as in MySQL 5.5, in mysqlnd.
...
Fixed tests, so they don't try to use SET NAMES utf16|utf32,
as character_set_client can't be set to those (the lexer can't
read ucs2, utf16 and utf32).
Added support for 4-byte utf8, as found in MySQL 5.5
2010-08-16 17:44:50 +00:00
Andrey Hristov
5d54d79e04
Fix test, so it doesn't fail with MySQL 5.5, where InnoDB
...
is the default engine
2010-08-16 16:15:15 +00:00
Andrey Hristov
3ed9d8fd85
detect easily which charset doesn't work
2010-08-16 16:13:55 +00:00
Andrey Hristov
d7b72a0494
Fix for bug #52433 Call to undefined method mysqli::poll()
2010-08-13 09:18:06 +00:00
Andrey Hristov
4dece1a2a9
update tests
2010-07-07 15:53:34 +00:00
Andrey Hristov
b580bc3875
Cleanup in trunk. Remove some functions, noted in
...
UPGRADING. sed-ed the tests to change the usage
to the real function name.
2010-07-07 12:09:36 +00:00
Andrey Hristov
6900399d7e
Arginfo for mysqli
2010-07-07 11:36:29 +00:00
Andrey Hristov
c7f10efabc
Fix for bug #52115 mysqli_result::fetch_all returns null, not an empty array
2010-06-18 17:25:41 +00:00
Andrey Hristov
2f838ef547
Fix the test for libmysql, which expects the certificates
...
to be in the directory where the interpreter is started. When
using mysqlnd they should not include path and will be found
in the directory of the script.
2010-06-14 18:23:17 +00:00
Andrey Hristov
65b1895759
Fixed bug #52082 (character_set_client & character_set_connection reset after
...
mysqli_change_user())
libmysql >= 5.1.23 will PASS, older library versions will fail
2010-06-14 17:16:20 +00:00
Ulf Wendel
6c0ddd0b6f
Fixing tests
2010-06-10 13:40:13 +00:00
Ulf Wendel
01a9630946
Portability improvement
2010-06-08 14:57:10 +00:00
Ulf Wendel
0484919f62
Portability improvements
2010-06-08 14:29:05 +00:00
Ulf Wendel
7b27887091
More SQL strict mode updates
2010-06-08 13:05:49 +00:00
Ulf Wendel
949b509299
Making tests pass strict sql mode.
2010-06-08 10:55:12 +00:00
Andrey Hristov
8fc1e91e61
Fix test
2010-05-31 16:53:33 +00:00
Ulf Wendel
73a32c52d2
Updating test to reflect the latest and more verbose mysqlnd error messages, updating mysqlnd error message as well.
2010-05-31 13:56:42 +00:00
Ulf Wendel
31aada825f
Fixing test - make sure it checks the same conditions for libmysql and mysqlnd
2010-05-31 12:55:59 +00:00
Ulf Wendel
c96feb3dda
Fixing test
2010-05-31 12:22:48 +00:00
Ulf Wendel
f0446ca9e3
Fixing mysqli_stmt_attr_set @ libmysql
2010-05-31 12:10:04 +00:00
Ulf Wendel
cc3db5cc65
Open server bug: mysqlnd works around it, libmysql fails. Let's skip because MySQL Server version tests are tricky and error prone.
2010-05-27 13:01:17 +00:00
Ulf Wendel
b094e5296b
Test fixes and updates to work with a wider range of MySQL server configs
2010-05-27 12:09:39 +00:00
Andrey Hristov
44acaec542
Fix test
2010-05-26 13:36:49 +00:00
Andrey Hristov
f9ad56eab9
Remove a function that has no usage. The zval cache was disabled/removed
...
in 5.3.0-RC3.
2010-05-26 13:30:19 +00:00
Andrey Hristov
560169068d
Update test file
2010-05-18 11:36:54 +00:00
Andrey Hristov
7dd13d56cc
Add iterator to mysqli_result. Works both for :
...
- USE_RESULT, can be iterated only once, kind of forward iterator
- STORE_RESULT, can be iterated multiple times
2010-05-18 10:39:26 +00:00
Andrey Hristov
6cefa510d6
Better fix for #51605
2010-05-13 11:05:09 +00:00
Andrey Hristov
70b6fd2ae4
One more time fixing the tests, lets use $IS_MYSQLND which comes from connect.inc
2010-05-11 15:55:07 +00:00
Andrey Hristov
cab261ea16
Fix for mysqli_stmt_execute.phpt, should be ran only against
...
4.1+ servers. MySQL's SLEEP function is available since 5.0.12, thus
the tests that use this function should be ran only if the server
is at least 5.0.12.
2010-05-11 15:49:03 +00:00