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
BohwaZ
ed2f6510da
Add support for SQLite open flags
2017-09-06 09:56:02 +01:00
Remi Collet
afdf7519d1
fix build with old system libsqlite (sqlite3_close_v2 may be missing)
2017-08-02 16:09:36 +02:00
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
Dmitry Stogov
9c2a1f52a5
Avoid useless dereferences and separations during paramter passing.
2017-06-19 12:55:59 +03:00
Nikita Popov
e31342ef84
Merge branch 'PHP-7.1'
2017-03-12 17:04:02 +01:00
andrewnester
fbf0e0587f
Implement FR #74217 : deterministic sqlite functions
2017-03-12 17:03:00 +01:00
Rasmus Lerdorf
7b8b2e50f6
Switch to the v2 version of these functions.
...
The sqlite3 docs suggest always using prepare_v2 and the close_v2
could potentially help with an fd leak we have been seeing
2017-01-22 07:26:07 -08:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Sara Golemon
61a43195f5
Use new param API in pdo_sqlite
2016-12-31 09:01:20 -08:00
Dmitry Stogov
323b2733f6
Fixed compilation warnings
2016-06-22 00:40:50 +03:00
Dmitry Stogov
f0a2e8eb13
Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.
2016-04-27 13:46:38 +03:00
Dmitry Stogov
c67c166f93
Removed zend_fcall_info.symbol_table
2016-03-02 17:50:55 +03:00
Xinchen Hui
36b4311edd
Do not edit the value in place (might be relates to #71261 )
2016-01-04 05:38:15 -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
4a2e40bb86
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
2015-06-30 04:05:24 +03:00
Stanislav Malyshev
dfe6aea9ca
size_t cleanup for PDO
2015-01-26 16:16:02 -08: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
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Anatol Belski
c00424e427
bring back all the TSRMLS_FETCH() stuff
...
for better comparability with the mainstream
2014-10-15 09:37:55 +02:00
Anatol Belski
f7e09105d8
cleanup TSRMLS_FETCH in ext/pdo*
2014-09-26 21:23:23 +02:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +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
92269d25a3
ported pdo and pdo_sqlite
2014-08-19 18:32:08 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Felipe Pena
920d298f4a
- Fixed ZTS build
2014-05-13 00:34:10 -03:00
Xinchen Hui
d8651fbe1c
Make they are in the same style of Z_ISREF
2014-05-03 16:08:58 +08:00
Xinchen Hui
65931501e6
Fixed Aggregate
2014-04-24 22:43:30 +08:00
Xinchen Hui
a30442c1c8
Refactor pdo_sqlite (only compilable)
2014-04-23 11:41:57 +08:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Johannes Schlüter
af516750ff
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Improve check for :memory: pseudo-filename in SQlite
Conflicts:
ext/sqlite3/sqlite3.c
2012-06-22 12:50:30 +02:00
Johannes Schlüter
055ecbc628
Improve check for :memory: pseudo-filename in SQlite
2012-06-22 12:48:39 +02:00
Pierre Joye
0e0d79218f
- fix #55226 , WS
2012-01-31 07:17:05 +00:00
Pierre Joye
0c87d70b1a
- fix #55226 , WS
2012-01-31 07:17:05 +00:00
Pierre Joye
3115e6497a
- fix #55226 , fix build
2012-01-31 07:14:36 +00:00
Pierre Joye
d056f9ccb2
- fix #55226 , fix build
2012-01-31 07:14:36 +00:00
Rasmus Lerdorf
9111a8a58a
createCollation() for pdo_sqlite as well
...
Closes bug #55226
2012-01-29 04:22:23 +00:00
Rasmus Lerdorf
abff96d02e
createCollation() for pdo_sqlite as well
...
Closes bug #55226
2012-01-29 04:22:23 +00:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Ilia Alshanetsky
42f3972e61
Avoid strcpy() usage
2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
1271828ee4
Avoid strcpy() usage
2011-08-08 00:07:54 +00:00