Andrey Hristov
983f575f22
Asynchronous queries for mysqli, when mysqlnd is enabled.
...
Includes 4 tests for mysqli_poll
2008-11-18 16:54:38 +00:00
Johannes Schlüter
96b3cd0a64
Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement is
...
executed)
2008-10-27 17:20:26 +00:00
Andrey Hristov
7d9744ae61
Fix tests
2008-10-27 14:33:09 +00:00
Andrey Hristov
722b9135d9
Fix for bug#46019 MySQLi::init() leaks memory
2008-09-19 11:35:37 +00:00
Antony Dovgal
2285d87ced
fix test
2008-09-18 08:40:20 +00:00
Antony Dovgal
a46a628c7d
clean up garbage
2008-08-26 11:05:59 +00:00
Antony Dovgal
cdf442f043
fix typo
2008-08-26 10:59:03 +00:00
Andrey Hristov
cab531026b
Fix bug#45019 Segmentation fault with SELECT ? and UNION
2008-07-25 12:45:27 +00:00
Andrey Hristov
613e045ae8
Added test file
2008-07-24 14:17:27 +00:00
Andrey Hristov
40267cdcf8
Fixed bug#44897 - failed to prepare statement
...
After a PS "CALL()" we have at least one result set. If the SP does also some, then
we need to clean the wire more fool-proof.
2008-07-23 14:06:31 +00:00
Dmitry Stogov
0cfa6a5977
support for closures
2008-07-17 09:52:51 +00:00
Andrey Hristov
5da78b297b
Update ext/mysql's and ext/mysqli's tests
...
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
2008-04-24 14:04:58 +00:00
Andrey Hristov
1bf96fdf5c
MFB : Fix for Bug #43832 mysqi_get_charset() doesn't expose charset comment
2008-03-25 18:28:13 +00:00
Andrey Hristov
9732763eca
Small fix and a test case to prove it
2008-03-20 15:34:09 +00:00
Andrey Hristov
0e884df573
- Don't modify the variables which are passed for parameter binding.
...
We need to clone them, if there will be a transformation (convert_to_xxx)
which will change the origin.
- Make mysqlnd more compatible to libmysql, in this case if the execute of
a statement fails set the state of the statement back to PREPARED
- A test case to check the case of a failing statement.
2008-03-20 13:25:49 +00:00
Andrey Hristov
e53f44b9bd
MFB - Bug #44352 mysqli_connect_error() false negative for host errors
2008-03-18 16:58:43 +00:00
Andrey Hristov
f20d47c541
MFB:
...
- Fixed problem with $mysqli->connect() not connecting with defaults
- Fixed leak (#39475 )
2008-03-08 15:16:08 +00:00
Andrey Hristov
237e147191
Fix test. Now passes.
2008-02-20 18:28:37 +00:00
Andrey Hristov
d5aaeda6e4
Fix a failing test
2008-02-19 17:22:05 +00:00
Andrey Hristov
7b0625865b
Fix a compile warning + test
2008-02-19 15:38:24 +00:00
Andrey Hristov
0c65a68fc9
Fix a bug and a test
2008-02-06 14:11:32 +00:00
Andrey Hristov
bb4051d480
Fix test
2008-02-06 13:01:30 +00:00
Andrey Hristov
ac3d36818f
Pconnect working with mysqli_real_connect()
2008-02-06 11:35:44 +00:00
Andrey Hristov
cfcf16f0f7
Fix a leak and memory warning.
2008-02-04 17:32:43 +00:00
Andrey Hristov
6d9fdbce50
MFB:
...
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:54:21 +00:00
Andrey Hristov
18c8e6501b
MFB: 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:27:49 +00:00
Ulf Wendel
dd8bda11f8
Those functions have been deprecated and removed. We'll test them only internally
...
but not bother php.net with it. Unless you really want to have tests for deprecated
and removed functionality...
2008-01-08 13:18:46 +00:00
Ulf Wendel
96c63a378e
Looks more than it is. Its whitespace, adding error handling in a few places,
...
changing SQL statement formatting etc. No "real" changes.
2008-01-08 12:43:08 +00:00
Ulf Wendel
d435cd76df
Added:
...
mysqli_fetch_assoc_zerofill.phpt
checks for UNSIGNED ZEROFILL
mysqli_stmt_bind_result_zerofill.phpt
checks for UNSIGNED ZEROFILL
mysqli_stmt_bing_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:17:13 +00:00
Ulf Wendel
6b0e5b66fb
Fix for Bug #43036
2008-01-04 09:00:35 +00:00
Ulf Wendel
ba1f8fba1d
Remove test for deprecated (and removed) function
2008-01-03 17:20:19 +00:00
Johannes Schlüter
584a7c7be8
- Remove more replication stuff
2008-01-03 14:32:52 +00:00
Ulf Wendel
60be62b781
Make it work for MySQL 6.x as well.
2008-01-03 10:19:02 +00:00
Ulf Wendel
b9963f50d9
Merge from 5_3. Fixing 32 vs. 64bit issue.
2007-12-28 18:28:21 +00:00
Ulf Wendel
4ba70f548c
Merge from 5_3 - MySQL 6.0 SQL fixes
2007-12-28 18:19:17 +00:00
Andrey Hristov
d265efd570
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:38:23 +00:00
Ulf Wendel
5e64d2273e
Sync from 5_3. Cutting off a few edges:
...
- use connection parameter from environment variables
- check if MySQL supports procedures
- whitespace
2007-12-28 14:51:26 +00:00
Hartmut Holzgraefe
229919cb55
Fix for bug #42548 "PROCEDURE xxx can't return a result set"
2007-12-25 18:23:07 +00:00
Jani Taskinen
f8314496a2
Fix bug headers
2007-10-30 12:06:28 +00:00
Jani Taskinen
ecdea3117a
fix test
2007-10-29 09:03:39 +00:00
Ulf Wendel
572648d585
Now HEAD should be fine: skip test (by default), if DB connect fails.
2007-10-12 12:40:04 +00:00
Ulf Wendel
7db84d5bcf
Fixing test.
2007-10-12 11:52:27 +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
2027c85be2
Fixing tests.
2007-10-12 11:46:41 +00:00
Ulf Wendel
63103cdbc6
Should be the last commit for HEAD. Now HEAD and 5_3 should have the latest
...
set of ext/mysqli tests. On Linux 32bit we've about 10 tests failing.
Before the commit we had about 20 tests failing with HEAD.
2007-10-10 10:54:02 +00:00
Ulf Wendel
fc13e57d0f
More changes = synching HEAD with 5_3
2007-10-10 10:51:34 +00:00
Ulf Wendel
2dd1b35a85
Commiting changes into HEAD = synching with 5_3
2007-10-10 10:49:00 +00:00
Ulf Wendel
2df3cea685
More updates to the ext/mysqli tests in HEAD = synching with 5_3
2007-10-10 10:46:06 +00:00
Ulf Wendel
eefce01f8d
Adding new tests = making sure we're in sync with the 5_3 branch
2007-10-10 10:43:39 +00:00
Nuno Lopes
fc86edab7d
fix typo in tmp file path
2007-08-11 15:38:34 +00:00