summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
Commit message (Collapse)AuthorAgeFilesLines
* fix the problem for connect_attr, set db condition, and add a new attribute ↵Qianqian Bu2019-08-203-2/+12
| | | | _server_host
* Fix #78179: MariaDB server version incorrectly detectedChristoph M. Becker2019-08-021-0/+8
| | | | | | | | As of MariaDB 10.0.2, the server reports a fake version number as work- around for replication issues[1]. We apply the same "fix" as in the MariaDB client to cater to this. [1] <https://github.com/MariaDB/server/commit/c50ee6c23dbeb090963580754bec2f0a96ac0557#diff-5b45fa673c88c06a9651c7906364f592>
* Add explicit cast to uint32_t.Andrey Hristov2019-06-211-1/+3
| | | | | It works even without it but explicit stuff is better. The compiler probably converts the 16-bit uint16_t to uint32_t before doing the shift.
* Fixed bug #38546Cameron Porter2019-06-071-1/+8
| | | | | | Properly support binding boolean parameters with emulated prepared statements disabled. Also add the necessary mysqlnd support for MYSQL_TYPE_TINY.
* Fix #77956 - When mysqli.allow_local_infile = Off, return a client errorSjon Hortensius2019-05-221-0/+2
|
* Fixed bug #77597Nikita Popov2019-02-211-11/+11
| | | | | | The same variable was reused in two nested loops... The test doesn't fail on 7.2, but I'm fixing this here anyway as the code is clearly wrong, and probably erroneous in other situations.
* Merge branch 'PHP-7.1' into PHP-7.2Darek Slusarczyk2019-02-111-1/+2
|\
| * security fix - by default 'local infile' is disabled:Darek Slusarczyk2019-02-111-1/+2
| | | | | | | | | | | | | | | | - set default for mysqli.allow_local_infile=0 - explicitly disable PDO::MYSQL_ATTR_LOCAL_INFILE in case of lack of driver options - add getAttribute support for PDO::MYSQL_ATTR_LOCAL_INFILE - update existing tests where needed - add new tests [checking default value and setting on] the 'local infile' in ext/mysqli and ext/pdo_mysql
| * Trim trailing whitespace in source code filesPeter Kokot2018-10-134-6/+6
| |
* | Revert visibilityAndrey Hristov2019-01-092-2/+2
| | | | | | | | (cherry picked from commit 71ffae9605a0b19f4c7a76d317276c934a767a65)
* | Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no ↵Anatol Belski2019-01-021-2/+2
| | | | | | | | external visibility
* | Trim trailing whitespace in source code filesPeter Kokot2018-10-134-6/+6
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-09-047-425/+29
|\ \ | |/
| * Revert all MySQL auth related changesNikita Popov2018-09-047-425/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per bug #76651 these changes do not appear to work correctly in some cases. As no immediate fix seems to be forthcoming, I'm reverting these changes. Revert "Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)" This reverts commit 11507c0e1bfa17a96480f3648397f6975c31551e. Revert "Fix mysqlnd build without openssl" This reverts commit 6c9db02ff7812c298d1e7e292ba731d9d3a66790. Revert "Fix VC compilation as variable size array is not supported" This reverts commit f96df64cb2219fda42ca875483f874cf3052647c. Revert "Fix MySQL 8 auth" This reverts commit d6e81f0bfd0cb90586dd83d4fd47a4302605261a.
* | Merge branch 'PHP-7.1' into PHP-7.2Dmitry Stogov2018-06-141-0/+1
|\ \ | |/ | | | | | | * PHP-7.1: Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
| * Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a ↵Dmitry Stogov2018-06-141-0/+1
| | | | | | | | (avoid keeping "invalid" pointer)
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-06-101-0/+1
|\ \ | |/
| * Fix mysqlnd build without opensslNikita Popov2018-06-101-0/+1
| | | | | | | | | | Cherry-pick of 968eb0b38cc9095d418beb8f0df08c4b9abdb079, as these changes were also introduced in lower branches.
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-06-067-29/+423
|\ \ | |/ | | | | | | | | * PHP-7.1: Fix VC compilation as variable size array is not supported Fix MySQL 8 auth
| * Fix VC compilation as variable size array is not supportedAnatol Belski2018-06-061-0/+9
| |
| * Fix MySQL 8 authJohannes Schlüter2018-06-067-29/+414
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Johannes Schlüter2018-02-202-1/+2
|\ \ | |/
| * Fix a memleak with mysqlnd and SSLJohannes Schlüter2018-02-202-1/+2
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Johannes Schlüter2018-02-201-8/+15
|\ \ | |/
| * Merge branch 'PHP-7.0' into PHP-7.1Johannes Schlüter2018-02-201-8/+15
| |\
| | * Fix negotiaton of MySQL auth pluginJohannes Schlüter2018-02-201-7/+14
| | |
| * | year++Xinchen Hui2018-01-0248-48/+48
| | |
* | | year++Xinchen Hui2018-01-0248-48/+48
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-131-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #75018, fixed bug #75177
| * | Fixed bug #75018, fixed bug #75177Anatol Belski2017-09-131-1/+1
| | | | | | | | | | | | Both are caused by the same cast issue in mysqlnd on 32-bit.
* | | Add new enum options defined in MySQL 5.7Andrey Hristov2017-08-081-0/+13
| | |
* | | Use zval_ptr_dtor_nogc() for data that can't be circularDmitry Stogov2017-06-291-5/+5
| | |
* | | Use persistent heap only for persistent connections.Dmitry Stogov2017-06-211-1/+1
| | |
* | | Use interned empty and "one char" strings.Dmitry Stogov2017-05-181-0/+4
| | |
* | | Merge branch 'PHP-7.1'Johannes Schlüter2017-04-141-0/+47
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Johannes Schlüter2017-04-141-0/+47
| |\ \ | | |/
| | * Add support for MySQL 8's Unicode typesJohannes Schlüter2017-04-141-0/+47
| | |
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-04-071-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-7.1: Update NEWS Remove unused var Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
| * | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-04-071-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | * PHP-7.0: Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376) Conflicts: ext/mysqlnd/mysqlnd_ps.c
| | * Fix invalid free of persistent results on error/connection loss in mysqlnd ↵Yussuf Khalil2017-04-051-2/+2
| | | | | | | | | | | | (bug 74376)
* | | Remove superfluous allocation checks around ZMM-based functionsThomas Punt2017-04-022-6/+0
| | |
* | | Drop unnecessary allocator return value checksNikita Popov2017-03-131-3/+0
| | |
* | | Merge branch 'PHP-7.1'Nikita Popov2017-02-121-4/+5
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-121-4/+5
| |\ \ | | |/
| | * Fixed bug #74021andrewnester2017-02-121-4/+4
| | |
* | | Merge branch 'PHP-7.1'Nikita Popov2017-01-121-2/+3
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-01-121-2/+3
| |\ \ | | |/
| | * Fix bug #69899rfussenegger2017-01-121-2/+3
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-0437-37/+37
| | |
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-0448-48/+48
| | |