summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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
| | |
| | * Simplify unique string generation and plug a leak.Andrey Hristov2008-02-041-11/+16
| | |
| | * Fix the build, add a missing fileAndrey Hristov2008-01-291-58/+1
| | |
| | * Moved initialization code into a function.Andrey Hristov2008-01-291-9/+2
| | |
| | * Moving extension specific code to php_mysqlnd.c as the old rule is.Andrey Hristov2008-01-281-221/+0
| | |
| | * some config.w32 fixesAndrey Hristov2008-01-281-145/+6
| | | | | | | | | | | | | | | | | | moved mysqlnd's block allocator to a separate file and also now it's part of the connection, no MT problems.
| | * More optimizations - less MM callsAndrey Hristov2008-01-281-21/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Merge with internal versionAndrey Hristov2008-01-231-13/+13
| | |
| | * strncpy->strlcpyAndrey Hristov2008-01-081-2/+2
| | |
| | * - Fix problems with double definitionsAndrey Hristov2008-01-021-4/+4
| | | | | | | | | | | | | | | | | | | | | - Clean up a bit a type mess - 4 types less. No need to have aliases for the same thing (unification is the name). - New macro for Johannes mysqlnd_stmt_ro_result_metadata
| | * MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
| | |
| | * Fix segfault in debug buildAndrey Hristov2007-11-081-4/+4
| | |
| | * Fix build failure on Windows. Seems "free" can't be used even as method name ↵Andrey Hristov2007-10-231-1/+1
| | | | | | | | | | | | of a structure. The MS compiler (the preprocessor most probably) changes it to _free_dbg
| | * Import mysqlndAndrey Hristov2007-10-051-0/+2078
| | | | | | | | | | Patch ext/mysql and ext/mysqli to support mysqlnd