[sr-dev] git:master:f5e02f7b: lib/srdb1/schema: silo removed BLOB/TEXT defaults

Victor Seva linuxmaniac at torreviejawireless.org
Tue Apr 21 16:40:29 CEST 2015


Module: kamailio
Branch: master
Commit: f5e02f7be4fcf629728254afff2e1c4c257d563c
URL: https://github.com/kamailio/kamailio/commit/f5e02f7be4fcf629728254afff2e1c4c257d563c

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2015-04-21T16:23:00+02:00

lib/srdb1/schema: silo removed BLOB/TEXT defaults

>From https://dev.mysql.com/doc/refman/5.0/en/blob.html
"BLOB and TEXT columns cannot have DEFAULT values."

---

Modified: lib/srdb1/schema/silo.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/f5e02f7be4fcf629728254afff2e1c4c257d563c.diff
Patch: https://github.com/kamailio/kamailio/commit/f5e02f7be4fcf629728254afff2e1c4c257d563c.patch

---

diff --git a/lib/srdb1/schema/silo.xml b/lib/srdb1/schema/silo.xml
index 67eeb67..3702173 100644
--- a/lib/srdb1/schema/silo.xml
+++ b/lib/srdb1/schema/silo.xml
@@ -92,14 +92,14 @@
     <column>
         <name>body</name>
         <type>binary</type>
-        <default/>
+        <null/>
         <description>Body of the message</description>
     </column>
 
     <column>
         <name>extra_hdrs</name>
         <type>text</type>
-        <default/>
+        <null/>
         <description>Extra headers that must be restored</description>
     </column>
 




More information about the sr-dev mailing list