[Libreoffice-commits] core.git: officecfg/registry

Tor Lillqvist tml at collabora.com
Mon Jan 1 15:56:11 UTC 2018


 officecfg/registry/data/org/openoffice/Office/TableWizard.xcu |   76 +++++-----
 1 file changed, 38 insertions(+), 38 deletions(-)

New commits:
commit ee29c944868a578b002103bb58595029bf385473
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Jan 1 15:14:20 2018 +0200

    Reduce large VARCHAR columns of the wizard sample databases to fit Firebird
    
    The maximum size of a VARCHAR column in Firebird is 32765 bytes [sic].
    We use the UTF8 character set and that means 8190 characters as each
    character might take four bytes. The maximum size of a row in Firebird
    is 64 KB [sic].
    
    Avoids errors when creating sample tables using the wizard using just
    the default values. If the varchar column lengths are under 8190 but
    the total row size is too large you do get a relatively helpful error
    message "new record size of <N> bytes is too big", but if you try use
    a too large size for a varchar column, just some "SQL error code =
    -204", "Impmentation limit exceeded", etc.
    
    Change-Id: I17c2bed4fc098f4e159822f6f81242aae274da7b
    Reviewed-on: https://gerrit.libreoffice.org/47232
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/officecfg/registry/data/org/openoffice/Office/TableWizard.xcu b/officecfg/registry/data/org/openoffice/Office/TableWizard.xcu
index 2b1876005ef8..e748eda1d272 100644
--- a/officecfg/registry/data/org/openoffice/Office/TableWizard.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/TableWizard.xcu
@@ -513,7 +513,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -987,7 +987,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -1379,7 +1379,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -1661,7 +1661,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -2152,7 +2152,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -2956,7 +2956,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -3158,7 +3158,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -3359,7 +3359,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="clientID" oor:op="replace">
@@ -3513,7 +3513,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="eventtypeID" oor:op="replace">
@@ -3710,7 +3710,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -3912,7 +3912,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -4052,7 +4052,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -4229,7 +4229,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -4649,7 +4649,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -4984,7 +4984,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="nextscheduledmaintenance" oor:op="replace">
@@ -5294,7 +5294,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -5338,7 +5338,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="startdate" oor:op="replace">
@@ -5383,7 +5383,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -5884,7 +5884,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="dateupdated" oor:op="replace">
@@ -6174,7 +6174,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -6345,7 +6345,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>4000</value>
               </prop>
             </node>
             <node oor:name="ingredients" oor:op="replace">
@@ -6362,7 +6362,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>4000</value>
               </prop>
             </node>
             <node oor:name="instructions" oor:op="replace">
@@ -6379,7 +6379,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>4000</value>
               </prop>
             </node>
             <node oor:name="utensils" oor:op="replace">
@@ -6413,7 +6413,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>2000</value>
               </prop>
             </node>
           </node>
@@ -6691,7 +6691,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -6893,7 +6893,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -7061,7 +7061,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -7306,7 +7306,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="notes" oor:op="replace">
@@ -7323,7 +7323,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -7562,7 +7562,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="notes" oor:op="replace">
@@ -7579,7 +7579,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -7849,7 +7849,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -8006,7 +8006,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
             <node oor:name="photo" oor:op="replace">
@@ -8037,7 +8037,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -8163,7 +8163,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -8286,7 +8286,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -8482,7 +8482,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>
@@ -8675,7 +8675,7 @@
                 <value>-1</value>
               </prop>
               <prop oor:name="Precision">
-                <value>65000</value>
+                <value>8000</value>
               </prop>
             </node>
           </node>


More information about the Libreoffice-commits mailing list