summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Move two functions which are used in the extension as methods ofAndrey Hristov2009-12-111-30/+30
| | | | | | | | | | | | | | | the connection. Two functions less in the global namespace.
| | * Remove stub code which never actually was used for anything.Andrey Hristov2009-12-091-5/+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-16/+5
| | | | | | | | | | | | | | | | | | 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-98/+0
| | | | | | | | | | | | | | | | | | on a upper level and by offloading it we reduce the complexity of the core.
| | * I svn-commit.2.tmp (Modified) ↵Andrey Hristov2009-12-031-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Row 2 Col 28 11:45 Ctrl-K H for help fix compilation on windows and with other compilers who don't like void* arithmetic
| | * - disable this debug code until it is actually fixedPierre Joye2009-12-031-0/+2
| | |
| | * fix segfault introduced by Pierre in a recent commitAndrey Hristov2009-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | old code was doing something like conn + sizeof(MYSQLND) * MYSQLND + plugin * sizeof(void) * sizeof(MYSQLND) because `conn` is not casted to void*. `conn` has to be casted to void * and then the whole experession will be void * and the calculations will work.
| | * - void is NaN, you can't do math ops on void. Declarations go first. Fix TS ↵Pierre Joye2009-11-301-1/+1
| | | | | | | | | | | | build
| | * fix debug windows build as well as remove a compilation warningAndrey Hristov2009-11-261-1/+1
| | | | | | | | | | | | | | | (a header not included)
| | * Compressed protocol support + extensibility for mysqlndAndrey Hristov2009-11-201-57/+149
| | |
| | * Don't forget to update the length tooAndrey Hristov2009-10-221-0/+1
| | |
| | * Have the lengths also to skip many calls to strlenAndrey Hristov2009-10-221-1/+18
| | |
| | * Count number of affected_rows for normal and PS queriesAndrey Hristov2009-10-221-0/+4
| | |
| | * Fixing host info for TCP/IP and aligning mysqlnd and libmysqlUlf Wendel2009-10-191-3/+4
| | |
| | * Extending mysqlnd statistics/monitoring. Now counting COM_* commands.Ulf Wendel2009-10-161-0/+2
| | |
| | * Making mysqlnd emit no warnings when fetching pooled persistent connections ↵Ulf Wendel2009-10-151-4/+5
| | | | | | | | | | | | that have timed out or are unusable for any other reason - bug #49761
| | * Fixing problems when calling connect (again and again) on a valid connection ↵Ulf Wendel2009-10-151-2/+14
| | | | | | | | | | | | handle. Most of the patch comes from Andrey.
| | * Avoid buffer resizing and let the initial buffer allocation happen a couple ↵Ulf Wendel2009-10-081-2/+0
| | | | | | | | | | | | of lines later with conn->m->set_client_option(conn, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, ...). Andrey, I leave it to you to change the default size to 128k.
| | * Fixing pconnect statistics.Ulf Wendel2009-10-081-3/+2
| | |
| | * Increase the minimal size of the command buffer, which is usedAndrey Hristov2009-10-071-0/+3
| | | | | | | | | | | | | | | | | | for sending queries and in the future commpressed patch for reading almost all packets from the wire instead of using stack buffers.
| | * revert the last changeAndrey Hristov2009-10-061-4/+0
| | |
| | * count the queriesAndrey Hristov2009-10-061-0/+4
| | |
| | * Use mnd_ wrappers wherever possible. Needed forAndrey Hristov2009-09-301-2/+7
| | | | | | | | | | | | | | | statistics.
| | * Fix possible crash when conn is NULLAndrey Hristov2009-09-251-1/+1
| | |
| | * Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library ↵Ulf Wendel2009-09-161-0/+4
| | | | | | | | | | | | (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.
| | * Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd)Andrey Hristov2009-08-271-51/+83
| | |
| | * - MFH: Removed UG(unicode) checksFelipe Pena2009-03-301-3/+3
| | |
| | * - MFH: Improve mysqlnd's internal method registrationJohannes Schlüter2009-02-161-15/+28
| | |
| | * MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
| | |
| | * MFH:Andrey Hristov2008-11-201-3/+3
| | | | | | | | | | | | | | | | | | Windows fixes for mysqlnd Less warnings + PHPAPI for mysqlnd_poll
| | * MFH:Andrey Hristov2008-11-191-3/+11
| | | | | | | | | | | | | | | | | | | | | Fix a small bug that mysqlnd::next_result didn't care about an error in a multi-statement. In an inner layer the error has been already set, thus it needed better massage on the top level.
| | * MFH: Fix Windows build, pure C compilerAndrey Hristov2008-11-181-1/+2
| | |
| | * MFH:Andrey Hristov2008-11-181-0/+213
| | | | | | | | | | | | | | | | | | Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
| | * MFH:Andrey Hristov2008-11-061-13/+13
| | | | | | | | | | | | | | | | | | Get rid of many defines (which simplifies the code a lot), as well as uint->unsigned int
| | * MFB:Andrey Hristov2008-10-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 64bit fixes: - fixes to sprintf modifiers, cleaning warnings - use _t types, like uint64_t instead of uint64, thus skipping series of typedefs.
| | * MFH: Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement isJohannes Schlüter2008-10-271-21/+27
| | | | | | | | | | | | | | | executed)
| | * MFH: Handle failed connections rightJohannes Schlüter2008-10-011-4/+6
| | |
| | * MFH:Andrey Hristov2008-09-151-2/+2
| | | | | | | | | | | | | | | Add float conversions too. Float users should understand how float works!!!
| | * MFH: constify stringsJohannes Schlüter2008-08-191-3/+3
| | |
| | * MFH: Fix empty error message when connecting to a bad serverJohannes Schlüter2008-08-191-3/+3
| | |
| | * Sync with bzrAndrey Hristov2008-07-151-1/+0
| | |
| | * Fix remaining valgrind problems with pconn and zval cacheAndrey Hristov2008-06-241-0/+1
| | | | | | | | | | | | | | | HEAD merge will follow tomorrow.
| | * Fix double-free, introduced latelyAndrey Hristov2008-06-241-11/+7
| | |
| | * Fix possible bug with persistent connections and mysqlndAndrey Hristov2008-06-241-4/+16
| | |
| | * Update mysqlndAndrey Hristov2008-05-071-2/+2
| | |
| | * Update ext/mysql's and ext/mysqli's testsAndrey Hristov2008-04-241-7/+10
| | | | | | | | | | | | | | | | | | Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature.
| | * MFB: Update CVS from the development treeAndrey Hristov2008-04-161-11/+4
| | |
| | * - Don't modify the variables which are passed for parameter binding.Andrey Hristov2008-03-201-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Fixed a bunch of bugs reported inAndrey Hristov2008-03-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 - fix bg_storeAndrey Hristov2008-02-141-2/+5
| | |