summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #73959 - lastInsertId fails to throw an exception in pdsqlandrewnester2017-01-201-0/+27
|
* make timing check more forgiving in these testsAnatol Belski2016-12-151-2/+2
| | | | | | | | 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.
* Merge branch 'PHP-5.6' into PHP-7.0Matteo Beccati2016-08-041-1/+1
|\ | | | | | | | | * PHP-5.6: Clean up FR #72633
| * Clean up FR #72633Matteo Beccati2016-08-041-1/+1
| |
| * cleanup table after testAnatol Belski2016-08-021-2/+5
| |
| * - lastInsertId using Postgres Lastval() functionPablo Santiago Sánchez2016-08-021-0/+36
| |
* | cleanup the table after the test runAnatol Belski2016-07-271-1/+4
| |
* | Implemented FR #72633 Postgres PDO lastInsertId() should work without ↵root2016-07-272-2/+38
| | | | | | | | specifying a sequence
* | fix test outAnatol Belski2016-07-191-1/+1
| | | | | | | | this test also affected by #70313 which is not in the release branch
* | Merge branch 'PHP-7.0.9' into PHP-7.0Stanislav Malyshev2016-07-191-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0.9: Partial fix for bug #72613 - do not allow reading past error read update NEWS Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders Fix bug #72551 and bug #72552 - check before converting size_t->int Fix bug #72541 - size_t overflow lead to heap corruption fix possible optimization bug set versions Conflicts: configure.in ext/pdo_pgsql/tests/bug72570.phpt main/php_version.h
| * | Fixed bug #72570 Segmentation fault when binding parameters on a query ↵Matteo Beccati2016-07-141-0/+28
| | | | | | | | | | | | | | | | | | without placeholders Special commit for 7.0.9
* | | Fixed bug #72570 Segmentation fault when binding parameters on a query ↵Matteo Beccati2016-07-101-0/+28
| | | | | | | | | | | | without placeholders
* | | Merge branch 'PHP-5.6' into PHP-7.0Matteo Beccati2016-07-101-0/+37
|\ \ \ | |/ / |/| / | |/ | | * PHP-5.6: Fixed bug #70313 PDO statement fails to throw exception
| * Fixed bug #70313 PDO statement fails to throw exceptionMatteo Beccati2016-07-101-0/+37
| |
| * fix testAnatol Belski2015-08-231-2/+4
| | | | | | | | backport from master
* | Add test for bug #72294Anatol Belski2016-06-011-0/+149
| |
* | Fixed test (keyword is local related)Xinchen Hui2016-05-312-6/+6
| |
* | Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound)Xinchen Hui2016-05-111-0/+21
| |
* | fix testsAnatol Belski2016-04-062-20/+92
| |
* | add 32-bit specific variont for #62498Anatol Belski2016-04-061-0/+185
| |
* | skip test on 32-bitAnatol Belski2016-04-061-1/+2
| | | | | | | | The Postgres INT8 datatype is handled as string on 32-bit
* | fix and extend testAnatol Belski2016-04-051-22/+103
| |
* | Don't roundtrip to the database to get the column type if you already know itJoe Bylund2016-04-051-0/+103
| | | | | | | | | | | | | | | | add_assoc_string now takes just three args nikic's fix to move pqclear outside the if, would be a possible memory leak inside the if (joe) check behavior of getColumnMeta
* | add test for bug #70861Anatol Belski2015-11-051-0/+46
| |
* | fix test redirection when run not from source rootAnatol Belski2015-10-231-1/+1
| |
* | Merge branch 'PHP-5.6'Matteo Beccati2015-06-131-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Fix copy/paste error in test
| * Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2015-06-131-1/+1
| |\ | | | | | | | | | | | | * PHP-5.5: Fix copy/paste error in test
| | * Fix copy/paste error in testMatteo Beccati2015-06-131-1/+1
| | |
* | | Merge branch 'PHP-5.6'Matteo Beccati2015-06-121-0/+44
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps) Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote) Fixed bug #61574 - No MSI Conflicts: ext/pdo_pgsql/pgsql_statement.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2015-06-121-0/+44
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps) Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote) Fixed bug #61574 - No MSI Conflicts: ext/pdo_pgsql/pgsql_driver.c
| | * Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps)Matteo Beccati2015-06-121-0/+44
| | |
| | * Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading ↵Matteo Beccati2015-06-121-0/+63
| | | | | | | | | | | | single quote)
* | | Merge branch 'PHP-5.6'Matteo Beccati2015-06-121-0/+63
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote) Fixed bug #61574 - No MSI Conflicts: ext/pdo_pgsql/pgsql_driver.c win32/install.txt
| * | Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading ↵Matteo Beccati2015-06-121-0/+63
| | | | | | | | | | | | single quote)
* | | Merge branch 'PHP-5.6'Anatol Belski2015-06-111-1/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: rework that test to allow delta for rounding errors
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-06-111-1/+2
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: rework that test to allow delta for rounding errors
| | * rework that test to allow delta for rounding errorsAnatol Belski2015-06-111-1/+2
| | | | | | | | | | | | | | | If this workout doesn't make travis happy, the patch needs to be reviewed as the leak might still persist.
* | | Merge branch 'PHP-5.6'Anatol Belski2015-06-111-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: improve test
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-06-111-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: improve test
| | * improve testAnatol Belski2015-06-111-1/+1
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2015-06-101-0/+54
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-5.6: updated NEWS updated NEWS fix memory leak in pdo_pgsql closeCursor (bug 69752)
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-06-101-0/+54
| |\ \ | | |/ | | | | | | | | | | | | * PHP-5.5: updated NEWS fix memory leak in pdo_pgsql closeCursor (bug 69752)
| | * fix memory leak in pdo_pgsql closeCursor (bug 69752)Philip Hofstetter2015-06-101-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the parent PDO closeCursor method resets the pdo_stmt_t's executed flag which is used by the postgres driver as a flag to check whether to allocate memory for the column data or not. This means that after the parent closeCursor() has been called, the pdo_pgsql driver will allocate a new buffer for the columns, so the existing buffer should be freed when the cursor is being closed.
* | | Remove PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENTNikita Popov2015-04-242-95/+2
| | | | | | | | | | | | Use the generic ATTR_EMULATE_PREPARES instead.
* | | Merge branch 'PHP-5.6'Anatol Belski2015-03-141-0/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: fix test
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-03-141-0/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: fix test
| | * fix testAnatol Belski2015-03-141-0/+1
| | |
* | | Merge branch 'PHP-5.6'Matteo Beccati2015-01-051-1/+5
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-5.6: Updated NEWS for #68371 Ref #68371 - Added support for PDO::PGSQL_ATTR_DISABLE_PREPARES
| * | Ref #68371 - Added support for PDO::PGSQL_ATTR_DISABLE_PREPARESMatteo Beccati2015-01-051-1/+5
| | |
* | | Merge branch 'PHP-5.6'Matteo Beccati2015-01-051-0/+108
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names