Ulf Wendel
0f31db8d11
More parenthesis, credits to Nikita Popov
2011-09-06 16:13:03 +00:00
Ulf Wendel
cfb4fa47ad
Prevent Notice
2011-09-06 13:39:46 +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
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
93b501ed61
Test update. 5.4+ throws a catchable fatal error, 5.3 does not.
2011-07-25 14:53:01 +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
Andrey Hristov
7868bca437
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
Ulf Wendel
210353caee
Using require[_once] instead of include. Adding logic to connect.inc to detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result...
2009-10-19 20:07:25 +00:00
Ulf Wendel
8ad273c88e
Replacing MYSQL_TEST_COMPRESS env var with more generic MYSQL_TEST_CONNECT_FLAGS to be able to test all connection flags. Fixing some test.
2009-09-25 10:54:16 +00:00
Ulf Wendel
e123cae8ac
Proxying as many connect calls as possible to make testing of the compression protocol @ mysqlnd easier. By setting the environment variable MYSQL_TEST_COMPRESS you can tell the tests to set the MYSQLI_CLIENT_COMPRESS flag upon connect.
2009-09-24 12:51:03 +00:00
Ulf Wendel
4df1f0d912
Fixing mysqlnd version test to run some four previously skipped tests. There is no proper way to check the mysqlnd version. The best one can do is adapt the tests to what PHP 5.3 and PHP 6.0 return today.
2009-07-06 15:43:59 +00:00
Ulf Wendel
534f770ae2
Trying to make them not fail but skip if they cannot connect to the DB.
2007-10-12 11:51:22 +00:00
Ulf Wendel
1884a16d01
Primarily whitespace/CS - synching with mysqlnd SVN repository
2007-07-23 12:04:19 +00:00
Ulf Wendel
6fff9f4534
Starting to merge the latest set of ext/mysqli tests from the mysqlnd
...
SVN repro into HEAD. Again, it might happen that I crash the set of tests
and don't mention one or the other change while merging. Blame me...
1) Note the new environment variables to control the test run
2) Variables $IS_MYSQLND and $MYSQLND_VERSION are for writing portable tests
3) sys_get_temp_dir function is for PHP5/PHP6 portability
2007-07-12 20:04:17 +00:00
Georg Richter
1432e7b40f
added unicode support for mysqli extension
2006-09-26 13:06:13 +00:00
Hartmut Holzgraefe
eef7cb2d75
make sure embedded server is correctly initialized
2006-07-11 23:41:40 +00:00
Ilia Alshanetsky
00f14fbd74
Slightly more reliable current path detection.
2005-06-22 13:41:59 +00:00
foobar
8d00609794
- We skip tests when the extension is not loaded..in the php.ini
2005-05-09 21:16:49 +00:00
Andrey Hristov
02d0f72596
also test shared builds
2005-05-09 16:23:22 +00:00
Georg Richter
6b49e2d9e7
fixed compile bug under Windows (libmysql.def currently doesn't export mysql_server_init/end).
...
Thanks to Sebastian Bergmann for reporting
2005-01-08 15:11:37 +00:00
Georg Richter
0b4c108bd7
Added new classes:
...
mysqli_driver
mysqli_warning
mysqli_exception
mysqli_sql_exception
Improved embedded server support
changed testsuite to work also with embedded server
Made statement and resultset classes extendable
minor fixes
2005-01-07 14:59:59 +00:00
Georg Richter
bad0ab1576
include file for test
2003-02-13 18:21:37 +00:00