#3863 / DB Update Fails: Expected no record, got 2 rows: SHOW TABLE STATUS WHERE Name='Form'
Introduce new config var 'DB_UPDATE' in config.qfq.ini. Update the handling, if there exist table 'form' and 'Form'. Manual.rst: document the new config option DB_UPDATE. Database.php: Typo fixed. DatabaseUpdate.php: Iterate over all found 'Form' tables, take the newest version number. Respect config option DB_UPDATE. Fixed a problem: if in the PHP DB updates a newer DB Version is configured than the PHP source itself is, such updates are now not played anymore. Config.php, QuickFormQuery.php, config.example.ini: handle config setting DB_UPDATE.
Showing
- extension/Documentation/Manual.rst 5 additions, 0 deletionsextension/Documentation/Manual.rst
- extension/config.qfq.example.ini 2 additions, 0 deletionsextension/config.qfq.example.ini
- extension/qfq/qfq/Constants.php 5 additions, 0 deletionsextension/qfq/qfq/Constants.php
- extension/qfq/qfq/QuickFormQuery.php 2 additions, 1 deletionextension/qfq/qfq/QuickFormQuery.php
- extension/qfq/qfq/database/Database.php 1 addition, 1 deletionextension/qfq/qfq/database/Database.php
- extension/qfq/qfq/database/DatabaseUpdate.php 30 additions, 13 deletionsextension/qfq/qfq/database/DatabaseUpdate.php
- extension/qfq/qfq/store/Config.php 3 additions, 0 deletionsextension/qfq/qfq/store/Config.php
Loading
Please register or sign in to comment