summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli_structs.h
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Remove support for local infile handler in mysqli from 5.5andrey2012-05-031-6/+0
| | | | | | | | | | | | | | This removes the following functions from the API: mysqli_set_local_infile_default() mysqli_set_local_infile_handler() Using these functions is known to be lead to stability problems in mysqli. It was only enabled when compiling against libmysql. mysqlnd doesn't have this support for local infile. However, with mysqlnd it can be emulated by using stream handlers like in: $c->query("LOAD DATA LOCAL INFILE "http://example.com/import.csv" INTO ...") All available protocols, as well as user implemented ones can be added.
* remove dead and unused for more than 8 years codeandrey2012-05-031-6/+0
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* Sorry for the commit but compiler warnings are annoying and so are white ↵Ulf Wendel2010-10-041-4/+4
| | | | | | | | | | | | | | spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown up by white space changes... Changes: - remove end of line white space - fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file" - fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file" - fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"
* Fix for bug #52654 mysqli doesn't install headers with structures it usesAndrey Hristov2010-08-201-220/+5
|
* Fix for bug #52413 MySQLi build failure on OS XAndrey Hristov2010-08-131-0/+4
|
* And a fix for MySQL Server which is pre 5.1.23, which doesn't supportAndrey Hristov2010-06-141-0/+36
| | | | | | preserving of the charset when performing change_user. This is libmysql only code.
* Remove a function that has no usage. The zval cache was disabled/removedAndrey Hristov2010-05-261-2/+0
| | | | | in 5.3.0-RC3.
* Add checks to check the underlying pointer in the resource.Andrey Hristov2010-05-261-0/+21
| | | | | | | | It can happen that the underlying pointer is freed (like in the case of connection reconnect), and then it cannot be allocated anymore, which means that NULL will be used consequently by the functions that fetch the resource and the crash is immediate.
* Add iterator to mysqli_result. Works both for :Andrey Hristov2010-05-181-1/+22
| | | | | | - USE_RESULT, can be iterated only once, kind of forward iterator - STORE_RESULT, can be iterated multiple times
* Somehow missed to commit this, for better fix for #51605Andrey Hristov2010-05-131-1/+1
|
* Fix for bug#50772 Andrey Hristov2010-01-251-0/+2
| | | | | mysqli constructor without parameters does not return a working mysqli object
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Remove stub code which never actually was used for anything.Andrey Hristov2009-12-091-4/+0
| | | | | Things like this can be built on top of the core.
* Remove the zval caching from mysqlnd. It was disabled versions agoAndrey Hristov2009-12-091-4/+0
| | | | | | due to problems on windows, which were not debugged. Better have code that is disabled not in the core.
* Remove disabled code - threaded fetching. This can be implementedAndrey Hristov2009-12-091-3/+0
| | | | | | on a upper level and by offloading it we reduce the complexity of the core.
* Fixing problems when calling connect (again and again) on a valid connection ↵Ulf Wendel2009-10-151-0/+3
| | | | handle. Most of the patch comes from Andrey.
* Fixing a crash which must have existed since PHP 5.0. At least the crash can ↵Ulf Wendel2009-09-111-1/+2
| | | | | | | be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen when using mysqlnd.
* MFH:Andrey Hristov2009-05-271-1/+1
| | | | | Less warnings by usage of proper modifier
* MFH:because we use int64_t we need corresponding printf modifiers. the typeAndrey Hristov2009-05-271-4/+6
| | | | | | can be different on 32 and 64 bit, thus we can't use ld and lld but C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)
* MFH: export mysql_refreshJohannes Schlüter2009-01-221-0/+1
| | | | | | | | | [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
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH:Andrey Hristov2008-11-181-2/+13
| | | | | | Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
* Fix for bug#45179 --with-mysql-sock fails to compile & workAndrey Hristov2008-07-211-0/+7
| | | | | | | 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
* Update ext/mysql's and ext/mysqli's testsAndrey Hristov2008-04-241-0/+2
| | | | | | Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature.
* Fixed a bunch of bugs reported inAndrey Hristov2008-03-181-39/+14
| | | | | | | | | Bug #44352 mysqli_connect_error() false negative for host errors From now on the mysqli object doesn't have that magic properties, like error, which were readable but not visible through isset(), property_exists() and var_dump(). All other ext/mysqli classes were fixed too. Now it will be easier to debug mysqli based applications.
* Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with ↵Andrey Hristov2008-03-101-5/+5
| | | | | | | | different configurations one or the another extension to use libmysql or mysqlnd mixed in one binary
* - Fix a warning in php_mysql.cAndrey Hristov2008-03-101-2/+2
| | | | | - Fixed #44371 Extension compile failed
* Fix a problem with $mysqi->connect() not working with default values.Andrey Hristov2008-03-081-1/+2
| | | | | Fix a leak, bug#39457
* Pconnect working with mysqli_real_connect(). To less failing tests.Andrey Hristov2008-02-061-0/+3
|
* Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)Dmitry Stogov2008-01-301-1/+5
|
* More optimizations - less MM callsAndrey Hristov2008-01-281-0/+3
| | | | | | | | | | 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.
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Remove RPL functions. They were always experimental and lead to crashes.Andrey Hristov2007-12-281-10/+0
| | | | | | The underlying functions will be removed from libmysql as of MySQL 6.0, so it's right time to remove them.
* Fix crash with pconnectAndrey Hristov2007-11-091-3/+1
|
* Move declarations from the public header file.Andrey Hristov2007-10-081-0/+121
|
* Import mysqlndAndrey Hristov2007-10-051-0/+396
Patch ext/mysql and ext/mysqli to support mysqlnd