Commit Graph

139 Commits

Author SHA1 Message Date
Andrey Hristov
2d5e8a1e55 Fix a leak, memory warning and failing test case. 2008-02-04 17:33:46 +00:00
Andrey Hristov
2033c1b7f2 some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.
2008-01-28 22:50:06 +00:00
Andrey Hristov
7932ccba6d More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
2008-01-28 18:25:50 +00:00
Ulf Wendel
c7c7e7f318 MySQL 6 compatibility fix. 2008-01-08 13:16:00 +00:00
Ulf Wendel
b0b510f6e6 Merge from HEAD: looks more than it is. Whitespace, some SQL formatting changes etc.
No "real" changes.
2008-01-08 12:49:42 +00:00
Ulf Wendel
f316766afe MFH
Added:

  mysqli_fetch_assoc_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bind_result_zerofill.phpt
    checks for UNSIGNED ZEROFILL

  mysqli_stmt_bind_param_call_user_func.phpt
    Needs to be refined once http://bugs.php.net/bug.php?id=43568
    has been closed and a decision has been made on call_user_func_array().
    There seems to be a BC break between 5_2 -> 5_3 .
    Johannes has an eye on it

Modified:

  mysqli_change_user_insert_id.phpt
    skip test for buggy MySQL Server versions

  mysqli_insert_id.phpt
    added additional checks
2008-01-04 18:20:53 +00:00
Ulf Wendel
754545d918 MFH: Fix for bug #43036 2008-01-04 09:00:59 +00:00
Ulf Wendel
5dceff0104 MFH: Remove test for deprecated (and removed) function 2008-01-03 17:21:01 +00:00
Johannes Schlüter
32dfad780c - MFH: Remove more replication stuff 2008-01-03 14:33:46 +00:00
Andrey Hristov
98f88d7a97 Remove RPL functions. They were always experimental and lead to crashes.
The underlying functions will be removed from libmysql as of MySQL 6.0, so
it's right time to remove them.
2007-12-28 15:37:52 +00:00
Ulf Wendel
afa5602456 Fixing SQL syntax in this very old test to make it pass with MySQL 6.0 2007-12-28 15:27:38 +00:00
Ulf Wendel
3ca72e6a79 Isn't it nice to get a new 64bit box? Fixing 32bit/64bit issue. 2007-12-28 15:26:17 +00:00
Ulf Wendel
3562e88fa6 Sooner or later these old 0*.phpt tests had to bite us - fixing SQL syntax,
HEAD sync will follow.
2007-12-28 15:06:02 +00:00
Ulf Wendel
8c71dd5df8 Cutting off a few edges:
- use connection parameter from environment variables
 - check if MySQL supports procedures
 - whitespace
2007-12-28 14:50:48 +00:00
Hartmut Holzgraefe
edee094851 MFH: Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2007-12-25 18:55:40 +00:00
Jani Taskinen
7f49f956e8 - Fix bug headers 2007-10-30 12:05:53 +00:00
Jani Taskinen
ae6626e783 MFH: fix test 2007-10-29 09:04:15 +00:00
Ulf Wendel
6c508d2e4d Same as for HEAD: make it skip and not fail if it can't connect to DB 2007-10-12 12:52:56 +00:00
Ulf Wendel
3a11ec8ba1 Same as for HEAD: Trying to skip tests if they can't connect to the
DB server. Note the environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE
to control if you want tests that can't connect to fail or to be skipped.
2007-10-12 12:06:07 +00:00
Ulf Wendel
0c6e832584 Fixing the test. Might the PHP 5.2 run-tests.php have fooled me? I could swear,
I saw this test passing with 5.2 before...
2007-10-10 15:04:59 +00:00
Ulf Wendel
1f651c4051 Version specific EXPECF sections would be wonderful (bug31668.phpt).
And sometimes it helps to read the commit messages to keep tests up to date:
we removed mysqli_set_local_infile_handler() from mysqlnd (061.phpt) some
time ago.
2007-10-10 14:31:28 +00:00
Ulf Wendel
8cc5e47402 Last bunch of new tests. 2007-10-10 10:20:11 +00:00
Ulf Wendel
3a3594d3f1 Adding new tests: mysqli_s*.phpt 2007-10-10 10:18:50 +00:00
Ulf Wendel
5ec98ed1c8 Adding new tests: mysqli_q*.phpt mysqli_r*.phpt 2007-10-10 10:18:29 +00:00
Ulf Wendel
007e650e2e Adding new tests: mysqli_m*.phpt mysqli_n*.phpt mysqli_o*.phpt mysqli_p*.phpt 2007-10-10 10:17:38 +00:00
Ulf Wendel
92256befd5 Adding new tests: mysqli_g*.phpt mysqli_i*.phpt mysqli_k*.phpt 2007-10-10 10:16:00 +00:00
Ulf Wendel
ec08f105b9 Adding new tests mysqli_d*.phpt mysqli_e*.phpt mysqli_f*.phpt 2007-10-10 10:14:38 +00:00
Ulf Wendel
97c82d363f Adding new tests. Again, I'll commit in chunks and try to find acceptable
commit sizes.
2007-10-10 10:13:47 +00:00
Ulf Wendel
5f1fe934ea Test code for bug #42378 2007-10-10 10:11:27 +00:00
Ulf Wendel
636d1b0803 Further changes to regression/bug-verification tests. 2007-10-10 10:10:59 +00:00
Ulf Wendel
af818e3e53 Last set of changes to the classical 0*.phpt - 06*.phpt/07*.phpt 2007-10-10 10:10:14 +00:00
Ulf Wendel
041d506a86 Changes to 04*.phpt, 05*.phpt. 2007-10-10 10:08:29 +00:00
Ulf Wendel
a429f06289 Changes to 02*.phpt, 03*.phpt 2007-10-10 10:07:46 +00:00
Ulf Wendel
4f913a4d4d Changes to all 01*.phpt tests 2007-10-10 10:07:08 +00:00
Ulf Wendel
0a212c12b1 Changes to existing tests: 0*.phpt 2007-10-10 10:06:53 +00:00
Ulf Wendel
326fd449e2 Starting to merge updated set of tests into 5.3. 2007-10-10 10:04:46 +00:00
Andrey Hristov
09fbf87a6c Fixed leaks with multiple connects using one mysqli object.
HEAD will be fixed during the next mysqlnd merge

Fixed failing test for bug38710, 5.0 version is bad, 5.1 is ok.
2007-09-06 10:07:42 +00:00
Andrey Hristov
649152ca49 Fixed bug #42378 (mysqli_stmt_bind_result memory exhaustion)
Fixed regression of bug 38710. Already fixed in HEAD.
#HEAD will be fixed when doing the next merge from svn
2007-09-05 12:36:44 +00:00
Antony Dovgal
ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
foobar
82023f9aac - Fixed test to skip when mysqld is not running 2007-03-25 01:14:51 +00:00
Stanislav Malyshev
1e9fd0f002 add testcase 2007-03-09 18:37:03 +00:00
Hannes Magnusson
0028eccadd Fix tests 2006-12-12 08:09:40 +00:00
Antony Dovgal
b5b8fa4f6b fix test 2006-11-13 12:47:43 +00:00
Ilia Alshanetsky
54032dee04 Fixed test for systems without INFILE/OUTFILE support 2006-09-13 15:52:57 +00:00
Antony Dovgal
1ec10ac8c7 typos in comments and other minor improvements 2006-08-10 13:43:18 +00:00
Georg Richter
0ba0abbd40 Added testcase for bug #37090 2006-07-30 11:03:30 +00:00
Ilia Alshanetsky
fea4eeb845 Added possible failure note. 2006-07-18 00:09:01 +00:00
Ilia Alshanetsky
ab6d4d411a Fixed test for systems where set_charset() method is unavailable. 2006-07-13 15:42:43 +00:00
Antony Dovgal
8a35e9d014 fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) 2006-07-12 09:51:47 +00:00