Commit Graph

39 Commits

Author SHA1 Message Date
Ulf Wendel
063987fed5 1) Whitespace/CS
2) Portability: don't expect any values and have them in the [U]EXPECTF,
if they will be available only with certain MySQL Server versions.
2007-07-12 10:47:00 +00:00
Ulf Wendel
da36f2be2a 1) Whitespace/CS
2) One line added to test default connection
2007-07-12 10:30:03 +00:00
Ulf Wendel
78628dad2a 1) Whitespace/CS
2) Test mysql.default_socket only if we're using a socket to connect
2007-07-12 10:25:40 +00:00
Ulf Wendel
e58bb46329 Whitespace/CS only 2007-07-12 10:18:14 +00:00
Ulf Wendel
dcf91469db Whitespace/CS only 2007-07-11 15:51:48 +00:00
Ulf Wendel
cf0231da96 Whitespace/Coding Standards and check added for default connection. 2007-07-11 15:49:32 +00:00
Ulf Wendel
c1ab1512fd Whitespace only 2007-07-11 15:47:38 +00:00
Ulf Wendel
7ff686d786 Whitespace and more testing. 2007-07-11 15:26:07 +00:00
Ulf Wendel
90ad13cca1 Whitespace and new checks for default connection. 2007-07-11 15:17:47 +00:00
Ulf Wendel
d552edf5e8 Whitespace only 2007-07-11 15:13:10 +00:00
Ulf Wendel
3f0339a42c Mainly Whitespace/CS changes. Partly "too many arguments" check added. 2007-07-11 15:07:28 +00:00
Ulf Wendel
21e47c9a03 Whitespace and new "too many arguments" check. 2007-07-11 14:45:53 +00:00
Ulf Wendel
8777568cc2 Whitespace/Coding Standards and new check what happens if one tries to
free not a mysql resource but a file resource.
2007-07-11 14:44:18 +00:00
Ulf Wendel
2af97387bb Whitespace/Coding Standard 2007-07-11 14:41:54 +00:00
Ulf Wendel
dabb012f91 Removing reference to skipifemb.inc which is not needed and
Whitespace/Coding Standards.
2007-07-11 14:36:26 +00:00
Ulf Wendel
3822833c37 Whitespace and the usual suspect: skipifemb.inc 2007-07-11 14:28:22 +00:00
Ulf Wendel
4ec515c660 Whitespace/Coding Standards, removal of skipifemb.inc, improved testing
and checking for expected field types.
2007-07-11 14:11:18 +00:00
Ulf Wendel
857954815f Whitespace and - as usual - removing skipifemb.inc 2007-07-11 14:01:39 +00:00
Ulf Wendel
cbe689d16c Whitespace/Coding Standards, removing reference to skipifemb.inc,
tweaking EXPECTF.
2007-07-11 13:56:37 +00:00
Ulf Wendel
6c353e1046 Whitespace. Removing reference to skipifemb.inc. 2007-07-11 13:51:31 +00:00
Ulf Wendel
30df81aa62 Aside from whitespace / coding standards this one is more interesting.
We added a flag to check if a MySQL column type is a binary type. If so,
ext/mysql should return data for such columns not as unicode strings but
as binary strings if unicode.semantics is on.
2007-07-11 13:36:11 +00:00
Ulf Wendel
b0ac1f0171 Whitespace / Coding Standards 2007-07-11 13:29:41 +00:00
Ulf Wendel
0880484234 1) Whitespace / Coding Standards
2) Don't even dare to have variables that sound like connection parameters and don't come from connect.inc
3) skipifem.inc is not there for ext/mysql tests
2007-07-11 13:22:17 +00:00
Ulf Wendel
8324e16636 Whitespace/Coding Standards.
The tests origin from ext/mysqli/tests. ext/mysqli/tests should have a
skipifemb.inc, which is not needed and not available for ext/mysql/tests.
Nevertheless the tests tried to include that file.
2007-07-11 12:57:57 +00:00
Ulf Wendel
7943e812fb Whitespace/Coding Standards.
Test for default link added.
2007-07-11 12:50:34 +00:00
Ulf Wendel
b9f536333c Those two should be whitespace / coding standards only. However, in some of
my commit messages I might be wrong, it's hard to say what we added to the
tests and I might miss this or that little detail, although I check the diff
before commit.
2007-07-11 12:47:23 +00:00
Ulf Wendel
9ac87ac9dd Should be whitespace/coding standards changes only. 2007-07-11 12:28:46 +00:00
Ulf Wendel
1aa8031a0f Mostly whitespace (replacing spaces with tab). Additional, weak test for
"host:port:socket" syntax, just to make sure we cover the underlying
C code.
2007-07-11 12:26:21 +00:00
Ulf Wendel
4c1181a08a Whitespace: replacing spaces with tab to follow coding conventions.
One tiny change in mysql_close.phpt: don't overrule connection parameter
in any of the tests. Alway take connection parameter, including the database
name ($db), from connect.inc.
2007-07-11 11:57:45 +00:00
Ulf Wendel
5a888bc9bd Trying to fix broken tests. The last set of files committed a few weeks ago
broke almost all tests. I'll try to merge the CVS with a working set of
tests from the mysqlnd development repository. With this first set of
changes most tests should run (and pass) again.

Note the additional environment variables in connect.inc that you can
use to control a test run.

More changes to come.
2007-07-11 11:12:10 +00:00
Antony Dovgal
a9230e2726 fix test 2007-05-29 12:01:14 +00:00
Georg Richter
cdd3e8be92 added testcases for ext/mysql (written by Ulf Wendel) 2006-11-19 12:14:44 +00:00
Hannes Magnusson
e18bb1ce3d Fix/add SKIPIF 2006-06-27 00:09:23 +00:00
Ilia Alshanetsky
8e7b44c7f3 MFB51: Fixed test to work when TCP/IP access to MySQL is disabled or test
server is on a remote machine.
2006-02-06 14:25:28 +00:00
foobar
9f704ce6d1 This is not mysqli, where 5th parameter is port. 2005-06-20 00:16:31 +00:00
Jan Lehnardt
bf807f6d69 - fix typo 2004-02-16 14:41:38 +00:00
Ilia Alshanetsky
1d86ea8851 Added missing skip condition. 2004-01-16 15:16:26 +00:00
Marcus Boerger
3fb99f62e0 Synch mysql_fetch_object with mysqli, sqlite and pgsql 2004-01-12 02:34:55 +00:00
Marcus Boerger
d129242ad5 Add some tests 2004-01-12 02:31:08 +00:00