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
Ulf Wendel
ea3ef35f19
Fixing test: it didn't do a select_db and gave a false-positive with libmysql
2009-11-05 11:51:21 +00:00
Ulf Wendel
9bb4db8781
Bail if connect.inc gets included twice. Including twice is most likely a 'bug'. See also http://news.php.net/php.cvs/60720
2009-10-20 08:23:06 +00:00
Ulf Wendel
fbfd13310b
Allow setting of default connection flags through the environment variable MYSQL_TEST_CONNECT_FLAGS
2009-09-28 10:39:42 +00:00
Ulf Wendel
f8156f1607
Trying to skip tests if they can't connect to the DB server.
...
Currently they have failed by default. Note also the environment
variable MYSQL_TEST_SKIP_CONNECT_FAILURE to control the default (skip or fail)
2007-10-12 11:57:18 +00:00
Ulf Wendel
83911a1e5e
Starting to merge the latest set of tests from the mysqlnd development
...
tree into the PHP 5_3 tree.
2007-10-10 09:47:21 +00:00
Marcus Boerger
d129242ad5
Add some tests
2004-01-12 02:31:08 +00:00