Merge nusphere@work.mysql.com:/home/bk/mysql
into nslinuxw2.bedford.progress.com:/users/devp/yfaktoro/bk/mysql Docs/manual.texi: Auto merged
This commit is contained in:
commit
dba4c4a8fc
@ -9533,7 +9533,7 @@ and not only the first argument.
|
||||
@item @code{AUTO_INCREMENT} will not work with negative numbers.
|
||||
@item @code{INNER}, @code{DELAYED}, @code{RIGHT} and @code{WHEN}
|
||||
are now reserved words.
|
||||
@item @code{FLOAT(X)} is now a true floating point type and not a value with
|
||||
@item @code{FLOAT(X)} is now a true floating-point type and not a value with
|
||||
a fixed number of decimals.
|
||||
@item When declaring @code{DECIMAL(length,dec)} the length argument no
|
||||
longer includes a place for the sign or the decimal point.
|
||||
@ -9680,7 +9680,7 @@ There are some new reserved words. The most notable are @code{DATE},
|
||||
|
||||
If you are using @strong{MySQL} Version 3.23, you can copy the @code{.frm},
|
||||
@code{.MYI}, and @code{.MYD} files between different architectures that
|
||||
support the same floating point format. (@strong{MySQL} takes care of any
|
||||
support the same floating-point format. (@strong{MySQL} takes care of any
|
||||
byte swapping issues.)
|
||||
|
||||
The @strong{MySQL} @code{ISAM} data and index files (@file{.ISD} and
|
||||
@ -12934,9 +12934,9 @@ In @strong{MySQL} you can refer to a column using any of the following forms:
|
||||
@multitable @columnfractions .35 .65
|
||||
@item @strong{Column reference} @tab @strong{Meaning}
|
||||
@item @code{col_name} @tab Column @code{col_name}
|
||||
from whichever table used in the query contains a column of that name
|
||||
from whichever table used in the query contains a column of that name.
|
||||
@item @code{tbl_name.col_name} @tab Column @code{col_name} from table
|
||||
@code{tbl_name} of the current database
|
||||
@code{tbl_name} of the current database.
|
||||
@item @code{db_name.tbl_name.col_name} @tab Column @code{col_name} from table
|
||||
@code{tbl_name} of the database @code{db_name}. This form is available in
|
||||
@strong{MySQL} Version 3.22 or later.
|
||||
@ -13143,7 +13143,7 @@ values! This means that if you multiply two big integers (or results
|
||||
from functions that return integers) you may get unexpected results if
|
||||
the result is larger than @code{9223372036854775807}.
|
||||
|
||||
@cindex floating point number
|
||||
@cindex floating-point number
|
||||
@tindex FLOAT
|
||||
@tindex FLOAT(precision)
|
||||
@item FLOAT(precision) [ZEROFILL]
|
||||
@ -13237,7 +13237,7 @@ A timestamp. The range is @code{'1970-01-01 00:00:00'} to sometime in the
|
||||
year @code{2037}. @strong{MySQL} displays @code{TIMESTAMP} values in
|
||||
@code{YYYYMMDDHHMMSS}, @code{YYMMDDHHMMSS}, @code{YYYYMMDD}, or @code{YYMMDD}
|
||||
format, depending on whether @code{M} is @code{14} (or missing), @code{12},
|
||||
@code{8} or @code{6}, but allows you to assign values to @code{TIMESTAMP}
|
||||
@code{8}, or @code{6}, but allows you to assign values to @code{TIMESTAMP}
|
||||
columns using either strings or numbers. A @code{TIMESTAMP} column is useful
|
||||
for recording the date and time of an @code{INSERT} or @code{UPDATE}
|
||||
operation because it is automatically set to the date and time of the most
|
||||
@ -13501,7 +13501,7 @@ a serious problem, as the principal benefits of these types derive from
|
||||
the ability to control both precision and scale explicitly.
|
||||
|
||||
@code{DECIMAL} and @code{NUMERIC} values are stored as strings, rather
|
||||
than as binary floating point numbers, in order to preserve the decimal
|
||||
than as binary floating-point numbers, in order to preserve the decimal
|
||||
precision of those values. One character is used for each digit of the
|
||||
value, the decimal point (if @code{scale} > 0), and the @samp{-} sign
|
||||
(for negative numbers). If @code{scale} is 0, @code{DECIMAL} and
|
||||
@ -15299,7 +15299,7 @@ a temporary table) is calculated in @strong{MySQL} Version 3.23 as follows:
|
||||
@multitable @columnfractions .55 .45
|
||||
@item @strong{Expression} @tab @strong{Return value}
|
||||
@item expr2 or expr3 returns string @tab string
|
||||
@item expr2 or expr3 returns a floating point value @tab floating point
|
||||
@item expr2 or expr3 returns a floating-point value @tab floating-point
|
||||
@item expr2 or expr3 returns an integer @tab integer
|
||||
@end multitable
|
||||
|
||||
@ -21460,7 +21460,7 @@ support big files.
|
||||
All data is stored with the low byte first. This makes the data machine and
|
||||
OS independent. The only requirement is that the machine uses two's-complement
|
||||
signed integers (as every machine for the last 20 years has)
|
||||
and IEEE floating point format (also totally dominant among mainstream
|
||||
and IEEE floating-point format (also totally dominant among mainstream
|
||||
machines). The only area of machines that may not support binary
|
||||
compatibility are embedded systems (because they sometimes have peculiar
|
||||
processors).
|
||||
@ -32272,7 +32272,7 @@ against the table that was last removed from the query.
|
||||
@item
|
||||
If you are comparing @code{FLOAT} or @code{DOUBLE} columns with numbers that
|
||||
have decimals, you can't use @code{=}! This problem is common in most
|
||||
computer languages because floating point values are not exact values.
|
||||
computer languages because floating-point values are not exact values.
|
||||
|
||||
@example
|
||||
mysql> SELECT * FROM table_name WHERE float_column=3.5;
|
||||
@ -36777,7 +36777,7 @@ relevance - similarity measure between the text in that row (in the columns
|
||||
that are part of the collection) and the query. When it is used in a
|
||||
@code{WHERE} clause (see example above) the rows returned are
|
||||
automatically sorted with relevance decreasing. Relevance is a non-
|
||||
negative floating point number. Zero relevance means no similarity.
|
||||
negative floating-point number. Zero relevance means no similarity.
|
||||
Relevance is computed based on number of words in the row and number of
|
||||
unique words in that row, total number of words in the collection,
|
||||
number of documents (rows), that contain a particular word, etc.
|
||||
@ -38406,7 +38406,7 @@ values (1),(1)}) erroneously terminated the slave thread.
|
||||
Added optimization of queries where @code{DISTINCT} is only used on columns
|
||||
from some of the tables.
|
||||
@item
|
||||
Allow floating point numbers where there is no sign after the exponent
|
||||
Allow floating-point numbers where there is no sign after the exponent
|
||||
(like 1e1).
|
||||
@item
|
||||
@code{SHOW GRANTS} didn't always show all column grants.
|
||||
@ -39162,7 +39162,7 @@ be faster: @code{SELECT * from key_part_1=const and key_part_2 > const2}
|
||||
Fixed bug that a change of all @code{VARCHAR} columns to @code{CHAR} columns
|
||||
didn't change row type from dynamic to fixed.
|
||||
@item
|
||||
Disabled floating point exceptions for FreeBSD to fix core dump when
|
||||
Disabled floating-point exceptions for FreeBSD to fix core dump when
|
||||
doing @code{SELECT floor(pow(2,63))}.
|
||||
@item
|
||||
Changed @code{mysqld} startup option @code{--delay-key-write} to
|
||||
@ -39626,7 +39626,7 @@ applications. (By @email{shreeve@@uci.edu}).
|
||||
ensure that @code{null_column NOT IN (...)} doesn't match
|
||||
@code{NULL} values.
|
||||
@item
|
||||
Fix storage of floating point values in @code{TIME} columns.
|
||||
Fix storage of floating-point values in @code{TIME} columns.
|
||||
@item
|
||||
Changed parsing of @code{TIME} strings to be more strict. Now the
|
||||
fractional second part is detected (and currently skipped). The
|
||||
@ -39811,7 +39811,7 @@ A few small fixes for the Windows version.
|
||||
@item
|
||||
Fixed optimizer problem on @code{SELECT} when using many overlapping indexes.
|
||||
@item
|
||||
Disabled floating point exceptions for FreeBSD to fix core dump when
|
||||
Disabled floating-point exceptions for FreeBSD to fix core dump when
|
||||
doing @code{SELECT floor(pow(2,63))}.
|
||||
@item
|
||||
Added print of default arguments options to all clients.
|
||||
|
Loading…
x
Reference in New Issue
Block a user