[Pkg-owncloud-commits] [php-sabredav] 08/19: Components field is too small to hold all values.

David Prévot taffit at moszumanska.debian.org
Thu Apr 7 01:40:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 0b43a61e4fc7ef3158108829b7d133deabc5e7a9
Author: Evert Pot <me at evertpot.com>
Date:   Tue Mar 29 17:59:01 2016 -0400

    Components field is too small to hold all values.
---
 ChangeLog.md                     | 7 +++++++
 examples/sql/mysql.calendars.sql | 2 +-
 lib/DAV/Version.php              | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog.md b/ChangeLog.md
index 407c61b..53931eb 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,6 +1,13 @@
 ChangeLog
 =========
 
+2.1.11 (2016-??-??)
+-------------------
+
+* #805: It wasn't possible to create calendars that hold events, journals and
+  todos using MySQL, because the `components` column was 1 byte too small.
+
+
 2.1.10 (2016-03-10)
 -------------------
 
diff --git a/examples/sql/mysql.calendars.sql b/examples/sql/mysql.calendars.sql
index 15eed35..dadd73c 100644
--- a/examples/sql/mysql.calendars.sql
+++ b/examples/sql/mysql.calendars.sql
@@ -23,7 +23,7 @@ CREATE TABLE calendars (
     calendarorder INT(11) UNSIGNED NOT NULL DEFAULT '0',
     calendarcolor VARBINARY(10),
     timezone TEXT,
-    components VARBINARY(20),
+    components VARBINARY(21),
     transparent TINYINT(1) NOT NULL DEFAULT '0',
     UNIQUE(principaluri, uri)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
diff --git a/lib/DAV/Version.php b/lib/DAV/Version.php
index 7804e06..762ed17 100644
--- a/lib/DAV/Version.php
+++ b/lib/DAV/Version.php
@@ -14,6 +14,6 @@ class Version {
     /**
      * Full version number
      */
-    const VERSION = '2.1.10';
+    const VERSION = '2.1.11';
 
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list