diff options
author | unknown <monty@donna.mysql.com> | 2000-09-13 01:08:34 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-09-13 01:08:34 +0300 |
commit | 1040f1ac8ec95fcd2f42bc3b4d74d5ee01584e8f (patch) | |
tree | 42c131dcc09b3b264d33b14120eaae7687ab2425 /Docs | |
parent | de04a97b613356f19bfbe67856cda64774865832 (diff) | |
download | mariadb-git-1040f1ac8ec95fcd2f42bc3b4d74d5ee01584e8f.tar.gz |
Fixes for FULLTEXT and TIME type
Docs/manual.texi:
Update of Linux notes and mysql_install_db
include/my_tree.h:
new tree function
myisam/ft_parser.c:
Fix free() bug
myisam/ft_search.c:
Fix free() bug
myisam/ft_update.c:
Fix free() bug
scripts/safe_mysqld.sh:
Check if we run as root
sql-bench/Results-linux/ATIS-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/ATIS-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/RUN-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/RUN-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/alter-table-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/alter-table-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/big-tables-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/big-tables-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/connect-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/connect-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/create-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/create-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/insert-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/insert-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/select-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/select-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/wisconsin-mysql-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/Results-linux/wisconsin-mysql_fast-Linux_2.2.13_SMP_alpha:
***MISSING WEAVE***
sql-bench/server-cfg.sh:
Added use of OPTIMIZE TABLE
sql-bench/test-ATIS.sh:
Added use of OPTIMIZE TABLE
sql-bench/test-insert.sh:
Added use of OPTIMIZE TABLE
sql-bench/test-select.sh:
Added use of OPTIMIZE TABLE
sql-bench/test-wisconsin.sh:
Added use of OPTIMIZE TABLE
sql/field.cc:
Fix TIME type
sql/item_func.h:
Fixed Free bug
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/manual.texi | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi index 11136bbc9a0..cc5126dba25 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -3368,7 +3368,7 @@ encounter per year, but we are always very flexible towards our customers! * Source install system issues:: System-specific issues * Windows:: Windows notes * OS/2:: OS/2 notes -* MySQL binaries:: +* MySQL binaries:: MySQL binaries * Post-installation:: Post-installation setup and testing * Upgrade:: Is there anything special to do when upgrading/downgrading @strong{MySQL}? @end menu @@ -6020,9 +6020,14 @@ patch could do - use at your own risk. We have also been told by the Linux kernel developers that this problem is fixed in 2.4, although we have not yet done any testing. +We have also tested @strong{MySQL} on Linux 2.4 on a 2 CPU machine and +@strong{MySQL} scales MUCH better on this! If your plan to set up a +dedicated Linux SMP machine to run @code{MySQL} under heavy, we +recommend that you give 2.4 a try! + The current implementation of mutex in Linuxthreads is also very bad for programs with many threads that only holds the mutex for a short time. -We have made a patch availlable for glibc 2.1, +We have made a patch available for glibc 2.1, @uref{http://www.mysql.com/Downloads/Linux/linuxthreads-2.1-patch,linuxthreads-2.1-patch} and for glibc 2.2, @uref{http://www.mysql.com/Downloads/Linux/linuxthreads-2.2-patch,linuxthreads-2.2-patch}. @@ -6376,9 +6381,6 @@ Using @code{gcc-2.9-final}: CFLAGS="-O2" CXX=gcc CXXFLAGS="-O2 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex @end example -After this you have to edit @file{config.h} and remove the -@code{HAVE_ATOMIC_ADD} line. - After @code{make} you will get an error that @code{sql/opt_range.cc} will not compile (internal compiler error). To fix this, go to the sql directory and type @code{make} again. Copy the compile line, but change @@ -7540,6 +7542,7 @@ able to mix @code{INSERT} and @code{SELECT}. Currently we use mutexes to emulate @code{pread()}/@code{pwrite()}. We will in the long run replace the file level interface with a virtual interface so that we can use the @code{readfile()}/@code{writefile()} interface on NT to get more speed. + @item Blocking read @strong{MySQL} uses a blocking read for each connection. This means that: @@ -7561,7 +7564,8 @@ If a connection ``hangs,'' it's impossible to break it without killing connections. @end itemize -We plan to fix this in the near future. +We plan to fix this when our windows developers have figured out a nice +workaround for this :) @item UDF functions For the moment, @strong{MySQL}-Windows does not support user definable @@ -8072,6 +8076,19 @@ The expected results are shown in the @file{./tests/auto_increment.res} file. @node mysql_install_db, Starting server, Post-installation, Post-installation @subsection Problems running @code{mysql_install_db} +The purpose of the @code{mysql_install_db} script is to generate new +@strong{MySQL} privilege tables. It will not affect any other data! +It will also not do anything if you have already have MySQL privilege +tables installed! + +If you want to recreate your privilege tables, you should take down +the mysqld server, if its running, and then do something like: + +@example +mv mysql-data-directory/mysql mysql-data-directory/mysql-old +mysql_install_db +@end example + This section lists problems you might encounter when you run @code{mysql_install_db}: @@ -8153,7 +8170,6 @@ shell> export TMPDIR MYSQL_UNIX_PORT @file{some_tmp_dir} should be the path to some directory for which you have write permission. @xref{Environment variables}. - After this you should be able to run @code{mysql_install_db} and start the server with these commands: @@ -11237,7 +11253,7 @@ shell> mysqladmin -u root password new_password Only user with write/update access to the mysql database can change the password for others user. All normal users (not anonymous ones) can only change his own password with either of the above commands or with -@code{SET PASSWORD PASSWORD('new password')} +@code{SET PASSWORD=PASSWORD('new password')} Note that if you update the password in the @code{user} table directly using the first method, you must tell the server to reread the grant tables (with |