Przeglądaj źródła

increase maximum SQL length from 1M to 10M (this especially allows one to dump/restore larger BLOB-based DBs like Monotone repositories again)

Ralf S. Engelschall 18 lat temu
rodzic
commit
366257fa8e
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      sqlite/sqlite.spec

+ 2 - 1
sqlite/sqlite.spec

@@ -38,7 +38,7 @@ Class:        BASE
 Group:        Database
 License:      PD
 Version:      %{V_sqlite}
-Release:      20070915
+Release:      20070920
 
 #   package options
 %option       with_assert          no
@@ -127,6 +127,7 @@ AutoReqProv:  no
 %if "%{with_assert}" == "no"
     CFLAGS="$CFLAGS -DNDEBUG=1"
 %endif
+    CFLAGS="$CFLAGS -DSQLITE_MAX_SQL_LENGTH=10000000"
     CPPFLAGS="%{l_cppflags}"
     LDFLAGS="%{l_ldflags}"
     LIBS="-lm"