Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6c317d21
Commit
6c317d21
authored
Nov 13, 2000
by
yfaktoro@nslinuxw2.bedford.progress.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Second batch of Howard changes in manual.texi
parent
b873d68a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
Docs/manual.texi
Docs/manual.texi
+22
-22
No files found.
Docs/manual.texi
View file @
6c317d21
...
@@ -9527,7 +9527,7 @@ and not only the first argument.
...
@@ -9527,7 +9527,7 @@ and not only the first argument.
@item @code{AUTO_INCREMENT} will not work with negative numbers.
@item @code{AUTO_INCREMENT} will not work with negative numbers.
@item @code{INNER}, @code{DELAYED}, @code{RIGHT} and @code{WHEN}
@item @code{INNER}, @code{DELAYED}, @code{RIGHT} and @code{WHEN}
are now reserved words.
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.
a fixed number of decimals.
@item When declaring @code{DECIMAL(length,dec)} the length argument no
@item When declaring @code{DECIMAL(length,dec)} the length argument no
longer includes a place for the sign or the decimal point.
longer includes a place for the sign or the decimal point.
...
@@ -9674,7 +9674,7 @@ There are some new reserved words. The most notable are @code{DATE},
...
@@ -9674,7 +9674,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},
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
@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.)
byte swapping issues.)
The @strong{MySQL} @code{ISAM} data and index files (@file{.ISD} and
The @strong{MySQL} @code{ISAM} data and index files (@file{.ISD} and
...
@@ -12928,9 +12928,9 @@ In @strong{MySQL} you can refer to a column using any of the following forms:
...
@@ -12928,9 +12928,9 @@ In @strong{MySQL} you can refer to a column using any of the following forms:
@multitable @columnfractions .35 .65
@multitable @columnfractions .35 .65
@item @strong{Column reference} @tab @strong{Meaning}
@item @strong{Column reference} @tab @strong{Meaning}
@item @code{col_name} @tab Column @code{col_name}
@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
@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
@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
@code{tbl_name} of the database @code{db_name}. This form is available in
@strong{MySQL} Version 3.22 or later.
@strong{MySQL} Version 3.22 or later.
...
@@ -13137,7 +13137,7 @@ values! This means that if you multiply two big integers (or results
...
@@ -13137,7 +13137,7 @@ values! This means that if you multiply two big integers (or results
from functions that return integers) you may get unexpected results if
from functions that return integers) you may get unexpected results if
the result is larger than @code{9223372036854775807}.
the result is larger than @code{9223372036854775807}.
@cindex floating
point number
@cindex floating
-
point number
@tindex FLOAT
@tindex FLOAT
@tindex FLOAT(precision)
@tindex FLOAT(precision)
@item FLOAT(precision) [ZEROFILL]
@item FLOAT(precision) [ZEROFILL]
...
@@ -13231,7 +13231,7 @@ A timestamp. The range is @code{'1970-01-01 00:00:00'} to sometime in the
...
@@ -13231,7 +13231,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
year @code{2037}. @strong{MySQL} displays @code{TIMESTAMP} values in
@code{YYYYMMDDHHMMSS}, @code{YYMMDDHHMMSS}, @code{YYYYMMDD}, or @code{YYMMDD}
@code{YYYYMMDDHHMMSS}, @code{YYMMDDHHMMSS}, @code{YYYYMMDD}, or @code{YYMMDD}
format, depending on whether @code{M} is @code{14} (or missing), @code{12},
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
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}
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
operation because it is automatically set to the date and time of the most
...
@@ -13495,7 +13495,7 @@ a serious problem, as the principal benefits of these types derive from
...
@@ -13495,7 +13495,7 @@ a serious problem, as the principal benefits of these types derive from
the ability to control both precision and scale explicitly.
the ability to control both precision and scale explicitly.
@code{DECIMAL} and @code{NUMERIC} values are stored as strings, rather
@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
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
value, the decimal point (if @code{scale} > 0), and the @samp{-} sign
(for negative numbers). If @code{scale} is 0, @code{DECIMAL} and
(for negative numbers). If @code{scale} is 0, @code{DECIMAL} and
...
@@ -15293,7 +15293,7 @@ a temporary table) is calculated in @strong{MySQL} Version 3.23 as follows:
...
@@ -15293,7 +15293,7 @@ a temporary table) is calculated in @strong{MySQL} Version 3.23 as follows:
@multitable @columnfractions .55 .45
@multitable @columnfractions .55 .45
@item @strong{Expression} @tab @strong{Return value}
@item @strong{Expression} @tab @strong{Return value}
@item expr2 or expr3 returns string @tab string
@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
@item expr2 or expr3 returns an integer @tab integer
@end multitable
@end multitable
...
@@ -19558,7 +19558,7 @@ or SHOW CREATE TABLE table_name
...
@@ -19558,7 +19558,7 @@ or SHOW CREATE TABLE table_name
@code{SHOW} provides information about databases, tables, columns or
@code{SHOW} provides information about databases, tables, columns or
status information about the server. If the @code{LIKE wild} part is
status information about the server. If the @code{LIKE wild} part is
used, the @code{wild} string can be a string that uses the SQL @samp{%}
used, the @code{wild} string can be a string that uses the SQL @samp{%}
and @samp{_} wildcard characters.
and @samp{_} wild
card characters.
@findex SHOW DATABASES
@findex SHOW DATABASES
@findex SHOW TABLES
@findex SHOW TABLES
...
@@ -20555,7 +20555,7 @@ the @code{FROM} clause.
...
@@ -20555,7 +20555,7 @@ the @code{FROM} clause.
@code{DESCRIBE} provides information about a table's columns. @code{col_name}
@code{DESCRIBE} provides information about a table's columns. @code{col_name}
may be a column name or a string containing the SQL @samp{%} and @samp{_}
may be a column name or a string containing the SQL @samp{%} and @samp{_}
wildcard characters.
wild
card characters.
If the column types are different than you expect them to be based on a
If the column types are different than you expect them to be based on a
@code{CREATE TABLE} statement, note that @strong{MySQL} sometimes
@code{CREATE TABLE} statement, note that @strong{MySQL} sometimes
...
@@ -20934,10 +20934,10 @@ In order to accommodate granting rights to users from arbitrary hosts,
...
@@ -20934,10 +20934,10 @@ In order to accommodate granting rights to users from arbitrary hosts,
@strong{MySQL} supports specifying the @code{user_name} value in the form
@strong{MySQL} supports specifying the @code{user_name} value in the form
@code{user@@host}. If you want to specify a @code{user} string
@code{user@@host}. If you want to specify a @code{user} string
containing special characters (such as @samp{-}), or a @code{host} string
containing special characters (such as @samp{-}), or a @code{host} string
containing special characters or wildcard characters (such as @samp{%}), you
containing special characters or wild
card characters (such as @samp{%}), you
can quote the user or host name (e.g., @code{'test-user'@@'test-hostname'}).
can quote the user or host name (e.g., @code{'test-user'@@'test-hostname'}).
You can specify wildcards in the hostname. For example,
You can specify wild
cards in the hostname. For example,
@code{user@@"%.loc.gov"} applies to @code{user} for any host in the
@code{user@@"%.loc.gov"} applies to @code{user} for any host in the
@code{loc.gov} domain, and @code{user@@"144.155.166.%"} applies to @code{user}
@code{loc.gov} domain, and @code{user@@"144.155.166.%"} applies to @code{user}
for any host in the @code{144.155.166} class C subnet.
for any host in the @code{144.155.166} class C subnet.
...
@@ -21446,7 +21446,7 @@ support big files.
...
@@ -21446,7 +21446,7 @@ support big files.
All data is stored with the low byte first. This makes the data machine and
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
OS independent. The only requirement is that the machine uses two's-complement
signed integers (as every machine for the last 20 years has)
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
machines). The only area of machines that may not support binary
compatibility are embedded systems (because they sometimes have peculiar
compatibility are embedded systems (because they sometimes have peculiar
processors).
processors).
...
@@ -23799,7 +23799,7 @@ mysql> SELECT * FROM pet WHERE name REGEXP "[wW]";
...
@@ -23799,7 +23799,7 @@ mysql> SELECT * FROM pet WHERE name REGEXP "[wW]";
@end example
@end example
Because a regular expression pattern matches if it occurs anywhere in the
Because a regular expression pattern matches if it occurs anywhere in the
value, it is not necessary in the previous query to put a wildcard on either
value, it is not necessary in the previous query to put a wild
card on either
side of the pattern to get it to match the entire value like it would be if
side of the pattern to get it to match the entire value like it would be if
you used a SQL pattern.
you used a SQL pattern.
...
@@ -26446,7 +26446,7 @@ leftmost prefixes of @code{(col1,col2,col3)}.
...
@@ -26446,7 +26446,7 @@ leftmost prefixes of @code{(col1,col2,col3)}.
@cindex indexes, and @code{LIKE}
@cindex indexes, and @code{LIKE}
@cindex wildcards, and @code{LIKE}
@cindex wildcards, and @code{LIKE}
@strong{MySQL} also uses indexes for @code{LIKE} comparisons if the argument
@strong{MySQL} also uses indexes for @code{LIKE} comparisons if the argument
to @code{LIKE} is a constant string that doesn't start with a wildcard
to @code{LIKE} is a constant string that doesn't start with a wild
card
character. For example, the following @code{SELECT} statements use indexes:
character. For example, the following @code{SELECT} statements use indexes:
@example
@example
...
@@ -32258,7 +32258,7 @@ against the table that was last removed from the query.
...
@@ -32258,7 +32258,7 @@ against the table that was last removed from the query.
@item
@item
If you are comparing @code{FLOAT} or @code{DOUBLE} columns with numbers that
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
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
@example
mysql> SELECT * FROM table_name WHERE float_column=3.5;
mysql> SELECT * FROM table_name WHERE float_column=3.5;
...
@@ -36763,7 +36763,7 @@ relevance - similarity measure between the text in that row (in the columns
...
@@ -36763,7 +36763,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
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
@code{WHERE} clause (see example above) the rows returned are
automatically sorted with relevance decreasing. Relevance is a non-
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
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,
unique words in that row, total number of words in the collection,
number of documents (rows), that contain a particular word, etc.
number of documents (rows), that contain a particular word, etc.
...
@@ -38389,7 +38389,7 @@ values (1),(1)}) erroneously terminated the slave thread.
...
@@ -38389,7 +38389,7 @@ values (1),(1)}) erroneously terminated the slave thread.
Added optimization of queries where @code{DISTINCT} is only used on columns
Added optimization of queries where @code{DISTINCT} is only used on columns
from some of the tables.
from some of the tables.
@item
@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).
(like 1e1).
@item
@item
@code{SHOW GRANTS} didn't always show all column grants.
@code{SHOW GRANTS} didn't always show all column grants.
...
@@ -39145,7 +39145,7 @@ be faster: @code{SELECT * from key_part_1=const and key_part_2 > const2}
...
@@ -39145,7 +39145,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
Fixed bug that a change of all @code{VARCHAR} columns to @code{CHAR} columns
didn't change row type from dynamic to fixed.
didn't change row type from dynamic to fixed.
@item
@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))}.
doing @code{SELECT floor(pow(2,63))}.
@item
@item
Changed @code{mysqld} startup option @code{--delay-key-write} to
Changed @code{mysqld} startup option @code{--delay-key-write} to
...
@@ -39609,7 +39609,7 @@ applications. (By @email{shreeve@@uci.edu}).
...
@@ -39609,7 +39609,7 @@ applications. (By @email{shreeve@@uci.edu}).
ensure that @code{null_column NOT IN (...)} doesn't match
ensure that @code{null_column NOT IN (...)} doesn't match
@code{NULL} values.
@code{NULL} values.
@item
@item
Fix storage of floating
point values in @code{TIME} columns.
Fix storage of floating
-
point values in @code{TIME} columns.
@item
@item
Changed parsing of @code{TIME} strings to be more strict. Now the
Changed parsing of @code{TIME} strings to be more strict. Now the
fractional second part is detected (and currently skipped). The
fractional second part is detected (and currently skipped). The
...
@@ -39794,7 +39794,7 @@ A few small fixes for the Windows version.
...
@@ -39794,7 +39794,7 @@ A few small fixes for the Windows version.
@item
@item
Fixed optimizer problem on @code{SELECT} when using many overlapping indexes.
Fixed optimizer problem on @code{SELECT} when using many overlapping indexes.
@item
@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))}.
doing @code{SELECT floor(pow(2,63))}.
@item
@item
Added print of default arguments options to all clients.
Added print of default arguments options to all clients.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment