Ulf Wendel
7f0ec2a127
Test update for sql_mode = ansi
2010-09-22 15:22:22 +00:00
Andrey Hristov
047f0e4d88
update tests
2010-09-22 11:09:29 +00:00
Ulf Wendel
2ff0c392e7
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
7f6d8e53fd
Align test to the style used in the other tests
2010-09-20 18:26:11 +00:00
Ulf Wendel
1a40f20729
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
531085785b
add test case for 52891
2010-09-20 09:02:31 +00:00
Ulf Wendel
0dc0d76854
Fix test
2010-09-15 08:20:15 +00:00
Andrey Hristov
fc2143b993
unify magic quotes handling. Also fix a problem which
...
resulted in a longjmp in debug PHP,because of usage of
zval that is NULL in a hash context.
2010-09-14 16:09:42 +00:00
Ulf Wendel
4789901728
Test for http://bugs.php.net/52221 . Test will fail with mysqlnd but should pass with libmysql.
2010-09-03 14:20:32 +00:00
Ulf Wendel
48814f96ef
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
f671ad6275
Adding MYSQLI_OPT_SSL_VERIFY_SERVER_CERT for use with mysqli_options().
2010-08-30 16:59:10 +00:00
Ulf Wendel
6338f99d52
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
c204922c7f
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
0a9ca62a77
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
4d72dba301
detect easily which charset doesn't work
2010-08-16 16:13:55 +00:00
Andrey Hristov
973e134d2d
Fix for bug #52433 Call to undefined method mysqli::poll()
2010-08-13 09:18:06 +00:00
Andrey Hristov
ce1bd65d29
arginfo for mysqli, was too fast to commit in trunk instead of one
...
directory up, thus the patch was split in two.
2010-07-07 11:37:35 +00:00
Andrey Hristov
5a4a66cdd5
Fix for bug #52115 mysqli_result::fetch_all returns null, not an empty array
2010-06-18 17:25:41 +00:00
Andrey Hristov
0da5464a81
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
1d9c49bb3c
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
afcb62ba1e
Fixing tests
2010-06-10 13:40:13 +00:00
Ulf Wendel
aeae0d1bad
Portability improvement
2010-06-08 14:57:10 +00:00
Ulf Wendel
3e5ac35bd9
Portability improvements
2010-06-08 14:29:05 +00:00
Ulf Wendel
6b1d256af5
More SQL strict mode updates
2010-06-08 13:05:49 +00:00
Ulf Wendel
0fb528edee
Making tests pass strict sql mode.
2010-06-08 10:55:12 +00:00
Andrey Hristov
4cd5db922b
Fix test
2010-05-31 16:53:33 +00:00
Ulf Wendel
c0a8ce2f61
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
9b334da667
Fixing test - make sure it checks the same conditions for libmysql and mysqlnd
2010-05-31 12:55:59 +00:00
Ulf Wendel
fb80ebe102
Fixing test
2010-05-31 12:22:48 +00:00
Ulf Wendel
4b5666a539
Fixing mysqli_stmt_attr_set @ libmysql
2010-05-31 12:10:04 +00:00
Ulf Wendel
ba6ee3fc06
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
6356bcbbb9
Test fixes and updates to work with a wider range of MySQL server configs
2010-05-27 12:09:39 +00:00
Andrey Hristov
0d468290be
Fix test
2010-05-26 13:36:49 +00:00
Andrey Hristov
87bac04bf1
Better fix for #51605
2010-05-13 11:05:09 +00:00
Andrey Hristov
d3b7aaa3fc
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
ab232ebb09
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
Andrey Hristov
fd6f3961f8
These tests should be run only if mysqli uses mysqlnd. Part of fix for
...
Bug #51712 Test mysql_mysqlnd_read_timeout_long must fail on MySQL4
2010-05-11 15:27:03 +00:00
Andrey Hristov
962aa93ec7
Fix for bug #51605 (Mysqli zombie links)
2010-05-11 10:03:16 +00:00
Andrey Hristov
b72437494b
Add a test case for the recently fixed memleak
2010-04-29 13:19:57 +00:00
Andrey Hristov
16e4bd5d58
Try blob columns instead of int, and insert a lot of data at once
2010-04-29 12:07:02 +00:00
Andrey Hristov
3d900d4cad
Fixed very rare memory leak in mysqlnd, when binding thousands of columns
2010-04-27 12:32:34 +00:00
Andrey Hristov
8525f7bb02
Test case for the buffer overflow in mysqlnd_change_user
2010-04-27 08:45:23 +00:00
Andrey Hristov
af6dd192b3
Fix for bug #51647 Certificate file without private key (pk in another file) doesn't work
2010-04-23 13:54:40 +00:00
Andrey Hristov
dd9fc198ce
Fix for bug#49234 method not found ssl_set
...
Patch was tested and compiles on Windows. (Thanks Kalle)
2010-04-15 11:01:30 +00:00
Andrey Hristov
be73f948d2
Fixing the second test
2010-04-08 13:18:52 +00:00
Andrey Hristov
48c3d20dd4
one more fix and both work with libmysql and mysqlnd
2010-04-08 10:53:38 +00:00
Andrey Hristov
48392f04fa
Another fix for the 16 chars user limitation of MySQL
2010-04-07 18:28:46 +00:00
Andrey Hristov
7670d2948d
Fix test. The usernames in the server are 16 chars long
2010-04-07 18:05:42 +00:00
Andrey Hristov
94cd357f5b
Make it coupled - what is allocated with mnd_ should be freed
...
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.
2010-03-29 17:04:16 +00:00
Andrey Hristov
ec36ac1610
Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
...
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode
(ext/mysql and ingres) needs the socket.
Fix possible crashes in mysqlnd. When packets are shorter, functions should
return error.
2010-03-26 16:58:25 +00:00