Commit 31091c3b authored by monty@narttu's avatar monty@narttu

merge

parents 17741ac2 ea206309
...@@ -22,11 +22,14 @@ jcole@tetra.spaceapes.com ...@@ -22,11 +22,14 @@ jcole@tetra.spaceapes.com
jorge@linux.jorge.mysql.com jorge@linux.jorge.mysql.com
kaj@work.mysql.com kaj@work.mysql.com
lenz@kallisto.mysql.com lenz@kallisto.mysql.com
lenz@mysql.com
miguel@hegel.local miguel@hegel.local
miguel@light.local miguel@light.local
monty@bitch.mysql.fi monty@bitch.mysql.fi
monty@donna.mysql.fi monty@donna.mysql.fi
monty@hundin.mysql.fi monty@hundin.mysql.fi
monty@narttu.
monty@narttu.mysql.fi
monty@tik.mysql.fi monty@tik.mysql.fi
monty@tramp.mysql.fi monty@tramp.mysql.fi
monty@work.mysql.com monty@work.mysql.com
...@@ -53,4 +56,3 @@ tonu@x3.internalnet ...@@ -53,4 +56,3 @@ tonu@x3.internalnet
venu@work.mysql.com venu@work.mysql.com
zak@balfor.local zak@balfor.local
zak@linux.local zak@linux.local
lenz@mysql.com
...@@ -6182,6 +6182,9 @@ and are configured with the following compilers and options: ...@@ -6182,6 +6182,9 @@ and are configured with the following compilers and options:
@item BSDI BSD/OS 2.1 i386 with @code{gcc} 2.7.2 @item BSDI BSD/OS 2.1 i386 with @code{gcc} 2.7.2
@code{CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex} @code{CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex}
@item FreeBSD 4.4-stable i386 with @code{gcc} 2.95.3
@code{CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql "--with-comment=Official MySQL binary" --with-extra-charsets=complex "--with-server-suffix=" --enable-thread-safe-client --enable-local-infile --enable-assembler --with-named-z-libs=not-used --disable-shared}
@end table @end table
Anyone who has more optimal options for any of the preceding Anyone who has more optimal options for any of the preceding
...@@ -6831,7 +6834,9 @@ shell> CC=gcc CXX=gcc ./configure ...@@ -6831,7 +6834,9 @@ shell> CC=gcc CXX=gcc ./configure
@end example @end example
When you use @code{gcc} as your C++ compiler, it will not attempt to link in When you use @code{gcc} as your C++ compiler, it will not attempt to link in
@code{libg++} or @code{libstdc++}. @code{libg++} or @code{libstdc++}. This may be a good idea to do even if you
have the above libraries installed, as some versions of these libraries have
caused strange problems for MySQL users in the past.
Here are some common environment variables to set depending on Here are some common environment variables to set depending on
the compiler you are using: the compiler you are using:
...@@ -7186,7 +7191,11 @@ This works because @code{gcc} compiles C++ sources as well as @code{g++} ...@@ -7186,7 +7191,11 @@ This works because @code{gcc} compiles C++ sources as well as @code{g++}
does, but does not link in @code{libg++} or @code{libstdc++} by default. does, but does not link in @code{libg++} or @code{libstdc++} by default.
Another way to fix these problems, of course, is to install @code{g++}, Another way to fix these problems, of course, is to install @code{g++},
@code{libg++}, and @code{libstdc++}. @code{libg++}, and @code{libstdc++}. We would however like to recommend
you to not use @code{libg++} or @code{libstdc++} with MySQL as this will
only increase the binary size of mysqld without giving you any benefits.
Some versions of these libraries have also caused strange problems for
MySQL users in the past.
@item @item
If your compile fails with errors, such as any of the following, If your compile fails with errors, such as any of the following,
...@@ -8986,9 +8995,6 @@ You can avoid using @file{libg++.a} by running @code{configure} like this: ...@@ -8986,9 +8995,6 @@ You can avoid using @file{libg++.a} by running @code{configure} like this:
shell> CXX=gcc ./configure shell> CXX=gcc ./configure
@end example @end example
If you are running gcc 3.0 or above, you can't use the aforementioned trick
of setting CXX=gcc.
@node Linux-SPARC, Linux-Alpha, Linux-x86, Linux @node Linux-SPARC, Linux-Alpha, Linux-x86, Linux
@subsubsection Linux SPARC Notes @subsubsection Linux SPARC Notes
...@@ -15167,7 +15173,7 @@ before. ...@@ -15167,7 +15173,7 @@ before.
One can disable all @code{LOAD DATA LOCAL} commands in the MySQL server One can disable all @code{LOAD DATA LOCAL} commands in the MySQL server
by starting @code{mysqld} with @code{--local-infile=0}. by starting @code{mysqld} with @code{--local-infile=0}.
In the case that @code{LOAD DATA INFILE} is disabled in the server or In the case that @code{LOAD DATA LOCAL INFILE} is disabled in the server or
the client, you will get the error message (1148): the client, you will get the error message (1148):
@example @example
...@@ -19681,12 +19687,12 @@ very little resources. ...@@ -19681,12 +19687,12 @@ very little resources.
@item @code{ft_min_word_len} @item @code{ft_min_word_len}
The minimum length of the word to be included in a @code{FULLTEXT} index. The minimum length of the word to be included in a @code{FULLTEXT} index.
@strong{Note: @code{FULLTEXT} indexes must be rebuilt after changing @strong{Note: @code{FULLTEXT} indexes must be rebuilt after changing
this variable.} this variable.} (This option is new for MySQL 4.0).
@item @code{ft_max_word_len} @item @code{ft_max_word_len}
The maximum length of the word to be included in a @code{FULLTEXT} index. The maximum length of the word to be included in a @code{FULLTEXT} index.
@strong{Note: @code{FULLTEXT} indexes must be rebuilt after changing @strong{Note: @code{FULLTEXT} indexes must be rebuilt after changing
this variable.} this variable.} (This option is new for MySQL 4.0).
@item @code{ft_max_word_len_sort} @item @code{ft_max_word_len_sort}
The maximum length of the word in a @code{FULLTEXT} index The maximum length of the word in a @code{FULLTEXT} index
...@@ -22442,7 +22448,8 @@ tables. ...@@ -22442,7 +22448,8 @@ tables.
@item -K, --disable-keys @item -K, --disable-keys
@code{/*!40000 ALTER TABLE tb_name DISABLE KEYS */;} and @code{/*!40000 ALTER TABLE tb_name DISABLE KEYS */;} and
@code{/*!40000 ALTER TABLE tb_name ENABLE KEYS */;} @code{/*!40000 ALTER TABLE tb_name ENABLE KEYS */;}
will be put in the output. will be put in the output. This will make loading the data into a MySQL
4.0 server faster as the index are created after all data are inserted.
@item -n, --no-create-db @item -n, --no-create-db
@code{CREATE DATABASE /*!32312 IF NOT EXISTS*/ db_name;} will not be put in the @code{CREATE DATABASE /*!32312 IF NOT EXISTS*/ db_name;} will not be put in the
output. The above line will be added otherwise, if --databases or output. The above line will be added otherwise, if --databases or
...@@ -36371,8 +36378,8 @@ unless you know what you are doing! ...@@ -36371,8 +36378,8 @@ unless you know what you are doing!
@item @item
The minimum length of words to be indexed is defined by the MySQL The minimum length of words to be indexed is defined by the MySQL
variable @code{ft_min_word_length}. @xref{SHOW VARIABLES}. variable @code{ft_min_word_length}. @xref{SHOW VARIABLES}.
Change it to the value you prefer, and rebuild Change it to the value you prefer, and rebuild your @code{FULLTEXT} indexes.
your @code{FULLTEXT} indexes. (This is only available for MySQL 4.0)
@item @item
The stopword list is defined in @file{myisam/ft_static.c} The stopword list is defined in @file{myisam/ft_static.c}
...@@ -44222,9 +44229,9 @@ shell> ./configure --enable-thread-safe-client ...@@ -44222,9 +44229,9 @@ shell> ./configure --enable-thread-safe-client
@end example @end example
This will create a thread-safe client library @code{libmysqlclient_r}. This will create a thread-safe client library @code{libmysqlclient_r}.
@code{--enable-thread-safe-client}. This library is thread-safe per (Assuming your OS has a thread safe @code{gethostbyname_r()} function)
connection. You can let two threads share the same connection with This library is thread-safe per connection. You can let two threads
the following caveats: share the same connection with the following caveats:
@itemize @bullet @itemize @bullet
@item @item
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment