]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- added conditional build for smaller phrases in fulltext search.
authorserek <serek@pld-linux.org>
Fri, 10 Jan 2003 21:57:55 +0000 (21:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql-fulltext-small.patch -> 1.1
    mysql.spec -> 1.144

mysql-fulltext-small.patch [new file with mode: 0644]
mysql.spec

diff --git a/mysql-fulltext-small.patch b/mysql-fulltext-small.patch
new file mode 100644 (file)
index 0000000..8a4a176
--- /dev/null
@@ -0,0 +1,11 @@
+--- myisam/ftdefs.h    Fri Jan 10 23:39:49 2003
++++ myisam/ftdefs.h.tjbnym     Fri Jan 10 23:39:39 2003
+@@ -22,7 +22,7 @@
+ #include <m_ctype.h>
+ #include <my_tree.h>
+-#define MIN_WORD_LEN 4
++#define MIN_WORD_LEN 3
+ #define HYPHEN_IS_DELIM
+ #define HYPHEN_IS_CONCAT     /* not used for now */
index b59cde6e70075aa24031c7eb235c2195e8a12889..45310f85f461b3a6fd0bc39858b1b0c27d7897fb 100644 (file)
@@ -1,5 +1,13 @@
-# _with_innodb - with InnoDB backend
-# _with_bdb    - with Berkeley DB backend
+#
+# Conditional build:
+# _with_innodb        - with InnoDB backend
+# _with_bdb           - with Berkeley DB backend
+# _with_small_fulltext - with fulltext indexes lowered from 4 to 3 characters
+#
+#%define       _with_innodb    1
+#%define       _with_bdb       1
+#%define       _with_small_fulltext    1
+#
 %include       /usr/lib/rpm/macros.perl
 Summary:       MySQL: a very fast and reliable SQL database engine
 Summary(fr):   MySQL: un serveur SQL rapide et fiable
@@ -11,7 +19,7 @@ Summary(zh_CN):       MySQL
 Name:          mysql
 Group:         Applications/Databases
 Version:       3.23.54a
-Release:       1
+Release:       2
 License:       GPL/LGPL
 #http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.54a.tar.gz shows mirrors list
 Source0:       ftp://gd.tuwien.ac.at/db/mysql/Downloads/MySQL-3.23/%{name}-%{version}.tar.gz
@@ -25,6 +33,7 @@ Patch2:               %{name}-opt.patch
 Patch3:                %{name}-moreincludes.patch
 Patch4:                %{name}-info-res.patch
 Patch5:                %{name}-noproc.patch
+Patch6:                %{name}-fulltext-small.patch
 Icon:          mysql.gif
 URL:           http://www.mysql.com/
 Requires:      %{name}-libs = %{version}
@@ -298,6 +307,7 @@ MySQL.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%{?_with_small_fulltext:%patch6 -p0}
 
 %build
 rm -f missing
This page took 0.040087 seconds and 4 git commands to generate.