summaryrefslogtreecommitdiff
path: root/ext/mysqli
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #76809 (SSL settings aren't respected when persistent connection is ↵Fábio Souto2019-10-031-4/+53
| | | | reused)
* Fixed test that "fails" from time to timeDmitry Stogov2019-10-021-1/+1
|
* Fixed test that "fails" from time to timeDmitry Stogov2019-10-021-1/+1
|
* Fix SKIPIF in ext/mysqliFabien Villepinte2019-09-2711-20/+20
|
* fix the problem for connect_attr, set db condition, and add a new attribute ↵Qianqian Bu2019-08-201-0/+78
| | | | _server_host
* Fix version comparisonAndrey Hristov2019-06-191-1/+1
|
* Fix #77956 - When mysqli.allow_local_infile = Off, return a client errorSjon Hortensius2019-05-221-0/+50
|
* Fixed bug #77597Nikita Popov2019-02-211-0/+27
| | | | | | 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-1112-2/+73
|\
| * security fix - by default 'local infile' is disabled:Darek Slusarczyk2019-02-1112-2/+73
| | | | | | | | | | | | | | | | - 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
| * Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-15269-274/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in *.phptPeter Kokot2018-10-1424-45/+45
| |
| * Sync leading and final newlines in source code filesPeter Kokot2018-10-148-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in source code filesPeter Kokot2018-10-134-7/+7
| |
| * Convert CRLF line endings to LFPeter Kokot2018-10-135-185/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
* | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-15253-258/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in *.phptPeter Kokot2018-10-1424-45/+45
| |
* | Sync leading and final newlines in source code filesPeter Kokot2018-10-147-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in source code filesPeter Kokot2018-10-134-7/+7
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-09-191-4/+4
|\ \ | |/
| * Fix intermittent failures in mysqli_stmt_bind_result_format.phptNikita Popov2018-09-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | There were two distinct issues here: * $trend was compared against 'NULL' using !=, which does not work as intended in the case where $trend==0.0. * current_targets was declared as double(17,0), which means that the fractional part was rounded, so that the same comparison in SQL (rounded) and in PHP (not rounded) did not necessarily match. Please don't write mt_rand based tests, it takes ages to debug this crap...
| * year++Xinchen Hui2018-01-0217-17/+17
| |
* | Add missing skip prefix for some SKIPIF messagesatvoicu2018-03-232-4/+4
| |
* | year++Xinchen Hui2018-01-0217-17/+17
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-10-283-3/+34
|\ \ | |/
| * Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-10-283-3/+34
| |\
| | * Fix bug #75434 Wrong reflection for mysqli_fetch_all functionFabien Villepinte2017-10-283-3/+34
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-131-0/+38
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #75018, fixed bug #75177
| * | Fixed bug #75018, fixed bug #75177Anatol Belski2017-09-131-0/+38
| | | | | | | | | | | | Both are caused by the same cast issue in mysqlnd on 32-bit.
* | | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-07-252-6/+9
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: minor loop optimizations, closes #2633
| * | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-07-252-6/+9
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: minor loop optimizations, closes #2633
| | * minor loop optimizations, closes #2633Joe Watkins2017-07-252-6/+9
| | |
* | | fix skipifAnatol Belski2017-07-231-1/+1
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-07-222-0/+28
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-07-222-0/+28
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
| | * Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with ↵Anatol Belski2017-07-222-0/+28
| | | | | | | | | | | | an abstract class
* | | Merge branch 'PHP-7.1'Anatol Belski2017-07-121-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: increase poll timeout as false positives mitigation
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-07-121-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: increase poll timeout as false positives mitigation
| | * increase poll timeout as false positives mitigationAnatol Belski2017-07-121-1/+1
| | |
* | | Remove superfluous semicolonsTom Van Looy2017-06-266-7/+7
| | |
* | | BUG #74737: Incorrect ReflectionFunction information for mysqli_get_client_infoMitch Hagstrand2017-06-192-1/+20
| | |
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-05-203-7/+63
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.1: Update news Fixed #74595 - ReflectionMethod::getParameters returns incorrect number of parameters
| * | Fixed #74595 - ReflectionMethod::getParameters returns incorrect number of ↵andrewnester2017-05-153-7/+63
| | | | | | | | | | | | parameters
* | | Merge branch 'PHP-7.1'Anatol Belski2017-05-062-1/+26
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-05-062-1/+26
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
| | * Fixed bug #74547 mysqli::change_user() doesn't accept null as $database ↵Anatol Belski2017-05-062-1/+26
| | | | | | | | | | | | argument w/strict_types
* | | Merge branch 'PHP-7.1'Anatol Belski2017-05-011-0/+29
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Tests to ensure BC with undocumented behavior used in hacks
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-05-011-0/+29
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Tests to ensure BC with undocumented behavior used in hacks
| | * Tests to ensure BC with undocumented behavior used in hacksAnatol Belski2017-05-011-0/+29
| | | | | | | | | | | | Should become obsolete, once behaviors change.
* | | Fixed bug #61970: Allow a child class to restrict access to ctorPedro Magalhães2017-05-011-2/+4
| | |