Peter Kokot
25c35ab30a
Sync phpinfo output for pdo_pgsql
...
This patch removes the module version and revision from the phpinfo
output to sync the phpinfo with the rest of the bundled extensions.
2018-06-08 23:06:22 +02: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
Anatol Belski
1bb1f17827
Fix default credentials when none was passed
2018-05-07 12:14:38 +02:00
Anatol Belski
a1a3361552
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix heap use after free
2018-03-12 21:03:36 +01:00
Anatol Belski
c469213e7b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix heap use after free
2018-03-12 21:02:40 +01:00
Anatol Belski
4cd64aad8a
Fix heap use after free
...
The value may only be used until PGresult was destroyed, thus it needs
to be copied.
2018-03-12 20:57:21 +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
Dmitry Stogov
b3e22da745
Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)
2018-01-22 15:57:00 +03:00
Dmitry Stogov
b2c060a291
Eliminate useless separation
2018-01-17 12:09:38 +03:00
Anatol Belski
205f527379
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix tests
2018-01-04 16:10:37 +01:00
Anatol Belski
fc6a990891
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix tests
2018-01-04 16:09:51 +01:00
Anatol Belski
1448f0912f
Fix tests
2018-01-04 16:08:41 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Dmitry Stogov
0d484172fe
Turn "pdo_stmt_methods" into constants.
2017-12-14 22:59:58 +03: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
Anatol Belski
0ab89a5d37
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Skip test on PostgreSQL 10
2017-10-27 16:24:22 +02:00
Anatol Belski
cbf385e68c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip test on PostgreSQL 10
2017-10-27 16:23:50 +02:00
Anatol Belski
005205714b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip test on PostgreSQL 10
2017-10-27 16:23:19 +02:00
Anatol Belski
15a71fe045
Skip test on PostgreSQL 10
...
The 42P18 error is not produced by the server anymore.
2017-10-27 16:19:42 +02:00
Kalle Sommer Nielsen
c34ba92782
Get rid of all these old package[2].xml files, most of these had no had a release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl
...
OCI, PDO_OCI and zip are left as they are actively developed and released there
2017-08-17 22:09:29 +02:00
Joe Watkins
0877839469
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
2017-01-20 20:12:30 +00:00
Joe Watkins
d6feb2edbd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
2017-01-20 20:11:49 +00:00
andrewnester
21ac79e94b
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
2017-01-20 20:10:55 +00:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Adam Baratz
d58231dda3
Add "Sent SQL" to debug dump for emulated prepares
2016-12-20 11:07:04 -05:00
Anatol Belski
b441ff6cf9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
make timing check more forgiving in these tests
2016-12-15 12:32:35 +01:00
Anatol Belski
8bc3f179ce
make timing check more forgiving in these tests
...
Particularly on slower VMs, the sporadic fails can still happen.
The timing is kept in an uncritical range, but allows the tests
pass there. Mayby, it'd make sense to introduce a new group for
this kind of tests, so tests requiring exact time measurement
can be avoided on unsuitable environments.
2016-12-15 12:20:37 +01:00
Anatol Belski
d6b46901b2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
put missing prototype and fix ts build
2016-08-14 22:39:01 +02:00
Anatol Belski
4a4422740f
put missing prototype and fix ts build
2016-08-14 22:35:01 +02:00
Anatol Belski
245eaf5187
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #72759 Regression in pgo_pgsql
2016-08-14 20:04:49 +02:00
Anatol Belski
977cbc2fff
Fixed bug #72759 Regression in pgo_pgsql
...
This is caused by the fix for #72633 . Namely, lastval() throws an error,
if no nextval() was called earlier in the same session. This is by all
means correct so far, however inside a transaction it leads to an abort.
This is the opposite to MySQL's last_insert_id() which doesn't produce
any error no matter something were autoincremented or not.
To avoid existing scripts breakage in the stable branches, the previous
patch is extended to revert the transaction to the state before the lastval()
call in case of error. It is done only for 5.6 and 7.0 to retain BC. For 7.1+,
the clean behavior should persist. This is already the current behavior, when
the sequence name is explicitly passed. So there's no reason to obfuscate the
errors where this breakage is valid.
2016-08-14 19:33:24 +02:00
Xinchen Hui
3f1e9ed8f8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
Remove typo'd commit
Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
2016-08-09 11:32:34 +08:00
Xinchen Hui
ebd21de1e4
Merge branch 'bug72788' of https://github.com/keyurdg/php-src into PHP-7.0
...
* 'bug72788' of https://github.com/keyurdg/php-src :
Remove typo'd commit
Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
2016-08-09 11:25:32 +08:00
Keyur
3f25c4228a
Fix bug 72788: Invalid memory access when database_object_handle
...
is undefined. Also fix memory leak in dbh_free when using persistent
PDO connections.
2016-08-09 00:16:46 +00:00
Matteo Beccati
70698d1566
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Clean up FR #72633
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
Conflicts:
ext/oci8/package.xml
2016-08-04 09:37:40 +02:00
Matteo Beccati
4003595d60
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Clean up FR #72633
2016-08-04 09:30:48 +02:00
Matteo Beccati
d3a8e107ac
Clean up FR #72633
2016-08-04 09:28:58 +02:00
Anatol Belski
40b3a031b2
cleanup table after test
2016-08-02 14:35:24 +02:00
Pablo Santiago Sánchez
90c6cbd09b
- lastInsertId using Postgres Lastval() function
2016-08-02 14:34:30 +02:00
Anatol Belski
915d2b9420
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
cleanup the table after the test run
2016-07-27 23:53:19 +02:00
Anatol Belski
266c62070f
cleanup the table after the test run
2016-07-27 23:50:10 +02:00
Anatol Belski
fb244637c6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Implemented FR #72633 Postgres PDO lastInsertId() should work without specifying a sequence
2016-07-27 23:03:23 +02:00
root
12628e9a46
Implemented FR #72633 Postgres PDO lastInsertId() should work without specifying a sequence
2016-07-27 23:00:12 +02:00
Anatol Belski
ce555fd1d6
Merge branch 'PHP-7.0'
...
* PHP-7.0:
fix test out
2016-07-19 15:07:10 +02:00
Anatol Belski
8e0594a944
fix test out
...
this test also affected by #70313 which is not in the release branch
2016-07-19 15:05:14 +02:00