Andrey Hristov
68d9aac6d2
Remove unneeded cast
2008-11-10 20:04:56 +00:00
Ilia Alshanetsky
e767480c8f
Fixed compiler warnings
2008-11-10 19:03:57 +00:00
Felipe Pena
e006a89e71
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:10:13 +00:00
Andrey Hristov
7e1a12673b
Fix warnings in printf
2008-10-31 20:30:55 +00:00
Andrey Hristov
35829ec7ed
Fix compiler warning (MFB: Ilia)
2008-10-28 10:45:31 +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
526345b3a0
Fix bug found in a test. mysqli.default_port wasn't used
2008-10-27 14:30:51 +00:00
Andrey Hristov
e8e843b39e
Warning if the library API version differs from the headers used to compile.
...
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
2008-10-27 12:07:35 +00:00
Felipe Pena
7eb2715464
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:34:17 +00:00
Pierre Joye
febc0cf611
- MFB: Declarations MUST BE done in the beginning of a context
2008-10-03 16:20:56 +00:00
Andrey Hristov
82310caccb
Fix the libmysql build. Unintentionally broken by my last commit.
2008-09-19 11:39:53 +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
Andrey Hristov
9b48b002f6
Add float conversions too. Float users should understand how float works!!!
2008-09-15 18:07:58 +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
Johannes Schlüter
2888aa20d1
- Fix #45763 (mysqli::multi_query does not work with mysqlnd)
2008-08-11 12:32:47 +00:00
Etienne Kneuss
b8aa44644d
Fix error_handling usage in various extensions
2008-08-08 22:06:42 +00:00
Felipe Pena
611ecc5111
- Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:40:45 +00:00
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