Commit de59bd86 authored by unknown's avatar unknown

Merge paul@work.mysql.com:/home/bk/mysql-4.0

into teton.kitebird.com:/home/paul/mysql-4.0


Docs/manual.texi:
  Auto merged
parents 606e3e95 e8f267a7
...@@ -26730,7 +26730,7 @@ following circumstances: ...@@ -26730,7 +26730,7 @@ following circumstances:
When the cache is full and a thread tries to open a table that is not in When the cache is full and a thread tries to open a table that is not in
the cache. the cache.
@item @item
When the cache contains more than @code{table_cache} entires and When the cache contains more than @code{table_cache} entries and
a thread is no longer using a table. a thread is no longer using a table.
@item @item
When someone executes @code{mysqladmin refresh} or When someone executes @code{mysqladmin refresh} or
...@@ -41868,12 +41868,11 @@ None. ...@@ -41868,12 +41868,11 @@ None.
You should use @code{mysql_real_escape_string()} instead! You should use @code{mysql_real_escape_string()} instead!
This is identical to @code{mysql_real_escape_string()} except that it This function is identical to @code{mysql_real_escape_string()} except
takes the connection as the first that @code{mysql_real_escape_string()} takes a connection handler as
argument. @code{mysql_real_escape_string()} will escape the string its first argument and escapes the string according to the current
according to the current character set while character set. @code{mysql_escape_string()} does not take a connection
@code{mysql_escape_string()} does not respect the current charset argument and does not respect the current charset setting.
setting.
@node mysql_fetch_field, mysql_fetch_fields, mysql_escape_string, C API functions @node mysql_fetch_field, mysql_fetch_fields, mysql_escape_string, C API functions
...@@ -43492,6 +43491,8 @@ threaded client. @xref{Threaded clients}. ...@@ -43492,6 +43491,8 @@ threaded client. @xref{Threaded clients}.
@findex @code{my_init()} @findex @code{my_init()}
@code{void my_init(void)}
@subsubheading Description @subsubheading Description
This function needs to be called once in the program before calling any This function needs to be called once in the program before calling any
...@@ -43504,13 +43505,15 @@ This is automatically called by @code{mysql_init()}, ...@@ -43504,13 +43505,15 @@ This is automatically called by @code{mysql_init()},
@subsubheading Return Values @subsubheading Return Values
none. None.
@node mysql_thread_init, mysql_thread_end, my_init, C Thread functions @node mysql_thread_init, mysql_thread_end, my_init, C Thread functions
@subsubsection @code{mysql_thread_init()} @subsubsection @code{mysql_thread_init()}
@findex @code{mysql_thread_init()} @findex @code{mysql_thread_init()}
@code{my_bool mysql_thread_init(void)}
@subsubheading Description @subsubheading Description
This function needs to be called for each created thread to initialise This function needs to be called for each created thread to initialise
...@@ -43520,13 +43523,15 @@ This is automatically called by @code{my_init()} and @code{mysql_connect()}. ...@@ -43520,13 +43523,15 @@ This is automatically called by @code{my_init()} and @code{mysql_connect()}.
@subsubheading Return Values @subsubheading Return Values
none. None.
@node mysql_thread_end, , mysql_thread_init, C Thread functions @node mysql_thread_end, , mysql_thread_init, C Thread functions
@subsubsection @code{mysql_thread_end()} @subsubsection @code{mysql_thread_end()}
@findex @code{mysql_thread_end()} @findex @code{mysql_thread_end()}
@code{void mysql_thread_end(void)}
@subsubheading Description @subsubheading Description
This function needs to be called before calling @code{pthread_exit()} to This function needs to be called before calling @code{pthread_exit()} to
...@@ -43537,7 +43542,7 @@ library. It must be called explicitly to avoid a memory leak. ...@@ -43537,7 +43542,7 @@ library. It must be called explicitly to avoid a memory leak.
@subsubheading Return Values @subsubheading Return Values
none. None.
@node C Embedded Server func, C API problems, C Thread functions, C @node C Embedded Server func, C API problems, C Thread functions, C
@subsection C Embedded Server Function Descriptions @subsection C Embedded Server Function Descriptions
...@@ -43623,6 +43628,8 @@ int main(void) @{ ...@@ -43623,6 +43628,8 @@ int main(void) @{
@findex @code{mysql_server_end()} @findex @code{mysql_server_end()}
@code{void mysql_server_end(void)}
@subsubheading Description @subsubheading Description
This function @strong{must} be called once in the program after This function @strong{must} be called once in the program after
...@@ -43630,7 +43637,7 @@ all other MySQL functions. It shuts down the embedded server. ...@@ -43630,7 +43637,7 @@ all other MySQL functions. It shuts down the embedded server.
@subsubheading Return Values @subsubheading Return Values
none. None.
@node C API problems, Building clients, C Embedded Server func, C @node C API problems, Building clients, C Embedded Server func, C
@subsection Common questions and problems when using the C API @subsection Common questions and problems when using the C API
...@@ -51792,7 +51799,7 @@ Added @code{--default-table-type} option to @code{mysqld}. ...@@ -51792,7 +51799,7 @@ Added @code{--default-table-type} option to @code{mysqld}.
@cindex changes, version 3.22 @cindex changes, version 3.22
The 3.22 version has faster and safer connect code than version 3.21, as well The 3.22 version has faster and safer connect code than version 3.21, as well
as a lot of new nice enhancements. The reason for not including these changes as a lot of new nice enhancements.
As there aren't really any major changes, upgrading from 3.21 to 3.22 should As there aren't really any major changes, upgrading from 3.21 to 3.22 should
be very easy and painless. @xref{Upgrading-from-3.21}. be very easy and painless. @xref{Upgrading-from-3.21}.
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