Dmitry Stogov
0b90cf85a6
Removed "dead" code (zend_hash_update() never fails)
2018-06-01 11:58:57 +03:00
Dmitry Stogov
5eb1f92f31
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
2018-05-28 16:27:12 +03:00
Dmitry Stogov
a31f251507
Removed useless SEPARATE_STRING() (zend_string_extend() performs separation anyway)
2018-01-18 02:28:18 +03:00
Dmitry Stogov
af8de0aa95
Simplified conversion
2018-01-17 14:19:13 +03:00
Dmitry Stogov
d9e4841e7f
Use SERPARATE_ARRAY
2018-01-17 03:02:29 +03:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-03 14:38:00 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Dmitry Stogov
49ea143bbd
Encapsulate reference-counting primitives.
...
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
2017-10-27 01:28:58 +03:00
Dmitry Stogov
24e595bf26
Use dereferenced value
2017-10-03 10:49:56 +03:00
Dmitry Stogov
4d69587035
Fixed compilation errors
2017-10-03 09:08:28 +03:00
Dmitry Stogov
c8dea7ae1e
Restored code for BOOL variables
2017-10-02 17:04:26 +03:00
Dmitry Stogov
9a01fe712a
Fixed few ext/oci8 bugs
2017-09-20 16:46:04 +03:00
Tianfang Yang
f555224743
Sync OCI8 on PHP 7.x branches
2017-08-13 23:44:24 -04:00
Ingmar Runge
fa3615f14e
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:44:55 +10:00
Dmitry Stogov
1517fdb36c
Fixed uninitialized data
2017-03-23 18:59:27 +03:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Christopher Jones
8be59a1301
Fixed bug #71148 (Bind reference overwritten on PHP 7)
2016-10-17 12:40:14 +11:00
Christopher Jones
dd7cdab8e4
Remove old $Id$ tags
2016-08-07 10:24:56 +10:00
Christopher Jones
944d473eaa
Sync with 7.1 branch changes from Nikita & Dimitri to keep OCI8 code identical
2016-08-07 10:17:06 +10:00
Christopher Jones
b601dc5b29
Fix bug #72524 (Binding null values triggers ORA-24816 error)
2016-08-07 09:39:44 +10:00
Christopher Jones
ec358dac03
On second thoughts, keep this in sync with 5.6 for 71422
2016-04-14 15:49:15 +10:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Christopher Jones
049325ca96
Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)
2015-11-07 02:24:17 +11:00
Christopher Jones
3060dfd92e
Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)
2015-11-07 01:56:50 +11:00
Christopher Jones
a52902faf4
Squash some more PHP 7 diffs and improve test portability (Senthil)
2015-08-26 21:22:58 +10:00
Christopher Jones
9047b567e3
Resolve build warnings. Bump ver. Better range check. Fix diffs
2015-08-19 10:42:53 +10:00
Christopher Jones
b7031ba743
Further PHP 7 compat for OCI8
2015-08-12 21:57:16 +10:00
Christopher Jones
70a7221540
More PHP7 compat (Rajendra/Senthil)
2015-07-30 20:25:40 +10:00
Christopher Jones
e6d9061e85
More OCI8 diff fixes (Rajendra)
2015-07-16 13:06:35 +10:00
Christopher Jones
8586e67c1c
Some OCI8 fixes (Rajendra)
2015-07-13 11:50:00 +10:00
Christopher Jones
99cac5055e
More PHP 7 patches (Rajendra/Abdullah)
2015-06-30 13:54:40 +10:00
Cameron Porter
621698d3f9
Correct oci8 hash destructors to prevent segfaults, and a few other fixes.
2015-06-28 13:05:25 +02:00
Cameron Porter
3cf0bea098
Get oci8 extension compiling with php7.
2015-06-06 13:05:19 -05:00
Dmitry Stogov
d146d15003
Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate()
2015-03-20 02:02:42 +03:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
466a4c97b2
replace zend_hash_find with zend_hash_str_find which fixes leaking the key
2014-09-10 13:22:23 +02:00
Anatol Belski
e3ded277a5
second big shot on porting ext/oci8
...
still a lot to do, but most raw things done
2014-09-10 12:41:43 +02:00
Anatol Belski
686213a242
first shot on fixing ext/oci8
2014-09-10 12:41:42 +02:00
Anatol Belski
2e085df5c0
basic datatype fixes for ext/oci8
2014-09-10 12:41:41 +02:00
Anatol Belski
af59e92b24
master renames phase 7
2014-08-25 21:51:49 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Dmitry Stogov
f9927a6c97
Merge mainstream 'master' branch into refactoring
...
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)
Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
2014-04-26 00:32:51 +04:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Christopher Jones
601367ee75
Fixed Bug #66875 (Improve performance of multi-row OCI_RETURN_LOB queries)
2014-03-10 16:33:35 -07:00
Christopher Jones
2cbd857283
Add Oracle PL/SQL BOOLEAN type support to oci_bind_by_name()
2014-02-10 15:00:42 -08:00