Nikita Popov
035a27cbc6
Only compute callback name in error cases
...
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
2017-06-25 18:45:59 +02:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Nikita Popov
45f7b2bcc8
Fix CRLF line-endings in tests
...
Also fix a single instance of CRLF in ibase_query.c.
2016-11-20 22:31:24 +01:00
Remi Collet
548cbcc929
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #73512 Fails to find firebird headers
2016-11-16 10:47:18 +01:00
Remi Collet
397bedcc7c
Fixed bug #73512 Fails to find firebird headers
...
- use fb_config output instead of relying on hardoded path
2016-11-16 10:47:02 +01:00
Anatol Belski
4a08836d47
fix borked interbase patch
2016-08-11 15:08:26 +02:00
Kalle Sommer Nielsen
197051f3ab
Remove sql.safe_mode
...
This is one of the last old and odd deprecated settings we still have in PHP, it was never fully implemented in all the database extensions and should probably have been gone back in 5.4, along with safe_mode. Although if my memory strikes me right, mysql was also supporting it back then, but not mysqli.
So far only interbase was supporting this feature, and the removal of it causes two effects for interbase:
- CREATE DATABASE is now allowed no matter
- The default database set by php.ini (ibase.default_db) is no longer forced
http://php.net/ini.core#ini.sql.safe-mode
2016-08-11 05:06:55 +02:00
Dmitry Stogov
1616038698
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
...
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
2016-06-21 16:00:37 +03:00
Anatol Belski
e9eeb5edb9
fix test portability
2016-06-17 09:05:27 +02:00
Xinchen Hui
a5718539b1
Fixed build
2016-04-29 11:13:15 +08:00
Xinchen Hui
a05320c419
Use zend_string_safe_alloc
2016-04-27 20:29:11 +08:00
Anatol Belski
be5bbe7068
fix ibase connection routine
...
followup on a7028d96
2016-03-04 12:26:25 +01:00
Tjerk Meesters
a7028d9671
Fix one zpp usage in interbase
...
Also small tweak to zpp REAME
2016-03-03 23:50:02 +01:00
Nikita Popov
1ac152938c
Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE
...
Also re bug #71575 .
2016-03-03 16:50:01 +01:00
Xinchen Hui
262f09d678
Fixed macro name
2016-01-14 14:49:23 +08:00
Anatol Belski
4e7cb057a0
partial test fixes, only obvious mistaking parts
2016-01-12 10:44:55 +01:00
Anatol Belski
d8e2b8424f
remove the unnecessary condition part
2016-01-12 10:22:10 +01:00
Anatol Belski
8e7c469f82
fix possible buffer overrun in the errmsg string
2016-01-12 10:17:32 +01:00
Anatol Belski
b54739e68d
integrate tsrmls cache
2016-01-12 09:42:38 +01:00
Anatol Belski
1f6612541f
fix out format
2016-01-11 20:57:34 +01:00
Anatol Belski
39e571c8d8
further datatype and range check fixes for ibase
2016-01-11 09:46:53 +01:00
Anatol Belski
57a2a8d4fa
datatype fixes
2016-01-11 08:52:54 +01:00
Anatol Belski
23fa54b908
fix typo for #ifdef
2016-01-11 08:37:16 +01:00
Xinchen Hui
8bfa5193d5
Fix various bugs in interbase
...
Also read: https://marc.info/?l=php-internals&m=145077389117375&w=2
2016-01-11 08:32:47 +01:00
Xinchen Hui
d4da32d312
Fixed bug #71280 (ibase_blob_add() expects parameter 2 to be resorce)
2016-01-05 23:02:17 +08: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
Dmitry Stogov
c7c3b967a5
Removed invalid efree() (arguments are allocated on VM stack and used without copying)
2015-12-16 15:25:49 +03:00
Nikita Popov
1287c48082
Fix/improve zpp usage
...
The ext/interbase changes are done blindly, fingers crossed.
Some of these are bug fixes, some make zpp usage more idiomatic.
2015-10-02 09:35:00 +02:00
Anatol Belski
4e66cce87c
switch to the unified globals accessor where appropriate
2015-07-29 13:26:35 +02:00
Dmitry Stogov
9ea98d676b
Cleanup (avoid reallocations)
2015-07-02 18:58:04 +03:00
Dmitry Stogov
0fd2b4c030
Cleanup (avoid reallocation)
2015-07-02 18:50:54 +03:00
Dmitry Stogov
7aa7627172
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
2015-06-30 13:59:27 +03:00
Anatol Belski
2d78023244
cleanup the mod version macros, round 2
2015-03-23 20:33:54 +01:00
Reeze Xia
609f05fc19
ZTS cleanup
2015-03-08 19:25:55 +08:00
Popa Adrian Marius
3e6380d64b
Use Firebird default home folder, replace Interbase with Firebird
2015-02-24 13:58:14 +02:00
Anatol Belski
af3ca74501
made ZEND_TSRMLS_CACHE_* macros look like function calls
...
which also comply with the current semantics for such macros
2015-02-16 17:19:32 +01:00
Popa Adrian Marius
8f968c5416
Apply PHP7 firebird fixes after API Cleanup from 8c920a22ac
2015-02-13 17:55:17 +02:00
Michael Wallner
0d267bdecc
Merge branch 'close_cor' of github.com:MegaManSec/php-src
...
* 'close_cor' of github.com:MegaManSec/php-src:
Fix interbase va_start
2015-01-30 23:05:10 +01:00
Popa Adrian Marius
b9868f23a0
fbird_close if connection_id omitted, the last opened link is assumed , so it was already closed
2015-01-28 15:39:42 +02:00
Joshua Rogers
5863855758
Fix interbase va_start
2015-01-27 09:50:16 +11:00
Popa Adrian Marius
56c5b8e399
Revert "Remove Jouni Ahto from maintainers and files as requested , anyway we have git blame/history"
...
This reverts commit 7cf1450df1
.
2015-01-22 10:16:51 +02:00
Popa Adrian Marius
7cf1450df1
Remove Jouni Ahto from maintainers and files as requested , anyway we have git blame/history
2015-01-21 18:08:56 +02: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
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
e112f6a04e
second shot on removing TSRMLS_*
2014-12-14 14:07:59 +01:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Popa Adrian Marius
899c24a8c1
cleanup comments from svn/cvs era
2014-11-24 18:40:20 +02:00
Veres Lajos
06fdf359e3
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-23 14:52:47 -08:00