Andrey Hristov
cab531026b
Fix bug#45019 Segmentation fault with SELECT ? and UNION
2008-07-25 12:45:27 +00:00
Dmitry Stogov
013059c247
Fixed uninitialized data
2008-07-25 08:53:11 +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
Andrey Hristov
9f0b69086c
Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
...
and pconn. ext/mysql is being fixed with a better fix for similar leak.
2008-07-22 23:43:14 +00:00
Andrey Hristov
0df974b7a5
MFB :
...
Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 13:01:41 +00:00
Dmitry Stogov
0cfa6a5977
support for closures
2008-07-17 09:52:51 +00:00
Andrey Hristov
73dfa53ca8
Sync with bzr
2008-07-15 13:12:27 +00:00
Andrey Hristov
fd699ce7d3
Fix possible bug with persistent connections
2008-06-24 11:19:07 +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
c931468b88
Update ext/mysql, ext/mysqli and ext/mysqlnd from development tree
2008-04-16 12:53:18 +00:00
Andrey Hristov
212c00cd1a
Fix snapshot build
2008-04-08 07:46:05 +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
46df4529be
Missing lines from the param-bind-non-changing fix
2008-03-20 13:58:46 +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
86cc5d9325
MFB : fix the build
2008-03-18 17:32:03 +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
60869b3e8e
Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
...
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
2008-03-10 20:27:15 +00:00
Johannes Schlüter
e883735e64
Fix typo
2008-03-10 13:38:23 +00:00
Johannes Schlüter
0cd7f31de0
- Fix build with older MySQL
2008-03-10 13:26:15 +00:00
Andrey Hristov
a8e4046c72
- Fix a warning in php_mysql.c
...
- Fixed #44371 Extension compile failed
2008-03-10 09:16:13 +00:00
Andrey Hristov
cd9b7889ec
Bug fixed in MySQL 5.0.46
2008-03-08 15:17:45 +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
Felipe Pena
2818d4fc51
New way for check void parameters
2008-03-04 23:39:15 +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
038a533d65
Fix Windows build. VC doesn't like nested macros - expansion + #if
2008-02-12 22:06:06 +00:00
Johannes Schlüter
35bfb9028f
- Fix build with TSRM and mysqlnd
2008-02-12 20:18:56 +00:00
Antony Dovgal
4a7c24b267
nuke unnecessary TSRMLS_FETCH()
2008-02-12 10:54:27 +00:00
Andrey Hristov
a4c1bc02b7
Fix typo
2008-02-12 10:51:25 +00:00
Andrey Hristov
82ad02f0cd
cvs sync
2008-02-11 16:45:15 +00:00
Andrey Hristov
533618d2a0
Remove dead code
2008-02-08 09:57:01 +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
Dmitry Stogov
42a683d688
Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:56:22 +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
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Ulf Wendel
b9963f50d9
Merge from 5_3. Fixing 32 vs. 64bit issue.
2007-12-28 18:28:21 +00:00