Andrey Hristov
c1d46eb502
MFH:Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x
2009-05-29 13:09:47 +00:00
Kalle Sommer Nielsen
e26710bfc4
Fixed compiler warning again, uint8_t is only available with mysqlnd. This is not affecting HEAD
2009-05-23 02:58:15 +00:00
Ilia Alshanetsky
52f599687a
Fixed build
2009-05-20 13:10:49 +00:00
Kalle Sommer Nielsen
f02ebe4a08
MFH: Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysql
2009-05-20 08:30:12 +00:00
Johannes Schlüter
074b084852
MFH: export mysql_refresh
...
[DOC] This makes mysql_refresh() as described in
http://dev.mysql.com/doc/refman/6.0/en/mysql-refresh.html
available as mysqli_Refresh() and mysqli->refresh()
MYSQLI_REFRESH_BACKUP_LOG is only available when linking libmysql 6.0
or mysqlnd
2009-01-22 21:01:58 +00:00
Johannes Schlüter
7d3d47fa27
MFH: Fixed bug #46653
2009-01-09 14:30:00 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Andrey Hristov
bf20aa12c7
MFH:Fix for bug#46019 MySQLi::init() leaks memory
2008-09-19 11:38:46 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Andrey Hristov
7833cf9f10
MFH: Fixed bug#45019 Segmentation fault with SELECT ? and UNION
2008-07-25 12:46:03 +00:00
Dmitry Stogov
833a2295d1
Support for closures
2008-07-17 09:53:42 +00:00
Andrey Hristov
f4e659d2af
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:22:19 +00:00
Andrey Hristov
de560f3161
MFB: Update CVS from the development tree
2008-04-16 12:57:38 +00:00
Andrey Hristov
6867385d75
- 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
(bug#44390 bind_param / bind_result and Object member variables)
- 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 14:03:30 +00:00
Andrey Hristov
725b31fc6c
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:15:38 +00:00
Andrey Hristov
ff8a310468
Fix a problem with $mysqi->connect() not working with default values.
...
Fix a leak, bug#39457
2008-03-08 14:55:52 +00:00
Andrey Hristov
1caa85a682
Pconnect working with mysqli_real_connect(). To less failing tests.
2008-02-06 11:34:44 +00:00
Hartmut Holzgraefe
3354b3a480
fixed binary arithmetic (MF5.2)
2008-01-01 18:13:14 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +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
Andrey Hristov
6f63004f1a
Fix crash with pconnect
2007-11-09 10:56:28 +00:00
Jani Taskinen
ecb0fb3f0e
MFH:- Fixed invalid handling of float value passed to an integer field on 64bit machine
2007-10-29 09:51:08 +00:00
Antony Dovgal
74f416106c
..and correct macro
2007-10-17 08:19:07 +00:00
Antony Dovgal
780fa84fbd
MFH: use correct dtro and variable for the callback
2007-10-17 08:18:09 +00:00
Antony Dovgal
c9e481590f
avoid double free and use zval_dtor() where neccessary
2007-10-16 13:20:14 +00:00
Antony Dovgal
1ee4146d71
fix build
2007-10-07 08:30:47 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Andrey Hristov
8b9b553aa2
Import mysqlnd
...
Patch ext/mysql and ext/mysqli to support mysqlnd
2007-10-05 21:23:56 +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
Andrey Hristov
38ae7f47c0
Fix build with latest 5.1 sources where gptr is no more.
2007-07-24 09:22:16 +00:00
Andrey Hristov
e1f222858f
Remove dot at the end of the message
2007-06-28 09:07:40 +00:00
Stanislav Malyshev
b925a9248b
Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir
...
or safe_mode is active
2007-06-18 21:51:32 +00:00
Stanislav Malyshev
6e460bab4e
fix crash/leak in bug #38710
2007-03-08 22:49:53 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Hannes Magnusson
3611a3de4a
Fix protos
2006-10-02 07:44:34 +00:00
Georg Richter
67d2992fdc
MFH: fixed error message
2006-09-29 08:40:10 +00:00
Ilia Alshanetsky
305f597696
Improved fix for bug #37671
2006-08-04 22:13:59 +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
Ilia Alshanetsky
63a658ee7a
Fixed bug #37671 (MySQLi extension fails to recognize BIT column).
2006-06-04 14:56:34 +00:00
Georg Richter
10ed7a1e0a
Fix for bug #37620
2006-05-29 05:38:50 +00:00
Andrey Hristov
ac97b77ed9
Don't allocate 2 chunks of memory when one can fit. Reduces memory
...
fragmentation. There is one more place that fragments memory but it will
complicate the ongoing Unicode upgrade of mysqli so leaving it away for now.
2006-05-10 11:53:13 +00:00
Andrey Hristov
818d2b7aee
tweaks and optimizations
...
#tested on 32b and 64b
2006-05-08 15:06:51 +00:00
Georg Richter
0944a47107
fixed bigint conversion on windows platforms
2006-04-05 12:17:08 +00:00
Andrey Hristov
0b02327267
kill the left unused variable
2006-03-26 21:10:13 +00:00
Andrey Hristov
dfd5b4fbf4
remove unnecessary memcpy, cast directly
2006-03-26 21:08:41 +00:00
Georg Richter
b3a437fcc4
Fix for bug #36802 (server crashes with invalid/not opened connections)
...
Added status to mysqli_resource:
MYSQLI_STATUS_UNKNOWN
MYSQLI_STATUS_CLEARED (for future use)
MYSQLI_STATUS_INITIALIZED (after mysqli_init and mysqli_stmt_init)
MYSQLI_STATUS_VALID (for valid objects)
removed valid flag
changed MYSQLI_FETCH_RESOURCE
added last parameter __check which specifies the status
2006-03-24 09:32:24 +00:00
Georg Richter
829642a0b7
fixed a 64-bit problem reported by Pierre
2006-03-14 15:53:16 +00:00
Georg Richter
e13e2fe9ba
fix for MySQL 5.1 (see http://bugs.mysql.com/?id=16144 )
2006-03-11 11:16:03 +00:00