Skip to content

Commit a5b1a01

Browse files
committed
Changed encoding of incremental sql files to "UTF8 ohne BOM" as some older mysql versions cant load them otherwise with errors like:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `web_domain` ADD `pm` ENUM( 'static', 'dynamic', 'ondemand' ) NOT' at line 1 Loading SQL patch file: /tmp/trunk/install/sql/incremental/upd_0032.sql
1 parent 40b9bd1 commit a5b1a01

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ALTER TABLE `web_domain` ADD `pm` ENUM( 'static', 'dynamic', 'ondemand' ) NOT NULL DEFAULT 'dynamic' AFTER `php_fpm_use_socket`;
1+
ALTER TABLE `web_domain` ADD `pm` ENUM( 'static', 'dynamic', 'ondemand' ) NOT NULL DEFAULT 'dynamic' AFTER `php_fpm_use_socket`;
22
ALTER TABLE `web_domain` ADD `pm_process_idle_timeout` INT NOT NULL DEFAULT '10' AFTER `pm_max_spare_servers` , ADD `pm_max_requests` INT NOT NULL DEFAULT '0' AFTER `pm_process_idle_timeout`;

install/sql/incremental/upd_0033.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATE TABLE IF NOT EXISTS `client_circle` (
1+
CREATE TABLE IF NOT EXISTS `client_circle` (
22
`circle_id` int(11) NOT NULL AUTO_INCREMENT,
33
`sys_userid` int(11) NOT NULL DEFAULT '0',
44
`sys_groupid` int(11) NOT NULL DEFAULT '0',

install/sql/incremental/upd_0034.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- --------------------------------------------------------
1+
-- --------------------------------------------------------
22

33
--
44
-- Table structure for table `aps_instances`

install/sql/incremental/upd_0035.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- --------------------------------------------------------
1+
-- --------------------------------------------------------
22

33
--
44
-- Table structure for table `sys_theme`
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- --------------------------------------------------------
1+
-- --------------------------------------------------------
22

33
ALTER TABLE `web_domain` ADD `perl` enum('n','y') NOT NULL default 'n' AFTER `python`;
44

install/sql/incremental/upd_0037.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- --------------------------------------------------------
1+
-- --------------------------------------------------------
22

33
ALTER TABLE `client` ADD `limit_cgi` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `web_php_options`,
44
ADD `limit_ssi` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `limit_cgi`,

install/sql/incremental/upd_0038.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- --------------------------------------------------------
1+
-- --------------------------------------------------------
22

33
ALTER TABLE `web_domain` ADD `web_folder` VARCHAR( 100 ) DEFAULT NULL AFTER `document_root` ;
44

install/sql/incremental/upd_0039.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- --------------------------------------------------------
1+
-- --------------------------------------------------------
22

33
--
44
-- Tabellenstruktur für Tabelle `web_database_user`

install/sql/incremental/upd_0040.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
-- Removal of the domain module
33
UPDATE sys_user SET startmodule = 'dashboard' WHERE startmodule = 'domain';
44
UPDATE sys_user SET modules = replace(modules, ',domain', '') WHERE modules like '%domain%';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
-- Add bank account owner
33
ALTER TABLE `client` ADD `bank_account_owner` varchar(255) DEFAULT NULL AFTER `notes`;
44

0 commit comments

Comments
 (0)