Gabriel Caruso
701437a948
Remove return types from some magic method in protos
...
__construct, __destruct, __wakeup does not have return types defined.
2018-03-09 12:04:46 +01:00
Gabriel Caruso
b895690dfa
remove support for string|unicode in tests
2018-02-22 08:11:30 +01:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Gabriel Caruso
b0d3c1bf83
Add and fix SKIPIF sections
2018-02-04 17:26:37 +01:00
Christoph M. Becker
5b4b4d33b2
Update to SQLite 3.22.0
2018-01-22 23:42:36 +01:00
Dmitry Stogov
d8f916124b
Usee reference-counting instead of duplication
2018-01-19 13:19:49 +03:00
Xinchen Hui
88b8cd7385
Use stack allocated zvals
2018-01-07 20:03:49 +08:00
Gabriel Caruso
2238403892
Trailing whitespaces on ext/*
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-04 02:38:32 -02: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
83e495e0fd
Move constants into read-only data segment
2017-12-14 22:14:36 +03:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Nikita Popov
b72b1a4e4d
Add zend_object_alloc() API
...
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.
Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
2017-11-25 17:12:37 +01:00
Morva Kristóf
ed0a58d0ae
Enable JSON1 for bundled libsqlite
2017-11-22 12:00:13 +01:00
Christoph M. Becker
35e2984b91
Updated bundled libsqlite to 3.21.0
2017-11-07 16:21:07 +01:00
Dmitry Stogov
9cf87aa196
Avoid HashTable allocations for empty arrays (using zend_empty_array).
2017-10-24 17:27:31 +03:00
Remi Collet
a8835d05d5
Merge branch 'PHP-7.2'
...
* PHP-7.2:
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:56:24 +02:00
Remi Collet
1248e0f7f5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:56:13 +02:00
Remi Collet
bcf50b7261
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:56:00 +02:00
Remi Collet
3239f6d679
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:55:45 +02:00
Christoph M. Becker
bd6630ea8e
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Update to SQLite 3.20.1
2017-08-26 12:13:55 +02:00
Christoph M. Becker
3a2ad5b2c5
Update to SQLite 3.20.1
2017-08-26 12:13:06 +02:00
Remi Collet
b1cf87a4e6
Merge branch 'PHP-7.2'
...
* PHP-7.2:
win32 for pdo_sqlite
2017-08-04 13:29:02 +02:00
Remi Collet
17bb8d575a
win32 for pdo_sqlite
2017-08-04 13:28:48 +02:00
Remi Collet
f6a48dfd9b
Merge branch 'PHP-7.2'
...
* PHP-7.2:
use AC_DEFINE + win32
2017-08-04 13:22:09 +02:00
Remi Collet
bf1c242cf4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
use AC_DEFINE + win32
2017-08-04 13:21:54 +02:00
Remi Collet
aee20e637a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use AC_DEFINE + win32
2017-08-04 13:21:41 +02:00
Remi Collet
159e5c1048
use AC_DEFINE + win32
2017-08-04 13:21:28 +02:00
Remi Collet
f4727d447c
Merge branch 'PHP-7.2'
...
* PHP-7.2:
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:03:38 +02:00
Remi Collet
5e5895a464
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:03:23 +02:00
Remi Collet
5f030924c1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:03:02 +02:00
Remi Collet
666cb6c802
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:01:56 +02:00
Christoph M. Becker
ae5589080b
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Update to SQLite 3.20.0
2017-08-01 18:31:43 +02:00
Christoph M. Becker
fe107cce45
Update to SQLite 3.20.0
2017-08-01 18:26:14 +02:00
marcosptf
6347e25c2f
add new test to uncoverage SQLite3 method.
2017-07-25 09:12:34 +01:00
Anatol Belski
176b45fa3a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-09 01:32:07 +02:00
Anatol Belski
02cc492015
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-09 01:31:25 +02:00
Anatol Belski
b5338c0b7d
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-08 23:52:22 +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
Christoph M. Becker
e511f152f4
Merge branch 'pull-request/2528'
...
* pull-request/2528:
Change flags to use SQLITE3_OPEN_READ* constants instead of a fake-boolean, add tests on errors
Implement writing to BLOBs in SQLite3
2017-06-19 14:47:42 +02:00
Christoph M. Becker
130f06a8a1
Update to SQLite 3.19.3
2017-06-09 14:47:18 +02:00
Christoph M. Becker
fb0f3f60d4
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Use reasonable SQLite3 module version
2017-06-09 14:11:11 +02:00
Christoph M. Becker
1980234fc2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use reasonable SQLite3 module version
2017-06-09 14:05:04 +02:00
Christoph M. Becker
c3b910370c
Use reasonable SQLite3 module version
...
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3
module version is hardcoded to `0.7-dev`. It doesn't appear to make
much sense to have an own module version for a bundled extensions, but
as other code might rely on it, we don't remove the constant but rather
make it an alias of the PHP version.
2017-06-09 13:49:32 +02:00
BohwaZ
626ee74ee8
Change flags to use SQLITE3_OPEN_READ* constants instead of a fake-boolean, add tests on errors
2017-06-08 11:25:00 +12:00
Christoph M. Becker
455db49c1b
Update to SQLite 3.19.2
2017-06-07 14:34:57 +02:00
BohwaZ
208aea1e85
Implement writing to BLOBs in SQLite3
2017-05-18 11:54:55 +12:00
Christoph M. Becker
e0f2a70c22
Update to SQLite 3.18.0
2017-04-17 00:44:30 +02:00
Anatol Belski
e282c403c5
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix misleading typo in identifiers
2017-04-11 13:50:56 +02:00
Anatol Belski
a334da8b17
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix misleading typo in identifiers
2017-04-11 13:49:19 +02:00