Commit 509fb8d1 authored by unknown's avatar unknown

manual.texi misc small cleanups

manual.texi	"leafs" is not a word.  Except in hockey. :-)
manual.texi	fix typo


Docs/manual.texi:
  misc small cleanups
parent 8b1d7dbe
......@@ -28393,7 +28393,7 @@ Note that if you specify @code{ZEROFILL} for a column, MySQL will
automatically add the @code{UNSIGNED} attribute to the column.
@strong{Warning:} You should be aware that when you use subtraction
between integers values where one is of type @code{UNSIGNED}, the result
between integer values where one is of type @code{UNSIGNED}, the result
will be unsigned! @xref{Cast Functions}.
@table @code
......@@ -33938,8 +33938,9 @@ given by @code{where_definition}, and returns the number of records deleted.
If you issue a @code{DELETE} with no @code{WHERE} clause, all rows are
deleted. If you do this in @code{AUTOCOMMIT} mode, this works as
@code{TRUNCATE}. @xref{TRUNCATE}. In MySQL 3.23 @code{DELETE} without a
@code{WHERE} clause will return zero as the number of affected records.
@code{TRUNCATE}. @xref{TRUNCATE, , @code{TRUNCATE}}. In MySQL 3.23,
@code{DELETE} without a @code{WHERE} clause will return zero as the number
of affected records.
If you really want to know how many records are deleted when you are deleting
all rows, and are willing to suffer a speed penalty, you can use a
......@@ -33956,18 +33957,18 @@ If you specify the keyword @code{LOW_PRIORITY}, execution of the
@code{DELETE} is delayed until no other clients are reading from the table.
If you specify the word @code{QUICK} then the table handler will not
merge index leafs during delete, which may speed up certain kind of
merge index leaves during delete, which may speed up certain kind of
deletes.
In MyISAM tables deleted records are maintained in a linked list and
In @code{MyISAM} tables, deleted records are maintained in a linked list and
subsequent @code{INSERT} operations reuse old record positions. To
reclaim unused space and reduce file sizes, use the @code{OPTIMIZE
TABLE} statement or the @code{myisamchk} utility to reorganise tables.
@code{OPTIMIZE TABLE} is easier, but @code{myisamchk} is faster. See
@ref{OPTIMIZE TABLE, , @code{OPTIMIZE TABLE}} and @ref{Optimisation}.
The first multi table delete format is supported starting from MySQL 4.0.0.
The second multi table delete format is supported starting from MySQL 4.0.2.
The first multi-table delete format is supported starting from MySQL 4.0.0.
The second multi-table delete format is supported starting from MySQL 4.0.2.
The idea is that only matching rows from the tables listed
@strong{before} the @code{FROM} or before the @code{USING} clause are
......@@ -33988,8 +33989,8 @@ DELETE FROM t1,t2 USING t1,t2,t3 WHERE t1.id=t2.id AND t2.id=t3.id
In the above case we delete matching rows just from tables @code{t1} and
@code{t2}.
@code{ORDER BY} and using multiple tables in the DELETE is supported in
MySQL 4.0.
@code{ORDER BY} and using multiple tables in the @code{DELETE} is supported
in MySQL 4.0.
If an @code{ORDER BY} clause is used, the rows will be deleted in that order.
This is really only useful in conjunction with @code{LIMIT}. For example:
......@@ -48749,13 +48750,13 @@ Fixed bug with indexless boolean fulltext search.
Fixed bug that sometimes appeared when fulltext search was used
with ``const'' tables.
@item
Fixed wrong error value when doing a @code{SELECT} with an empty HEAP table.
Fixed incorrect error value when doing a @code{SELECT} with an empty HEAP table.
@item
Use @code{ORDER BY column DESC} now sorts @code{NULL} values first.
@item
Fixed bug in @code{WHERE key_name='constant' ORDER BY key_name DESC}.
@item
Fixed bug in @code{SELECT DISTINCT ... ORDER BY DESC} optimization.
Fixed bug in @code{SELECT DISTINCT ... ORDER BY DESC} optimisation.
@item
Fixed bug in @code{... HAVING 'GROUP_FUNCTION'(xxx) IS [NOT] NULL}.
@item
......@@ -48763,7 +48764,7 @@ Fixed bug in truncation operator for boolean fulltext search.
@item
Allow numeric user id to @code{mysqld --user=#}.
@item
Fixed a bug where @code{SQL_CALC_ROWS} returned a wrong value when used
Fixed a bug where @code{SQL_CALC_ROWS} returned an incorrect value when used
with one table and @code{ORDER BY} and with InnoDB tables.
@item
Fixed that @code{SELECT 0 LIMIT 0} doesn't hang thread.
......@@ -48774,11 +48775,11 @@ many keys with the same start column.
Don't use table scan with BerkeleyDB and InnoDB tables when we can use
an index that covers the whole row.
@item
Optimized InnoDB sort-buffer handling to take less memory.
Optimised InnoDB sort-buffer handling to take less memory.
@item
Fixed bug in multi table @code{DELETE} and InnoDB tables.
Fixed bug in multi-table @code{DELETE} and InnoDB tables.
@item
Fixed problem with @code{TRUNCATE} and InnoDB that gave the error
Fixed problem with @code{TRUNCATE} and InnoDB that produced the error
@code{Can't execute the given command because you have active locked
tables or an active transaction}.
@item
......@@ -48799,7 +48800,7 @@ Fixed new bug in @code{myisamchk} where it didn't correctly update number of
@item
Changed to use @code{autoconf} 2.52 (from @code{autoconf} 2.13).
@item
Fixed optimization problem where the MySQL Server was in ``preparing'' state
Fixed optimisation problem where the MySQL Server was in ``preparing'' state
for a long time when selecting from an empty table which had contained
a lot of rows.
@item
......@@ -48807,9 +48808,9 @@ Fixed bug in complicated join with @code{const} tables. This fix also
improves performance a bit when referring to another table from a
@code{const} table.
@item
First pre-version of multi table @code{UPDATE}s.
First pre-version of multi-table @code{UPDATE} statement.
@item
Fixed bug in multi table @code{DELETE}.
Fixed bug in multi-table @code{DELETE}.
@item
Fixed bug in @code{SELECT CONCAT(argument-list) ... GROUP BY 1}.
@item
......@@ -48860,7 +48861,7 @@ Fixed stack overrun problem @code{LOAD DATA FROM MASTER} on OSF1.
@item
Fixed shutdown problem on HP-UX.
@item
Added functions @code{des_encrypt()} and @code{des_decrypt()}.
Added functions @code{DES_ENCRYPT()} and @code{DES_DECRYPT()}.
@item
Added statement @code{FLUSH DES_KEY_FILE}.
@item
......@@ -48901,7 +48902,7 @@ able to use boolean fulltext search}.
@code{LOCATE()} and @code{INSTR()} are now case sensitive if either
argument is a binary string.
@item
Changed @code{RAND()} initialization so that @code{RAND(N)} and
Changed @code{RAND()} initialisation so that @code{RAND(N)} and
@code{RAND(N+1)} are more distinct.
@item
Fixed core dump bug in @code{UPDATE ... ORDER BY}.
......@@ -49190,7 +49191,7 @@ Fixed problem with one thread using an InnoDB table and another
thread doing an @code{ALTER TABLE} on the same table. Before that,
mysqld could crash with an assertion failure in row0row.c, line 474.
@item
Tuned the InnoDB SQL optimizer to favor more often index searches
Tuned the InnoDB SQL optimiser to favor more often index searches
over table scans.
@item
Fixed a performance problem with InnoDB tables when several large SELECT
......@@ -49200,7 +49201,7 @@ platforms.
@item
If MySQL binlogging is used, InnoDB now prints after crash recovery the
latest MySQL binlog name and the offset InnoDB was able to recover
to. This is useful, for example, when resynchronizing a master and a
to. This is useful, for example, when resynchronising a master and a
slave database in replication.
@item
Added better error messages to help in installation problems of InnoDB tables.
......@@ -49371,7 +49372,7 @@ Foreign keys checking is now done for @code{InnoDB} tables.
than 4 GB on those operating systems which have big files.
@item
@code{InnoDB} calculates better table cardinality estimates for the
MySQL optimizer.
MySQL optimiser.
@item
Accent characters in the default character set latin1 are ordered
according to the MySQL ordering.
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