summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * - WSPierre Joye2011-07-221-2/+2
| |
| * - remove magic quotes support, functions are kept (see the NEWS entry for ↵Pierre Joye2011-07-221-0/+4
| | | | | | | | the details) for BC reasons but do not allow to set enable MQ
* | Remove support for local infile handler in mysqli from 5.5andrey2012-05-031-212/+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.
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-0/+1
| | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
* | api_ext to reverse_apiAndrey Hristov2011-10-191-6/+6
| |
* | - Use the proper variable here.Johannes Schlüter2011-09-211-1/+1
| |
* | use DBUG_ON flag for checking debugStanislav Malyshev2011-09-061-3/+3
| | | | | | | | | | # Some libmysql builds don't define DBUG_OFF and non-debug builds are more frequent
* | Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql)Johannes Schlüter2011-09-051-1/+1
| |
* | - Fix TSRM buildJohannes Schlüter2011-09-011-1/+1
| |
* | - Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlndJohannes Schlüter2011-08-311-0/+29
| |
* | - Added ZEND_MOD_END macro to use in the end of zend_module_dep[]Felipe Pena2011-08-061-1/+1
| |
* | compile out both parts of the code that are currently unused - fixes a ↵Andrey Hristov2011-08-021-2/+2
| | | | | | | | compilation warning
* | - WSPierre Joye2011-07-221-2/+2
| |
* | - remove magic quotes support, functions are kept (see the NEWS entry for ↵Pierre Joye2011-07-221-0/+4
|/ | | | the details) for BC reasons but do not allow to set enable MQ
* - Year++Felipe Pena2011-01-011-1/+1
|
* and export the new constantAndrey Hristov2010-12-021-0/+3
|
* fix shadowing of parametersAndrey Hristov2010-10-061-3/+3
|
* Fixed compiler warnings in mysqliKalle Sommer Nielsen2010-10-051-2/+2
| | | | | | | | | | - mysqli.c: Fix unused variables, they are only used in non-mysqlnd mode - mysqli_api.c (PHP_5_3 only): Fix constness, add_property_string expects a char *, not a const char * - mysqli_prop.c: Cast to long, as its below the LONG_MAX and therefore safe - mysqli_result_iterator.c: Cast to ulong as the iterator member expects that rather than a my_longlong # In trunk only warnings regarding the zend_property_info # structure is present and PHP_5_3 is warning free now
* Trying to fix compiler warnings (on Windows).Ulf Wendel2010-10-041-1/+1
|
* Sorry for the commit but compiler warnings are annoying and so are white ↵Ulf Wendel2010-10-041-25/+25
| | | | | | | | | | | | | | 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"
* Plug a leak in mysqli when in the same scriptAndrey Hristov2010-09-301-1/+2
| | | | | | | a pconn is reused. Call end_psession earlier - so will mysqlnd and the plugins free data earlier.
* Fixed bug #45921 (Can't initialize character set hebrew)Andrey Hristov2010-09-271-0/+1
| | | | | sorry for committing it separated
* Adding MYSQLI_OPT_SSL_VERIFY_SERVER_CERT for use with mysqli_options().Ulf Wendel2010-08-301-0/+3
|
* Fix for bug #52654 mysqli doesn't install headers with structures it usesAndrey Hristov2010-08-201-41/+43
|
* Changed mysqli_report() to be per-request specific rather than per-process ↵Kalle Sommer Nielsen2010-08-131-0/+1
| | | | specific (Fixes #52390)
* Add checks to check the underlying pointer in the resource.Andrey Hristov2010-05-261-3/+3
| | | | | | | | 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.
* Added caches to eliminate repeatable run-time bindings of functions, ↵Dmitry Stogov2010-05-241-3/+1
| | | | classes, constants, methods and properties
* Add iterator to mysqli_result. Works both for :Andrey Hristov2010-05-181-48/+61
| | | | | | - USE_RESULT, can be iterated only once, kind of forward iterator - STORE_RESULT, can be iterated multiple times
* Better fix for #51605Andrey Hristov2010-05-131-1/+2
|
* Changed the structure of op_array.opcodes. The constant values are moved ↵Dmitry Stogov2010-04-201-9/+9
| | | | from opcode operands into a separate literal table
* revert 293939 Fixed bug #50636 (MySQLi_Result sets values before callingJohannes Schlüter2010-02-111-2/+1
| | | | | constructor)
* Fix build of mysqli when libmysql is used, mysqlnd_portability.hAndrey Hristov2010-01-141-1/+0
| | | | | | | | might not be available for some weird reasons. Added the macros that we need, in that case Code by Jess Portnoy
* Fixed bug #50636 (MySQLi_Result sets values before calling constructor)Pierrick Charron2010-01-031-1/+2
|
* 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-8/+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-27/+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-8/+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-16/+1
| | | | handle. Most of the patch comes from Andrey.
* Fixed unused varIlia Alshanetsky2009-09-231-1/+0
|
* MFH:Fix handling of BIT fields for non-PS. We needAndrey Hristov2009-09-221-6/+32
| | | | | | macros from mysqlnd to be able to convert a bit stream to a number.
* Fix for bug#46614 Extended MySQLi class gives incorrect empty() resultAndrey Hristov2009-08-271-3/+5
|
* MFH: export mysql_refreshJohannes Schlüter2009-01-221-0/+12
| | | | | | | | | [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 Fix #45940 MySQLI OO does not populate connect_error property on failedJohannes Schlüter2009-01-121-8/+0
| | | | | connect
* MFH: Proper ctor usage (Fix #46044)Johannes Schlüter2009-01-071-36/+0
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Fixed bug #46887 (Invalid calls to php_error_docref())Ilia Alshanetsky2008-12-181-1/+1
| | | | | # Patch by oeriksson at mandriva dot com and crrodriguez at opensuse dot org
* Fixed bug #46409 (__invoke method called outside of object context when ↵Dmitry Stogov2008-11-271-2/+2
| | | | using array_map)
* MFH:Andrey Hristov2008-11-181-0/+3
| | | | | | Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
* - Declarations MUST BE done in the beginning of a contextPierre Joye2008-10-031-1/+1
|