summaryrefslogtreecommitdiff
path: root/ext/odbc
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge branch 'PHP-7.4'Christoph M. Becker2019-04-291-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.4: Properly initialize out parameter
| * | | Properly initialize out parameterChristoph M. Becker2019-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MS docs on `SQLColAttribute()`[1] state regarding the `NumericAttributePtr` parameter: | Please note that some drivers may only write the lower 32-bit or | 16-bit of a buffer and leave the higher-order bit unchanged. | Therefore, applications should initialize the value to 0 before | calling this function. [1] <https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlcolattribute-function?view=sql-server-2017>
* | | | Merge branch 'PHP-7.4'Peter Kokot2019-03-152-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.4: Replace dirname(__FILE__) by __DIR__ in tests
| * | | Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-152-2/+2
| | | |
* | | | Adjust tests for zpp TypeError changeNikita Popov2019-03-111-4/+0
|/ / /
* | | Add AS_HELP_STRING to *nix build configure optionsPeter Kokot2019-03-071-34/+46
| | | | | | | | | | | | | | | | | | | | | | | | The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not anymore. [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
* | | Remove local variablesPeter Kokot2019-02-033-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | | Remove yearly range from copyright noticeZeev Suraski2019-01-303-3/+3
| | |
* | | Implement typed propertiesNikita Popov2019-01-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwei9@hotmail.com> Co-authored-by: Joe Watkins <krakjoe@php.net> Co-authored-by: Dmitry Stogov <dmitry@zend.com>
* | | Merge branch 'PHP-7.3'Peter Kokot2018-10-301-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-7.3: [ci skip] Update NEWS [ci skip] Update NEWS [ci skip] Update NEWS fix bug #77079
| * | Merge branch 'PHP-7.2' into PHP-7.3Peter Kokot2018-10-301-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | * PHP-7.2: [ci skip] Update NEWS [ci skip] Update NEWS fix bug #77079
| | * Merge branch 'PHP-7.1' into PHP-7.2Peter Kokot2018-10-301-2/+2
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-7.1: [ci skip] Update NEWS fix bug #77079
| | | * fix bug #77079Jon Allen2018-10-301-2/+2
| | | |
| | | * Trim trailing whitespace in *.phptPeter Kokot2018-10-143-3/+3
| | | |
| | | * Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-132-190/+190
| | | |
| | * | Trim trailing whitespace in *.phptPeter Kokot2018-10-143-3/+3
| | | |
| | * | Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-132-190/+190
| | | |
| * | | Trim trailing whitespace in *.phptPeter Kokot2018-10-143-3/+3
| | | |
| * | | Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 testsGabriel Caruso2018-10-143-3/+3
| | | |
* | | | Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix some misspellingsGabriel Caruso2018-08-121-3/+3
|/ / /
* | | Trim trailing whitespaces in build filesPeter Kokot2018-07-291-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* | | Remove unused Git attributes identPeter Kokot2018-07-255-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | | Give a reason why the test was skippedGabriel Caruso2018-07-221-1/+1
| | | | | | | | | | | | | | | | | | This will help us debug why a test was skipped in GCOV (http://gcov.php.net/viewer.php?version=PHP_HEAD&func=skip), and maybe put them to run again
* | | Use variables that already received ZEND_NUM_ARGS()Gabriel Caruso2018-07-221-4/+2
| | |
* | | Remove some old occurrences of configure.inPeter Kokot2018-06-041-1/+1
| | | | | | | | | | | | | | | configure.ac is the recommended file to use instead of the old configure.in which will be removed in autotools future versions.
* | | Removed "dead" code (zend_hash_update() never fails)Dmitry Stogov2018-06-011-6/+2
| | |
* | | Avoid useless checks, using zend_string_efree(), in cases where the string ↵Dmitry Stogov2018-05-081-3/+3
| | | | | | | | | | | | is known to be a temporary allocated zend_string.
* | | Remove, or fix, unused variablesGabriel Caruso2018-03-271-3/+0
| | |
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-201-1/+1
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Fix: follow the indent of the other configure optionsTom Van Looy2018-02-151-3/+2
| | |
* | | Fix some misspellingsGabriel Caruso2018-02-061-1/+1
| | |
* | | Use int instead of integer in type errorsGabriel Caruso2018-02-042-3/+3
| | | | | | | | | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* | | Merge branch 'PHP-7.2'Anatol Belski2018-01-222-0/+62
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed bug #73725 Unable to retrieve value of varchar(max) type
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-01-222-0/+62
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed bug #73725 Unable to retrieve value of varchar(max) type
| | * Fixed bug #73725 Unable to retrieve value of varchar(max) typeAnatol Belski2018-01-222-0/+62
| | |
| | * year++Xinchen Hui2018-01-025-5/+5
| | |
| * | year++Xinchen Hui2018-01-025-5/+5
| | |
* | | Trailing whitespacesGabriel Caruso2018-01-031-178/+178
| | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | | year++Xinchen Hui2018-01-023-3/+3
| | |
* | | Tell the diff by returning NULL, if system has no ODBC data sourcesAnatol Belski2017-12-202-2/+11
| | |
* | | Merge branch 'PHP-7.2'Anatol Belski2017-12-201-6/+4
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Templatize driver name in the expected string
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-12-201-6/+4
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Templatize driver name in the expected string
| | * Templatize driver name in the expected stringAnatol Belski2017-12-201-6/+4
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | |
* | | Persistent resources are "thread-local".Dmitry Stogov2017-11-011-7/+1
| | | | | | | | | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().