[xwiki/xwiki-platform] ce77f6: XWIKI-24632: The MySQL/MariaDB table row format ca...
Branch: refs/heads/XWIKI-24632 Home: https://github.com/xwiki/xwiki-platform Commit: ce77f6a93db1c34613e23613bd91caf40eb33450 https://github.com/xwiki/xwiki-platform/commit/ce77f6a93db1c34613e23613bd91c... Author: Vincent Massol <[email protected]> Date: 2026-08-23 (Sun, 23 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/store/hibernate/internal/MySQLHibernateAdapter.java A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/store/hibernate/internal/MySQLHibernateAdapterTest.java Log Message: ----------- XWIKI-24632: The MySQL/MariaDB table row format can be updated in the wrong database * Qualify the ALTER TABLE ... ROW_FORMAT statement with the database of the current wiki, so that it no longer depends on the database currently selected in the pooled JDBC connection * Add unit tests for MySQLHibernateAdapter#getAlterRowFormatString Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: d3474bb86371066b1d597da7341b4f1f7e9d286f https://github.com/xwiki/xwiki-platform/commit/d3474bb86371066b1d597da7341b4... Author: Vincent Massol <[email protected]> Date: 2026-08-23 (Sun, 23 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/store/hibernate/internal/MySQLHibernateAdapterTest.java M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-test/xwiki-platform-wiki-test-docker/src/test/it/org/xwiki/wiki/test/ui/WikiManagerRestIT.java Log Message: ----------- XWIKI-24632: The MySQL/MariaDB table row format can be updated in the wrong database * Add a functional test asserting that the row format of the xwikircs table of a newly created subwiki is set in that wiki's own database, skipped when not running on MySQL/MariaDB * Trim MySQLHibernateAdapterTest down to the qualified statement and the fallback when there is no current wiki, now that the effect is covered by the functional test Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/348c3e4c6b56...d3474bb86371 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications