Commit ed58a236 authored by unknown's avatar unknown

Bundle of O'Reilly-related fixups, mostly table column-width related.


Docs/Support/docbook-fixup.pl:
  Shuffled XML/DocBook LINK fixup to before other XREF fixups that might also touch the result.
Docs/Support/update-reserved-words.pl:
  Generate reserved word list in 3 columns instead of 4.
Docs/manual.texi:
  Slightly adjusted table column widths for better printed output.
  Reserved keywords table newly generated with 3 columns instead of 4.
parent 4ddc2b9f
...@@ -68,6 +68,11 @@ msg ("Adding closing / to XREF and COLSPEC tags..."); ...@@ -68,6 +68,11 @@ msg ("Adding closing / to XREF and COLSPEC tags...");
$data =~ s{<(xref|colspec) (.+?)>} $data =~ s{<(xref|colspec) (.+?)>}
{<$1 $2 />}gs; {<$1 $2 />}gs;
# arjen 2002-04-26
msg ("Removing separate target titles from LINKs and make them XREFs...");
$data =~ s{<link (linkend=.+?)>.+?</link>}
{<xref $1 />}gs;
# Probably need to strip these # Probably need to strip these
msg ('Adding "See " to XREFs that used to be @xref...'); msg ('Adding "See " to XREFs that used to be @xref...');
$data =~ s{([.'!)])\s*<xref } $data =~ s{([.'!)])\s*<xref }
...@@ -77,11 +82,6 @@ msg ('Adding "see " to (XREFs) that used to be (@pxref)...'); ...@@ -77,11 +82,6 @@ msg ('Adding "see " to (XREFs) that used to be (@pxref)...');
$data =~ s{([([,;])(\s*)<xref } $data =~ s{([([,;])(\s*)<xref }
{$1$2see <xref }gs; {$1$2see <xref }gs;
# arjen 2002-04-26
msg ("Removing separate target titles from LINKs and make them XREFs...");
$data =~ s{<link (linkend=.+?)>.+?</link>}
{<xref $1 />}gs;
msg ("Making first row in table THEAD..."); msg ("Making first row in table THEAD...");
$data =~ s{( *)<tbody>(\s*<row>.+?</row>)} $data =~ s{( *)<tbody>(\s*<row>.+?</row>)}
{$1<thead>$2\n$1</thead>\n$1<tbody>}gs; {$1<thead>$2\n$1</thead>\n$1<tbody>}gs;
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# Implemented in Perl by jeremy@mysql.com # Implemented in Perl by jeremy@mysql.com
# 2001-11-20 Fixups by arjen@mysql.com, 2 keywords and 15 synonyms were missing # 2001-11-20 Fixups by arjen@mysql.com, 2 keywords and 15 synonyms were missing
# 2001-12-07 Fixup by arjen@mysql.com, add column headings for multitable. # 2001-12-07 Fixup by arjen@mysql.com, add column headings for multitable.
# 2002-05-01 Fixup by arjen@mysql.com, use 3 columns instead of 4.
print STDERR "Scanning lex.h for symbols..\n"; print STDERR "Scanning lex.h for symbols..\n";
open LEX, "<../sql/lex.h"; open LEX, "<../sql/lex.h";
...@@ -40,11 +41,11 @@ print STDERR "Sorting array...\n"; ...@@ -40,11 +41,11 @@ print STDERR "Sorting array...\n";
printf STDERR "There are %i reserved words.\n", scalar @words; printf STDERR "There are %i reserved words.\n", scalar @words;
@pre = ("\@item", "\@tab", " \@tab", "\@tab"); @pre = ("\@item", " \@tab", " \@tab");
@post = ("", "\n", "", "\n"); @post = ("\n", "\n", "\n");
for($i=0; $word = shift(@words); $i++) { for($i=0; $word = shift(@words); $i++) {
$list .= sprintf "%s %-30s %s", $pre[$i%4], "\@code\{$word\}", $post[$i%4]; $list .= sprintf "%s %-30s %s", $pre[$i%3], "\@code\{$word\}", $post[$i%3];
}; $list .= "\n"; }; $list .= "\n";
open OLD, "<manual.texi"; open OLD, "<manual.texi";
...@@ -54,8 +55,9 @@ print STDERR "Copying beginning of manual.texi...\n"; ...@@ -54,8 +55,9 @@ print STDERR "Copying beginning of manual.texi...\n";
while(($line = <OLD>) !~ /START_OF_RESERVED_WORDS/) { print NEW $line; }; while(($line = <OLD>) !~ /START_OF_RESERVED_WORDS/) { print NEW $line; };
print NEW "\@c START_OF_RESERVED_WORDS\n\n"; print NEW "\@c START_OF_RESERVED_WORDS\n\n";
print STDERR "Inserting list of reserved words...\n"; print STDERR "Inserting list of reserved words...\n";
print NEW "\@multitable \@columnfractions .25 .25 .25 .25\n"; # Ensure the fractions add up to 100% otherwise it looks funny in print:
print NEW "\@item \@strong{Word} \@tab \@strong{Word} \@tab \@strong{Word} \@tab \@strong{Word}\n"; print NEW "\@multitable \@columnfractions .33 .33 .34\n";
print NEW "\@item \@strong{Word} \@tab \@strong{Word} \@tab \@strong{Word}\n";
print NEW $list; print NEW $list;
print NEW "\@end multitable\n"; print NEW "\@end multitable\n";
print STDERR "Skipping over old list...\n"; print STDERR "Skipping over old list...\n";
......
...@@ -802,7 +802,7 @@ size is pushed up to 8 million terabytes (2 ^ 63 bytes). ...@@ -802,7 +802,7 @@ size is pushed up to 8 million terabytes (2 ^ 63 bytes).
Note, however, that operating systems have their own file size Note, however, that operating systems have their own file size
limits. Here are some examples: limits. Here are some examples:
@multitable @columnfractions .25 .45 @multitable @columnfractions .30 .50
@item @strong{Operating System} @tab @strong{File Size Limit} @item @strong{Operating System} @tab @strong{File Size Limit}
@item Linux-Intel 32 bit @tab 2G, 4G or more, depends on Linux version @item Linux-Intel 32 bit @tab 2G, 4G or more, depends on Linux version
@item Linux-Alpha @tab 8T (?) @item Linux-Alpha @tab 8T (?)
...@@ -1866,7 +1866,8 @@ in the client. ...@@ -1866,7 +1866,8 @@ in the client.
@subsection MySQL 4.1, The Following Development Release @subsection MySQL 4.1, The Following Development Release
Internally, through a new .frm file format for table definitions, Internally, through a new .frm file format for table definitions,
MySQL Server 4.0 lays the foundation for the new features of MySQL Server 4.1, MySQL Server 4.0 lays the foundation for the new features of
MySQL Server 4.1 onwards,
such as @code{nested subqueries}, @code{stored procedures}, and such as @code{nested subqueries}, @code{stored procedures}, and
@code{foreign key integrity rules}, which form the top of the @code{foreign key integrity rules}, which form the top of the
wish list for many of our customers. Along with those, we will wish list for many of our customers. Along with those, we will
...@@ -3197,8 +3198,8 @@ deletes the corresponding customer from a customer table when all his ...@@ -3197,8 +3198,8 @@ deletes the corresponding customer from a customer table when all his
transactions are deleted. transactions are deleted.
The planned update language will be able to handle stored procedures. The planned update language will be able to handle stored procedures.
Our aim is to have stored procedures implemented in MySQL Server 4.1. Our aim is to have stored procedures implemented in MySQL Server around
We are also looking at triggers. version 4.1. We are also looking at triggers.
@node ANSI diff Foreign Keys, ANSI diff Views, ANSI diff Triggers, Differences from ANSI @node ANSI diff Foreign Keys, ANSI diff Views, ANSI diff Triggers, Differences from ANSI
...@@ -3292,7 +3293,7 @@ to backup or restore individual tables. ...@@ -3292,7 +3293,7 @@ to backup or restore individual tables.
@cindex views @cindex views
It is planned to implement views in MySQL Server around Version 4.1. It is planned to implement views in MySQL Server around version 4.1.
Views are mostly useful for letting users access a set of relations as one Views are mostly useful for letting users access a set of relations as one
table (in read-only mode). Many SQL databases don't allow one to update table (in read-only mode). Many SQL databases don't allow one to update
...@@ -4509,7 +4510,7 @@ the following additional type attributes: ...@@ -4509,7 +4510,7 @@ the following additional type attributes:
@end itemize @end itemize
@item mSQL2 @item mSQL2
@code{mSQL} column types correspond to the MySQL types shown below: @code{mSQL} column types correspond to the MySQL types shown below:
@multitable @columnfractions .15 .65 @multitable @columnfractions .15 .70
@item @code{mSQL} @strong{type} @tab @strong{Corresponding MySQL type} @item @code{mSQL} @strong{type} @tab @strong{Corresponding MySQL type}
@item @code{CHAR(len)} @tab @code{CHAR(len)} @item @code{CHAR(len)} @tab @code{CHAR(len)}
@item @code{TEXT(len)} @tab @code{TEXT(len)}. @code{len} is the maximal length. @item @code{TEXT(len)} @tab @code{TEXT(len)}. @code{len} is the maximal length.
...@@ -6010,7 +6011,7 @@ A binary distribution is installed by unpacking it at the installation ...@@ -6010,7 +6011,7 @@ A binary distribution is installed by unpacking it at the installation
location you choose (typically @file{/usr/local/mysql}) and creates the location you choose (typically @file{/usr/local/mysql}) and creates the
following directories in that location: following directories in that location:
@multitable @columnfractions .15 .40 @multitable @columnfractions .15 .45
@item @strong{Directory} @tab @strong{Contents of directory} @item @strong{Directory} @tab @strong{Contents of directory}
@item @file{bin} @tab Client programs and the @code{mysqld} server @item @file{bin} @tab Client programs and the @code{mysqld} server
@item @file{data} @tab Log files, databases @item @file{data} @tab Log files, databases
...@@ -6025,7 +6026,7 @@ A source distribution is installed after you configure and compile it. By ...@@ -6025,7 +6026,7 @@ A source distribution is installed after you configure and compile it. By
default, the installation step installs files under @file{/usr/local}, in the default, the installation step installs files under @file{/usr/local}, in the
following subdirectories: following subdirectories:
@multitable @columnfractions .15 .40 @multitable @columnfractions .15 .45
@item @strong{Directory} @tab @strong{Contents of directory} @item @strong{Directory} @tab @strong{Contents of directory}
@item @file{bin} @tab Client programs and scripts @item @file{bin} @tab Client programs and scripts
@item @file{include/mysql} @tab Include (header) files @item @file{include/mysql} @tab Include (header) files
...@@ -6832,7 +6833,7 @@ the compiler you are using: ...@@ -6832,7 +6833,7 @@ the compiler you are using:
@tindex CXXFLAGS environment variable @tindex CXXFLAGS environment variable
@tindex environment variable, CXXFLAGS @tindex environment variable, CXXFLAGS
@multitable @columnfractions .20 .80 @multitable @columnfractions .19 .81
@item @strong{Compiler} @tab @strong{Recommended options} @item @strong{Compiler} @tab @strong{Recommended options}
@item gcc 2.7.2.1 @tab @item gcc 2.7.2.1 @tab
CC=gcc CXX=gcc CXXFLAGS="-O3 -felide-constructors" CC=gcc CXX=gcc CXXFLAGS="-O3 -felide-constructors"
...@@ -13069,7 +13070,7 @@ mysql> CREATE TABLE event (name VARCHAR(20), date DATE, ...@@ -13069,7 +13070,7 @@ mysql> CREATE TABLE event (name VARCHAR(20), date DATE,
As with the @code{pet} table, it's easiest to load the initial records As with the @code{pet} table, it's easiest to load the initial records
by creating a tab-delimited text file containing the information: by creating a tab-delimited text file containing the information:
@multitable @columnfractions .10 .15 .10 .30 @multitable @columnfractions .10 .15 .10 .35
@item @strong{name} @tab @strong{date} @tab @strong{type} @tab @strong{remark} @item @strong{name} @tab @strong{date} @tab @strong{type} @tab @strong{remark}
@item Fluffy @tab 1995-05-15 @tab litter @tab 4 kittens, 3 female, 1 male @item Fluffy @tab 1995-05-15 @tab litter @tab 4 kittens, 3 female, 1 male
@item Buffy @tab 1993-06-23 @tab litter @tab 5 puppies, 2 female, 3 male @item Buffy @tab 1993-06-23 @tab litter @tab 5 puppies, 2 female, 3 male
...@@ -14369,7 +14370,7 @@ server and for clients from option files. ...@@ -14369,7 +14370,7 @@ server and for clients from option files.
MySQL reads default options from the following files on Unix: MySQL reads default options from the following files on Unix:
@tindex .my.cnf file @tindex .my.cnf file
@multitable @columnfractions .35 .45 @multitable @columnfractions .35 .50
@item @strong{Filename} @tab @strong{Purpose} @item @strong{Filename} @tab @strong{Purpose}
@item @code{/etc/my.cnf} @tab Global options @item @code{/etc/my.cnf} @tab Global options
@item @code{DATADIR/my.cnf} @tab Server-specific options @item @code{DATADIR/my.cnf} @tab Server-specific options
...@@ -14387,7 +14388,7 @@ before it processes any command-line arguments.) ...@@ -14387,7 +14388,7 @@ before it processes any command-line arguments.)
MySQL reads default options from the following files on Windows: MySQL reads default options from the following files on Windows:
@multitable @columnfractions .35 .45 @multitable @columnfractions .35 .50
@item @strong{Filename} @tab @strong{Purpose} @item @strong{Filename} @tab @strong{Purpose}
@item @code{windows-system-directory\my.ini} @tab Global options @item @code{windows-system-directory\my.ini} @tab Global options
@item @code{C:\my.cnf} @tab Global options @item @code{C:\my.cnf} @tab Global options
...@@ -15291,7 +15292,7 @@ The rules used to do this are described in @ref{Request access}. ...@@ -15291,7 +15292,7 @@ The rules used to do this are described in @ref{Request access}.
Scope fields are strings, declared as shown below; the default value for Scope fields are strings, declared as shown below; the default value for
each is the empty string: each is the empty string:
@multitable @columnfractions .15 .15 .6 @multitable @columnfractions .20 .15 .65
@item @strong{Field name} @tab @strong{Type} @tab @strong{Notes} @item @strong{Field name} @tab @strong{Type} @tab @strong{Notes}
@item @code{Host} @tab @code{CHAR(60)} @tab @item @code{Host} @tab @code{CHAR(60)} @tab
@item @code{User} @tab @code{CHAR(16)} @tab @item @code{User} @tab @code{CHAR(16)} @tab
...@@ -15309,7 +15310,7 @@ value of @code{'N'} or @code{'Y'}, and the default value is @code{'N'}. ...@@ -15309,7 +15310,7 @@ value of @code{'N'} or @code{'Y'}, and the default value is @code{'N'}.
In the @code{tables_priv} and @code{columns_priv} tables, the privilege In the @code{tables_priv} and @code{columns_priv} tables, the privilege
fields are declared as @code{SET} fields: fields are declared as @code{SET} fields:
@multitable @columnfractions .15 .15 .50 @multitable @columnfractions .15 .15 .55
@item @strong{Table name} @item @strong{Table name}
@tab @strong{Field name} @tab @strong{Field name}
@tab @strong{Possible set elements} @tab @strong{Possible set elements}
...@@ -15404,7 +15405,7 @@ MySQL are shown below, along with the table column name associated ...@@ -15404,7 +15405,7 @@ MySQL are shown below, along with the table column name associated
with each privilege in the grant tables and the context in which the with each privilege in the grant tables and the context in which the
privilege applies: privilege applies:
@multitable @columnfractions .15 .20 .30 @multitable @columnfractions .15 .20 .35
@item @strong{Privilege} @tab @strong{Column} @tab @strong{Context} @item @strong{Privilege} @tab @strong{Column} @tab @strong{Context}
@item @strong{select} @tab @code{Select_priv} @tab tables @item @strong{select} @tab @code{Select_priv} @tab tables
@item @strong{insert} @tab @code{Insert_priv} @tab tables @item @strong{insert} @tab @code{Insert_priv} @tab tables
...@@ -19242,7 +19243,7 @@ STATUS}, but provides a lot of information about each table. You can ...@@ -19242,7 +19243,7 @@ STATUS}, but provides a lot of information about each table. You can
also get this list using the @code{mysqlshow --status db_name} command. also get this list using the @code{mysqlshow --status db_name} command.
The following columns are returned: The following columns are returned:
@multitable @columnfractions .20 .65 @multitable @columnfractions .20 .70
@item @strong{Column} @tab @strong{Meaning} @item @strong{Column} @tab @strong{Meaning}
@item @code{Name} @tab Name of the table. @item @code{Name} @tab Name of the table.
@item @code{Type} @tab Type of table. @xref{Table types}. @item @code{Type} @tab Type of table. @xref{Table types}.
...@@ -19932,7 +19933,7 @@ If this is 0, the query cache is disabled (default). ...@@ -19932,7 +19933,7 @@ If this is 0, the query cache is disabled (default).
@item @code{query_cache_startup_type} @item @code{query_cache_startup_type}
This may be set (only numeric) to This may be set (only numeric) to
@multitable @columnfractions .10 .15 .70 @multitable @columnfractions .9 .14 .72
@item @strong{Value} @tab @strong{Alias} @tab @strong{Comment} @item @strong{Value} @tab @strong{Alias} @tab @strong{Comment}
@item 0 @tab OFF @tab Don't cache or retrieve results. @item 0 @tab OFF @tab Don't cache or retrieve results.
@item 1 @tab ON @tab Cache all results except @code{SELECT SQL_NO_CACHE ...} queries. @item 1 @tab ON @tab Cache all results except @code{SELECT SQL_NO_CACHE ...} queries.
...@@ -20621,7 +20622,7 @@ table with @code{myisamchk -dvv table_name}. ...@@ -20621,7 +20622,7 @@ table with @code{myisamchk -dvv table_name}.
@menu @menu
* Server-Side Overview:: Overview of the Server-Side Scripts and Utilities * Server-Side Overview:: Overview of the Server-Side Scripts and Utilities
* safe_mysqld:: @code{safe_mysqld}, the Wrapper Around @code{mysqld} * safe_mysqld:: @code{safe_mysqld}, The Wrapper Around @code{mysqld}
* mysqld_multi:: @code{mysqld_multi}, Program for Managing Multiple MySQL Servers * mysqld_multi:: @code{mysqld_multi}, Program for Managing Multiple MySQL Servers
* myisampack:: @code{myisampack}, The MySQL Compressed Read-only Table Generator * myisampack:: @code{myisampack}, The MySQL Compressed Read-only Table Generator
* mysqld-max:: @code{mysqld-max}, An Extended @code{mysqld} Server * mysqld-max:: @code{mysqld-max}, An Extended @code{mysqld} Server
...@@ -20645,7 +20646,7 @@ All MySQL clients that communicate with the server using the ...@@ -20645,7 +20646,7 @@ All MySQL clients that communicate with the server using the
@tindex environment variable, @code{MYSQL_PWD} @tindex environment variable, @code{MYSQL_PWD}
@tindex @code{MYSQL_DEBUG} environment variable @tindex @code{MYSQL_DEBUG} environment variable
@tindex environment variable, @code{MYSQL_DEBUG} @tindex environment variable, @code{MYSQL_DEBUG}
@multitable @columnfractions .25 .55 @multitable @columnfractions .25 .60
@item @strong{Name} @tab @strong{Description} @item @strong{Name} @tab @strong{Description}
@item @code{MYSQL_UNIX_PORT} @tab The default socket; used for connections to @code{localhost} @item @code{MYSQL_UNIX_PORT} @tab The default socket; used for connections to @code{localhost}
@item @code{MYSQL_TCP_PORT} @tab The default TCP/IP port @item @code{MYSQL_TCP_PORT} @tab The default TCP/IP port
...@@ -20756,7 +20757,7 @@ shell> replace a b b a -- file1 file2 ... ...@@ -20756,7 +20757,7 @@ shell> replace a b b a -- file1 file2 ...
@node safe_mysqld, mysqld_multi, Server-Side Overview, Server-Side Scripts @node safe_mysqld, mysqld_multi, Server-Side Overview, Server-Side Scripts
@subsection @code{safe_mysqld}, the Wrapper Around @code{mysqld} @subsection @code{safe_mysqld}, The Wrapper Around @code{mysqld}
@cindex tools, safe_mysqld @cindex tools, safe_mysqld
@cindex scripts @cindex scripts
...@@ -21574,7 +21575,7 @@ All MySQL clients that communicate with the server using the ...@@ -21574,7 +21575,7 @@ All MySQL clients that communicate with the server using the
@tindex environment variable, @code{MYSQL_PWD} @tindex environment variable, @code{MYSQL_PWD}
@tindex @code{MYSQL_DEBUG} environment variable @tindex @code{MYSQL_DEBUG} environment variable
@tindex environment variable, @code{MYSQL_DEBUG} @tindex environment variable, @code{MYSQL_DEBUG}
@multitable @columnfractions .25 .55 @multitable @columnfractions .25 .60
@item @strong{Name} @tab @strong{Description} @item @strong{Name} @tab @strong{Description}
@item @code{MYSQL_UNIX_PORT} @tab The default socket; used for connections to @code{localhost} @item @code{MYSQL_UNIX_PORT} @tab The default socket; used for connections to @code{localhost}
@item @code{MYSQL_TCP_PORT} @tab The default TCP/IP port @item @code{MYSQL_TCP_PORT} @tab The default TCP/IP port
...@@ -23041,7 +23042,7 @@ command. @xref{RESET}. ...@@ -23041,7 +23042,7 @@ command. @xref{RESET}.
You can use the following options to @code{mysqld} to affect what is logged You can use the following options to @code{mysqld} to affect what is logged
to the binary log: to the binary log:
@multitable @columnfractions .35 .65 @multitable @columnfractions .38 .62
@item @strong{Option} @tab @strong{Description} @item @strong{Option} @tab @strong{Description}
@item @code{binlog-do-db=database_name} @tab @item @code{binlog-do-db=database_name} @tab
...@@ -23635,7 +23636,7 @@ Example: @code{server-id=3} ...@@ -23635,7 +23636,7 @@ Example: @code{server-id=3}
The following table describes the options you can use for the @strong{MASTER}: The following table describes the options you can use for the @strong{MASTER}:
@multitable @columnfractions .35 .65 @multitable @columnfractions .38 .62
@item @strong{Option} @tab @strong{Description} @item @strong{Option} @tab @strong{Description}
@item @code{log-bin=filename} @tab @item @code{log-bin=filename} @tab
...@@ -23680,7 +23681,7 @@ Example: @code{binlog-ignore-db=accounting} ...@@ -23680,7 +23681,7 @@ Example: @code{binlog-ignore-db=accounting}
The following table describes the options you can use for the @strong{SLAVE}: The following table describes the options you can use for the @strong{SLAVE}:
@multitable @columnfractions .35 .65 @multitable @columnfractions .38 .62
@item @strong{Option} @tab @strong{Description} @item @strong{Option} @tab @strong{Description}
@item @code{master-host=host} @tab @item @code{master-host=host} @tab
...@@ -23880,7 +23881,7 @@ the read. ...@@ -23880,7 +23881,7 @@ the read.
Replication can be controlled through the SQL interface. Below is the Replication can be controlled through the SQL interface. Below is the
summary of commands: summary of commands:
@multitable @columnfractions .40 .60 @multitable @columnfractions .45 .55
@item @strong{Command} @tab @strong{Description} @item @strong{Command} @tab @strong{Description}
@item @code{SLAVE START} @item @code{SLAVE START}
...@@ -24787,7 +24788,7 @@ For example, (run on the same NT 4.0 machine): ...@@ -24787,7 +24788,7 @@ For example, (run on the same NT 4.0 machine):
In the above test MySQL was run with a 8M index cache. In the above test MySQL was run with a 8M index cache.
We have gather some more benchmark results at We have gathered some more benchmark results at
@uref{http://www.mysql.com/information/benchmarks.html}. @uref{http://www.mysql.com/information/benchmarks.html}.
Note that Oracle is not included because they asked to be removed. All Note that Oracle is not included because they asked to be removed. All
...@@ -27986,7 +27987,7 @@ introduced quoting of identifiers (database, table, and column names) ...@@ -27986,7 +27987,7 @@ introduced quoting of identifiers (database, table, and column names)
with @samp{`}. @samp{"} will also work to quote identifiers if you run with @samp{`}. @samp{"} will also work to quote identifiers if you run
in ANSI mode. @xref{ANSI mode}. in ANSI mode. @xref{ANSI mode}.
@multitable @columnfractions .15 .15 .65 @multitable @columnfractions .15 .15 .70
@item @strong{Identifier} @tab @strong{Max length} @tab @strong{Allowed characters} @item @strong{Identifier} @tab @strong{Max length} @tab @strong{Allowed characters}
@item Database @tab 64 @tab Any character that is allowed in a directory name except @samp{/} or @samp{.}. @item Database @tab 64 @tab Any character that is allowed in a directory name except @samp{/} or @samp{.}.
@item Table @tab 64 @tab Any character that is allowed in a file name, except @samp{/} or @samp{.}. @item Table @tab 64 @tab Any character that is allowed in a file name, except @samp{/} or @samp{.}.
...@@ -28243,104 +28244,196 @@ A few are reserved because MySQL needs them and is ...@@ -28243,104 +28244,196 @@ A few are reserved because MySQL needs them and is
@c START_OF_RESERVED_WORDS @c START_OF_RESERVED_WORDS
@multitable @columnfractions .25 .25 .25 .25 @multitable @columnfractions .33 .33 .34
@item @strong{Word} @tab @strong{Word} @tab @strong{Word} @tab @strong{Word} @item @strong{Word} @tab @strong{Word} @tab @strong{Word}
@c Reserved word list updated Fri Dec 7 10:49:17 2001 by arjen. @c Reserved word list updated Wed May 1 10:50:08 2002 by arjen.
@c To regenerate, use Support/update-reserved-words.pl. @c To regenerate, use Support/update-reserved-words.pl.
@item @code{ADD} @tab @code{ALL} @item @code{ADD}
@tab @code{ALTER} @tab @code{ANALYZE} @tab @code{ALL}
@item @code{AND} @tab @code{AS} @tab @code{ALTER}
@tab @code{ASC} @tab @code{AUTO_INCREMENT} @item @code{ANALYZE}
@item @code{BDB} @tab @code{BERKELEYDB} @tab @code{AND}
@tab @code{BETWEEN} @tab @code{BIGINT} @tab @code{AS}
@item @code{BINARY} @tab @code{BLOB} @item @code{ASC}
@tab @code{BOTH} @tab @code{BY} @tab @code{AUTO_INCREMENT}
@item @code{CASCADE} @tab @code{CASE} @tab @code{BDB}
@tab @code{CHANGE} @tab @code{CHAR} @item @code{BERKELEYDB}
@item @code{CHARACTER} @tab @code{COLUMN} @tab @code{BETWEEN}
@tab @code{COLUMNS} @tab @code{CONSTRAINT} @tab @code{BIGINT}
@item @code{CREATE} @tab @code{CROSS} @item @code{BINARY}
@tab @code{CURRENT_DATE} @tab @code{CURRENT_TIME} @tab @code{BLOB}
@item @code{CURRENT_TIMESTAMP} @tab @code{DATABASE} @tab @code{BOTH}
@tab @code{DATABASES} @tab @code{DAY_HOUR} @item @code{BY}
@item @code{DAY_MINUTE} @tab @code{DAY_SECOND} @tab @code{CASCADE}
@tab @code{DEC} @tab @code{DECIMAL} @tab @code{CASE}
@item @code{DEFAULT} @tab @code{DELAYED} @item @code{CHANGE}
@tab @code{DELETE} @tab @code{DESC} @tab @code{CHAR}
@item @code{DESCRIBE} @tab @code{DISTINCT} @tab @code{CHARACTER}
@tab @code{DISTINCTROW} @tab @code{DOUBLE} @item @code{COLUMN}
@item @code{DROP} @tab @code{ELSE} @tab @code{COLUMNS}
@tab @code{ENCLOSED} @tab @code{ESCAPED} @tab @code{CONSTRAINT}
@item @code{EXISTS} @tab @code{EXPLAIN} @item @code{CREATE}
@tab @code{FIELDS} @tab @code{FLOAT} @tab @code{CROSS}
@item @code{FOR} @tab @code{FOREIGN} @tab @code{CURRENT_DATE}
@tab @code{FROM} @tab @code{FULLTEXT} @item @code{CURRENT_TIME}
@item @code{FUNCTION} @tab @code{GRANT} @tab @code{CURRENT_TIMESTAMP}
@tab @code{GROUP} @tab @code{HAVING} @tab @code{DATABASE}
@item @code{HIGH_PRIORITY} @tab @code{HOUR_MINUTE} @item @code{DATABASES}
@tab @code{HOUR_SECOND} @tab @code{IF} @tab @code{DAY_HOUR}
@item @code{IGNORE} @tab @code{IN} @tab @code{DAY_MINUTE}
@tab @code{INDEX} @tab @code{INFILE} @item @code{DAY_SECOND}
@item @code{INNER} @tab @code{INNODB} @tab @code{DEC}
@tab @code{INSERT} @tab @code{INSERT_ID} @tab @code{DECIMAL}
@item @code{INT} @tab @code{INTEGER} @item @code{DEFAULT}
@tab @code{INTERVAL} @tab @code{INTO} @tab @code{DELAYED}
@item @code{IS} @tab @code{JOIN} @tab @code{DELETE}
@tab @code{KEY} @tab @code{KEYS} @item @code{DESC}
@item @code{KILL} @tab @code{LAST_INSERT_ID} @tab @code{DESCRIBE}
@tab @code{LEADING} @tab @code{LEFT} @tab @code{DISTINCT}
@item @code{LIKE} @tab @code{LIMIT} @item @code{DISTINCTROW}
@tab @code{LINES} @tab @code{LOAD} @tab @code{DOUBLE}
@item @code{LOCK} @tab @code{LONG} @tab @code{DROP}
@tab @code{LONGBLOB} @tab @code{LONGTEXT} @item @code{ELSE}
@item @code{LOW_PRIORITY} @tab @code{MASTER_LOG_SEQ} @tab @code{ENCLOSED}
@tab @code{MASTER_SERVER_ID} @tab @code{MATCH} @tab @code{ESCAPED}
@item @code{MEDIUMBLOB} @tab @code{MEDIUMINT} @item @code{EXISTS}
@tab @code{MEDIUMTEXT} @tab @code{MIDDLEINT} @tab @code{EXPLAIN}
@item @code{MINUTE_SECOND} @tab @code{MRG_MYISAM} @tab @code{FIELDS}
@tab @code{NATURAL} @tab @code{NOT} @item @code{FLOAT}
@item @code{NULL} @tab @code{NUMERIC} @tab @code{FOR}
@tab @code{ON} @tab @code{OPTIMIZE} @tab @code{FOREIGN}
@item @code{OPTION} @tab @code{OPTIONALLY} @item @code{FROM}
@tab @code{OR} @tab @code{ORDER} @tab @code{FULLTEXT}
@item @code{OUTER} @tab @code{OUTFILE} @tab @code{FUNCTION}
@tab @code{PARTIAL} @tab @code{PRECISION} @item @code{GRANT}
@item @code{PRIMARY} @tab @code{PRIVILEGES} @tab @code{GROUP}
@tab @code{PROCEDURE} @tab @code{PURGE} @tab @code{HAVING}
@item @code{READ} @tab @code{REAL} @item @code{HIGH_PRIORITY}
@tab @code{REFERENCES} @tab @code{REGEXP} @tab @code{HOUR_MINUTE}
@item @code{RENAME} @tab @code{REPLACE} @tab @code{HOUR_SECOND}
@tab @code{REQUIRE} @tab @code{RESTRICT} @item @code{IF}
@item @code{RETURNS} @tab @code{REVOKE} @tab @code{IGNORE}
@tab @code{RIGHT} @tab @code{RLIKE} @tab @code{IN}
@item @code{SELECT} @tab @code{SET} @item @code{INDEX}
@tab @code{SHOW} @tab @code{SMALLINT} @tab @code{INFILE}
@item @code{SONAME} @tab @code{SQL_AUTO_IS_NULL} @tab @code{INNER}
@tab @code{SQL_BIG_RESULT} @tab @code{SQL_BIG_SELECTS} @item @code{INNODB}
@item @code{SQL_BIG_TABLES} @tab @code{SQL_BUFFER_RESULT} @tab @code{INSERT}
@tab @code{SQL_CALC_FOUND_ROWS} @tab @code{SQL_LOG_BIN} @tab @code{INSERT_ID}
@item @code{SQL_LOG_OFF} @tab @code{SQL_LOG_UPDATE} @item @code{INT}
@tab @code{SQL_LOW_PRIORITY_UPDATES} @tab @code{SQL_MAX_JOIN_SIZE} @tab @code{INTEGER}
@item @code{SQL_QUOTE_SHOW_CREATE} @tab @code{SQL_SAFE_UPDATES} @tab @code{INTERVAL}
@tab @code{SQL_SELECT_LIMIT} @tab @code{SQL_SLAVE_SKIP_COUNTER} @item @code{INTO}
@item @code{SQL_SMALL_RESULT} @tab @code{SQL_WARNINGS} @tab @code{IS}
@tab @code{SSL} @tab @code{STARTING} @tab @code{JOIN}
@item @code{STRAIGHT_JOIN} @tab @code{STRIPED} @item @code{KEY}
@tab @code{TABLE} @tab @code{TABLES} @tab @code{KEYS}
@item @code{TERMINATED} @tab @code{THEN} @tab @code{KILL}
@tab @code{TINYBLOB} @tab @code{TINYINT} @item @code{LAST_INSERT_ID}
@item @code{TINYTEXT} @tab @code{TO} @tab @code{LEADING}
@tab @code{TRAILING} @tab @code{UNION} @tab @code{LEFT}
@item @code{UNIQUE} @tab @code{UNLOCK} @item @code{LIKE}
@tab @code{UNSIGNED} @tab @code{UPDATE} @tab @code{LIMIT}
@item @code{USAGE} @tab @code{USE} @tab @code{LINES}
@tab @code{USING} @tab @code{VALUES} @item @code{LOAD}
@item @code{VARBINARY} @tab @code{VARCHAR} @tab @code{LOCK}
@tab @code{VARYING} @tab @code{WHEN} @tab @code{LONG}
@item @code{WHERE} @tab @code{WITH} @item @code{LONGBLOB}
@tab @code{WRITE} @tab @code{YEAR_MONTH} @tab @code{LONGTEXT}
@item @code{ZEROFILL} @tab @code{LOW_PRIORITY}
@item @code{MASTER_SERVER_ID}
@tab @code{MATCH}
@tab @code{MEDIUMBLOB}
@item @code{MEDIUMINT}
@tab @code{MEDIUMTEXT}
@tab @code{MIDDLEINT}
@item @code{MINUTE_SECOND}
@tab @code{MRG_MYISAM}
@tab @code{NATURAL}
@item @code{NOT}
@tab @code{NULL}
@tab @code{NUMERIC}
@item @code{ON}
@tab @code{OPTIMIZE}
@tab @code{OPTION}
@item @code{OPTIONALLY}
@tab @code{OR}
@tab @code{ORDER}
@item @code{OUTER}
@tab @code{OUTFILE}
@tab @code{PARTIAL}
@item @code{PRECISION}
@tab @code{PRIMARY}
@tab @code{PRIVILEGES}
@item @code{PROCEDURE}
@tab @code{PURGE}
@tab @code{READ}
@item @code{REAL}
@tab @code{REFERENCES}
@tab @code{REGEXP}
@item @code{RENAME}
@tab @code{REPLACE}
@tab @code{REQUIRE}
@item @code{RESTRICT}
@tab @code{RETURNS}
@tab @code{REVOKE}
@item @code{RIGHT}
@tab @code{RLIKE}
@tab @code{SELECT}
@item @code{SET}
@tab @code{SHOW}
@tab @code{SMALLINT}
@item @code{SONAME}
@tab @code{SQL_AUTO_IS_NULL}
@tab @code{SQL_BIG_RESULT}
@item @code{SQL_BIG_SELECTS}
@tab @code{SQL_BIG_TABLES}
@tab @code{SQL_BUFFER_RESULT}
@item @code{SQL_CALC_FOUND_ROWS}
@tab @code{SQL_LOG_BIN}
@tab @code{SQL_LOG_OFF}
@item @code{SQL_LOG_UPDATE}
@tab @code{SQL_LOW_PRIORITY_UPDATES}
@tab @code{SQL_MAX_JOIN_SIZE}
@item @code{SQL_QUOTE_SHOW_CREATE}
@tab @code{SQL_SAFE_UPDATES}
@tab @code{SQL_SELECT_LIMIT}
@item @code{SQL_SLAVE_SKIP_COUNTER}
@tab @code{SQL_SMALL_RESULT}
@tab @code{SQL_WARNINGS}
@item @code{SSL}
@tab @code{STARTING}
@tab @code{STRAIGHT_JOIN}
@item @code{STRIPED}
@tab @code{TABLE}
@tab @code{TABLES}
@item @code{TERMINATED}
@tab @code{THEN}
@tab @code{TINYBLOB}
@item @code{TINYINT}
@tab @code{TINYTEXT}
@tab @code{TO}
@item @code{TRAILING}
@tab @code{UNION}
@tab @code{UNIQUE}
@item @code{UNLOCK}
@tab @code{UNSIGNED}
@tab @code{UPDATE}
@item @code{USAGE}
@tab @code{USE}
@tab @code{USING}
@item @code{VALUES}
@tab @code{VARBINARY}
@tab @code{VARCHAR}
@item @code{VARYING}
@tab @code{WHEN}
@tab @code{WHERE}
@item @code{WITH}
@tab @code{WRITE}
@tab @code{YEAR_MONTH}
@item @code{ZEROFILL}
@end multitable @end multitable
@c END_OF_RESERVED_WORDS @c END_OF_RESERVED_WORDS
...@@ -30399,7 +30492,7 @@ The default return type of @code{IF()} (which may matter when it is ...@@ -30399,7 +30492,7 @@ The default return type of @code{IF()} (which may matter when it is
stored into a temporary table) is calculated in MySQL Version stored into a temporary table) is calculated in MySQL Version
3.23 as follows: 3.23 as follows:
@multitable @columnfractions .45 .15 @multitable @columnfractions .50 .20
@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
...@@ -31921,7 +32014,7 @@ interval from the date. ...@@ -31921,7 +32014,7 @@ interval from the date.
The following table shows how the @code{type} and @code{expr} arguments The following table shows how the @code{type} and @code{expr} arguments
are related: are related:
@multitable @columnfractions .25 .40 @multitable @columnfractions .25 .45
@item @code{type} @strong{value} @tab @strong{Expected} @code{expr} @strong{format} @item @code{type} @strong{value} @tab @strong{Expected} @code{expr} @strong{format}
@item @code{SECOND} @tab @code{SECONDS} @item @code{SECOND} @tab @code{SECONDS}
@item @code{MINUTE} @tab @code{MINUTES} @item @code{MINUTE} @tab @code{MINUTES}
...@@ -32539,7 +32632,7 @@ SSL support. @xref{Secure connections}. ...@@ -32539,7 +32632,7 @@ SSL support. @xref{Secure connections}.
The encryption key to use is chosen the following way: The encryption key to use is chosen the following way:
@multitable @columnfractions .20 .65 @multitable @columnfractions .25 .65
@item @strong{Argument} @tab @strong{Description} @item @strong{Argument} @tab @strong{Description}
@item Only one argument @tab @item Only one argument @tab
The first key from @code{des-key-file} is used. The first key from @code{des-key-file} is used.
...@@ -33876,7 +33969,7 @@ thread (with @code{KILL thread_id}), or someone executes @code{FLUSH TABLES}. ...@@ -33876,7 +33969,7 @@ thread (with @code{KILL thread_id}), or someone executes @code{FLUSH TABLES}.
The following status variables provide information about @code{INSERT The following status variables provide information about @code{INSERT
DELAYED} commands: DELAYED} commands:
@multitable @columnfractions .30 .50 @multitable @columnfractions .30 .55
@item @strong{Variable} @tab @strong{Meaning} @item @strong{Variable} @tab @strong{Meaning}
@item @code{Delayed_insert_threads} @tab Number of handler threads @item @code{Delayed_insert_threads} @tab Number of handler threads
@item @code{Delayed_writes} @tab Number of rows written with @code{INSERT DELAYED} @item @code{Delayed_writes} @tab Number of rows written with @code{INSERT DELAYED}
...@@ -35029,7 +35122,7 @@ implemented in MySQL Version 3.23 and above. ...@@ -35029,7 +35122,7 @@ implemented in MySQL Version 3.23 and above.
The different table types are: The different table types are:
@multitable @columnfractions .25 .75 @multitable @columnfractions .25 .70
@item @strong{Table type} @tab @strong{Description} @item @strong{Table type} @tab @strong{Description}
@item BDB or Berkeley_db @tab Transaction-safe tables with page locking. @xref{BDB}. @item BDB or Berkeley_db @tab Transaction-safe tables with page locking. @xref{BDB}.
@item HEAP @tab The data for this table is only stored in memory. @xref{HEAP}. @item HEAP @tab The data for this table is only stored in memory. @xref{HEAP}.
...@@ -35051,7 +35144,7 @@ The other table options are used to optimise the behavior of the ...@@ -35051,7 +35144,7 @@ The other table options are used to optimise the behavior of the
table. In most cases, you don't have to specify any of them. table. In most cases, you don't have to specify any of them.
The options work for all table types, if not otherwise indicated: The options work for all table types, if not otherwise indicated:
@multitable @columnfractions .25 .75 @multitable @columnfractions .25 .70
@item @strong{Option} @tab @strong{Description} @item @strong{Option} @tab @strong{Description}
@item @code{AUTO_INCREMENT} @tab The next @code{AUTO_INCREMENT} value you want to set for your table (MyISAM). @item @code{AUTO_INCREMENT} @tab The next @code{AUTO_INCREMENT} value you want to set for your table (MyISAM).
@item @code{AVG_ROW_LENGTH} @tab An approximation of the average row length for your table. You only need to set this for large tables with variable size records. @item @code{AVG_ROW_LENGTH} @tab An approximation of the average row length for your table. You only need to set this for large tables with variable size records.
...@@ -35809,7 +35902,7 @@ rolled back are not stored. @xref{Binary log}. ...@@ -35809,7 +35902,7 @@ rolled back are not stored. @xref{Binary log}.
The following commands automatically end a transaction (as if you had done The following commands automatically end a transaction (as if you had done
a @code{COMMIT} before executing the command): a @code{COMMIT} before executing the command):
@multitable @columnfractions .20 .20 .20 @multitable @columnfractions .25 .25 .25
@item @strong{Command} @tab @strong{Command} @tab @strong{Command} @item @strong{Command} @tab @strong{Command} @tab @strong{Command}
@item @code{ALTER TABLE} @tab @code{BEGIN} @tab @code{CREATE INDEX} @item @code{ALTER TABLE} @tab @code{BEGIN} @tab @code{CREATE INDEX}
@item @code{DROP DATABASE} @tab @code{DROP TABLE} @tab @code{RENAME TABLE} @item @code{DROP DATABASE} @tab @code{DROP TABLE} @tab @code{RENAME TABLE}
...@@ -37809,7 +37902,7 @@ parameter format: @code{set-variable = innodb... = 123}, others ...@@ -37809,7 +37902,7 @@ parameter format: @code{set-variable = innodb... = 123}, others
The meanings of the configuration parameters are the following: The meanings of the configuration parameters are the following:
@multitable @columnfractions .30 .70 @multitable @columnfractions .35 .65
@item @strong{Option} @tab @strong{Description} @item @strong{Option} @tab @strong{Description}
@item @code{innodb_data_home_dir} @tab @item @code{innodb_data_home_dir} @tab
The common part of the directory path for all InnoDB data files. The common part of the directory path for all InnoDB data files.
...@@ -41117,7 +41210,7 @@ only if you use @code{mysql_list_fields()}. ...@@ -41117,7 +41210,7 @@ only if you use @code{mysql_list_fields()}.
The type of the field. The type of the field.
The @code{type} value may be one of the following: The @code{type} value may be one of the following:
@multitable @columnfractions .30 .50 @multitable @columnfractions .35 .55
@item @strong{Type value} @tab @strong{Type description} @item @strong{Type value} @tab @strong{Type description}
@item @code{FIELD_TYPE_TINY} @tab @code{TINYINT} field @item @code{FIELD_TYPE_TINY} @tab @code{TINYINT} field
@item @code{FIELD_TYPE_SHORT} @tab @code{SMALLINT} field @item @code{FIELD_TYPE_SHORT} @tab @code{SMALLINT} field
...@@ -41163,7 +41256,7 @@ value of this variable is zero. ...@@ -41163,7 +41256,7 @@ value of this variable is zero.
Different bit-flags for the field. The @code{flags} value may have zero Different bit-flags for the field. The @code{flags} value may have zero
or more of the following bits set: or more of the following bits set:
@multitable @columnfractions .30 .45 @multitable @columnfractions .35 .55
@item @strong{Flag value} @tab @strong{Flag description} @item @strong{Flag value} @tab @strong{Flag description}
@item @code{NOT_NULL_FLAG} @tab Field can't be @code{NULL} @item @code{NOT_NULL_FLAG} @tab Field can't be @code{NULL}
@item @code{PRI_KEY_FLAG} @tab Field is part of a primary key @item @code{PRI_KEY_FLAG} @tab Field is part of a primary key
...@@ -41197,7 +41290,7 @@ if (field->flags & NOT_NULL_FLAG) ...@@ -41197,7 +41290,7 @@ if (field->flags & NOT_NULL_FLAG)
You may use the following convenience macros to determine the boolean You may use the following convenience macros to determine the boolean
status of the @code{flags} value: status of the @code{flags} value:
@multitable @columnfractions .25 .50 @multitable @columnfractions .25 .55
@item @strong{Flag status} @tab @strong{Description} @item @strong{Flag status} @tab @strong{Description}
@item @code{IS_NOT_NULL(flags)} @tab True if this field is defined as @code{NOT NULL} @item @code{IS_NOT_NULL(flags)} @tab True if this field is defined as @code{NOT NULL}
@item @code{IS_PRI_KEY(flags)} @tab True if this field is a primary key @item @code{IS_PRI_KEY(flags)} @tab True if this field is a primary key
...@@ -41219,7 +41312,7 @@ The functions available in the C API are listed below and are described in ...@@ -41219,7 +41312,7 @@ The functions available in the C API are listed below and are described in
greater detail in the next section. greater detail in the next section.
@xref{C API functions}. @xref{C API functions}.
@multitable @columnfractions .30 .70 @multitable @columnfractions .32 .68
@item @strong{Function} @tab @strong{Description} @item @strong{Function} @tab @strong{Description}
@item @strong{mysql_affected_rows()} @tab @item @strong{mysql_affected_rows()} @tab
...@@ -42956,7 +43049,7 @@ argument is the value for the option. If the option is an integer, then ...@@ -42956,7 +43049,7 @@ argument is the value for the option. If the option is an integer, then
Possible options values: Possible options values:
@multitable @columnfractions .40 .25 .35 @multitable @columnfractions .42 .20 .38
@item @strong{Option} @tab @strong{Argument type} @tab @strong{Function} @item @strong{Option} @tab @strong{Argument type} @tab @strong{Function}
@item @code{MYSQL_OPT_CONNECT_TIMEOUT} @tab @code{unsigned int *} @tab Connect timeout in seconds. @item @code{MYSQL_OPT_CONNECT_TIMEOUT} @tab @code{unsigned int *} @tab Connect timeout in seconds.
@item @code{MYSQL_OPT_COMPRESS} @tab Not used @tab Use the compressed client/server protocol. @item @code{MYSQL_OPT_COMPRESS} @tab Not used @tab Use the compressed client/server protocol.
...@@ -42972,7 +43065,7 @@ Note that the group @code{client} is always read if you use ...@@ -42972,7 +43065,7 @@ Note that the group @code{client} is always read if you use
The specified group in the option file may contain the following options: The specified group in the option file may contain the following options:
@multitable @columnfractions .20 .60 @multitable @columnfractions .25 .60
@item @strong{Option} @tab @strong{Description} @item @strong{Option} @tab @strong{Description}
@item @code{connect-timeout} @tab Connect timeout in seconds. On Linux this timeout is also used for waiting for the first answer from the server. @item @code{connect-timeout} @tab Connect timeout in seconds. On Linux this timeout is also used for waiting for the first answer from the server.
@item @code{compress} @tab Use the compressed client/server protocol. @item @code{compress} @tab Use the compressed client/server protocol.
...@@ -43163,7 +43256,7 @@ parameter determines the type of the connection. ...@@ -43163,7 +43256,7 @@ parameter determines the type of the connection.
The value of @code{client_flag} is usually 0, but can be set to a combination The value of @code{client_flag} is usually 0, but can be set to a combination
of the following flags in very special circumstances: of the following flags in very special circumstances:
@multitable @columnfractions .30 .70 @multitable @columnfractions .30 .65
@item @strong{Flag name} @tab @strong{Flag description} @item @strong{Flag name} @tab @strong{Flag description}
@item @code{CLIENT_COMPRESS} @tab Use compression protocol. @item @code{CLIENT_COMPRESS} @tab Use compression protocol.
@item @code{CLIENT_FOUND_ROWS} @tab Return the number of found (matched) rows, not the number of affected rows. @item @code{CLIENT_FOUND_ROWS} @tab Return the number of found (matched) rows, not the number of affected rows.
...@@ -44184,7 +44277,7 @@ client/server version. To change an old threaded application to use the ...@@ -44184,7 +44277,7 @@ client/server version. To change an old threaded application to use the
embedded library, you normally only have to add calls to the following embedded library, you normally only have to add calls to the following
functions: functions:
@multitable @columnfractions .25 .65 @multitable @columnfractions .25 .70
@item @strong{Function} @tab @strong{When to call} @item @strong{Function} @tab @strong{When to call}
@item @code{mysql_server_init()} @tab Should be called before any other MySQL function is called, preferably early in the @code{main()} function. @item @code{mysql_server_init()} @tab Should be called before any other MySQL function is called, preferably early in the @code{main()} function.
@item @code{mysql_server_end()} @tab Should be called before your program exits. @item @code{mysql_server_end()} @tab Should be called before your program exits.
...@@ -45851,7 +45944,7 @@ to do an automatic reconnection. ...@@ -45851,7 +45944,7 @@ to do an automatic reconnection.
You normally can get the following error codes in this case You normally can get the following error codes in this case
(which one you get is OS-dependent): (which one you get is OS-dependent):
@multitable @columnfractions .35 .60 @multitable @columnfractions .35 .65
@item @strong{Error code} @tab @strong{Description} @item @strong{Error code} @tab @strong{Description}
@item @code{CR_SERVER_GONE_ERROR} @tab The client couldn't send a question to the @item @code{CR_SERVER_GONE_ERROR} @tab The client couldn't send a question to the
server. server.
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