From 6719a7008b9667dc55892eb44c76bf5ad84b7cb7 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Wed, 29 Jan 2020 05:46:54 +0200 Subject: [PATCH] Fixed gh-517 to force mysql to use a dynamic row_format on all internal JCB database tables that we overlooked. --- README.md | 10 +++++----- admin/README.txt | 10 +++++----- admin/sql/install.mysql.utf8.sql | 14 +++++++------- admin/sql/updates/mysql/2.10.10.sql | 13 +++++++++++++ componentbuilder.xml | 6 +++--- componentbuilder_update_server.xml | 19 ++++++++++++++++++- script.php | 2 +- 7 files changed, 52 insertions(+), 22 deletions(-) create mode 100644 admin/sql/updates/mysql/2.10.10.sql diff --git a/README.md b/README.md index a28ca4d08..dc042fcb8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.10) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.11) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -144,13 +144,13 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 25th January, 2020 -+ *Version*: 2.10.10 ++ *Last Build*: 29th January, 2020 ++ *Version*: 2.10.11 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **281445** ++ *Line count*: **281475** + *Field count*: **1505** -+ *File count*: **1769** ++ *File count*: **1770** + *Folder count*: **280** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). diff --git a/admin/README.txt b/admin/README.txt index a28ca4d08..dc042fcb8 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.10) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.11) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -144,13 +144,13 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 25th January, 2020 -+ *Version*: 2.10.10 ++ *Last Build*: 29th January, 2020 ++ *Version*: 2.10.11 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **281445** ++ *Line count*: **281475** + *Field count*: **1505** -+ *File count*: **1769** ++ *File count*: **1770** + *Folder count*: **280** > This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com). diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index b2512ee75..008e50342 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -220,7 +220,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_module` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) -) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` ( `id` INT(11) NOT NULL AUTO_INCREMENT, @@ -300,7 +300,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) -) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( `id` INT(11) NOT NULL AUTO_INCREMENT, @@ -749,7 +749,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) -) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci; +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` ( `id` INT(11) NOT NULL AUTO_INCREMENT, @@ -825,7 +825,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_class_property` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) -) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; CREATE TABLE IF NOT EXISTS `#__componentbuilder_class_method` ( `id` INT(11) NOT NULL AUTO_INCREMENT, @@ -860,7 +860,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_class_method` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) -) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; CREATE TABLE IF NOT EXISTS `#__componentbuilder_placeholder` ( `id` INT(11) NOT NULL AUTO_INCREMENT, @@ -1761,7 +1761,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_class_extends` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) -) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_module_updates` ( `id` INT(11) NOT NULL AUTO_INCREMENT, @@ -1844,7 +1844,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin_group` ( KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) -) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin_updates` ( `id` INT(11) NOT NULL AUTO_INCREMENT, diff --git a/admin/sql/updates/mysql/2.10.10.sql b/admin/sql/updates/mysql/2.10.10.sql new file mode 100644 index 000000000..edb2e2fc2 --- /dev/null +++ b/admin/sql/updates/mysql/2.10.10.sql @@ -0,0 +1,13 @@ +ALTER TABLE `#__componentbuilder_joomla_module` ROW_FORMAT=DYNAMIC; + +ALTER TABLE `#__componentbuilder_joomla_plugin` ROW_FORMAT=DYNAMIC; + +ALTER TABLE `#__componentbuilder_dynamic_get` ROW_FORMAT=DYNAMIC; + +ALTER TABLE `#__componentbuilder_class_property` ROW_FORMAT=DYNAMIC; + +ALTER TABLE `#__componentbuilder_class_method` ROW_FORMAT=DYNAMIC; + +ALTER TABLE `#__componentbuilder_class_extends` ROW_FORMAT=DYNAMIC; + +ALTER TABLE `#__componentbuilder_joomla_plugin_group` ROW_FORMAT=DYNAMIC; diff --git a/componentbuilder.xml b/componentbuilder.xml index 05126a32b..add0d0d8b 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -1,15 +1,15 @@ COM_COMPONENTBUILDER - 25th January, 2020 + 29th January, 2020 Llewellyn van der Merwe llewellyn@joomlacomponentbuilder.com http://www.joomlacomponentbuilder.com Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 2.10.10 + 2.10.11 Component Builder (v.2.10.10) +

Component Builder (v.2.10.11)

The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time. diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml index cc640e1ba..976efb168 100644 --- a/componentbuilder_update_server.xml +++ b/componentbuilder_update_server.xml @@ -908,7 +908,24 @@ 2.10.10 http://www.joomlacomponentbuilder.com - https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.10.10/JCB_v2.10.10.zip + https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.10.11/JCB_v2.10.11.zip + + + stable + + Llewellyn van der Merwe + http://www.joomlacomponentbuilder.com + + + + Component Builder + Builds Complex Joomla Components + com_componentbuilder + component + 2.10.11 + http://www.joomlacomponentbuilder.com + + https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.10.11/JCB_v2.10.11.zip stable diff --git a/script.php b/script.php index 01a0cda1d..33b98dd83 100644 --- a/script.php +++ b/script.php @@ -9115,7 +9115,7 @@ class com_componentbuilderInstallerScript echo ' -

Upgrade to Version 2.10.10 Was Successful! Let us know if anything is not working as expected.

'; +

Upgrade to Version 2.10.11 Was Successful! Let us know if anything is not working as expected.

'; // Set db if not set already. if (!isset($db))