mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
The Postgres implementation was always faulty, but the database exception was swallowed until See https://github.com/silverstripe/silverstripe-framework/pull/9456. Now that the the exception is only swallowed the first time, the second recurrence will cause failing test execution. This is a bit of an awkward fix, but the indirection "through" DataObject doesn't allow for anything else without changing public API surface. The logic goes from TempDatabase to DBSchemaManager, then through the closure into DataObject->requireTable(), then back into DBSchemaManager->requireTable(). And updateschema() is subclassed in SQLite3, making it difficult to add more arguments. VACUUM is described as: > VACUUM reclaims storage occupied by dead tuples. In normal PostgreSQL operation, tuples that are deleted or obsoleted by an update are not physically removed from their table; they remain present until a VACUUM is done. Therefore it's necessary to do VACUUM periodically, especially on frequently-updated tables. https://www.postgresql.org/docs/9.1/sql-vacuum.html Since test databases are short-lived, there's no reason to delete dead tuples, they'll be garbage collected when either the transaction is rolled back, or the database is destroyed after the test run.
SilverStripe Framework
PHP framework forming the base for the SilverStripe CMS (https://silverstripe.org).
Requires a silverstripe-installer
base project. Typically used alongside the cms
module.
Installation
See installation on different platforms, and installation from source.
Bugtracker
Bugs are tracked on github.com. Please read our issue reporting guidelines.
Development and Contribution
If you would like to make changes to the SilverStripe core codebase, we have an extensive guide to contributing code.
Links
- Server Requirements
- Changelogs
- Bugtracker: Framework
- Bugtracker: CMS
- Bugtracker: Installer
- Forums
- Developer Mailinglist
- License
Attribution
- Some icons by Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License.
- default_media.png by Thibault Geffroy from The Noun Project. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License.
Description
Languages
PHP
99.4%
Scheme
0.5%