mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed CLIENT_TRANSACTIONS define
Fixed bug in SHOW VARIABLES when using innobase tables
This commit is contained in:
@ -1,9 +1 @@
|
|||||||
heikki@donna.mysql.fi
|
monty@tik.mysql.fi
|
||||||
jcole@tetra.spaceapes.com
|
|
||||||
monty@donna.mysql.fi
|
|
||||||
mwagner@evoq.mwagner.org
|
|
||||||
sasha@mysql.sashanet.com
|
|
||||||
sasha@work.mysql.com
|
|
||||||
serg@serg.mysql.com
|
|
||||||
tim@threads.polyesthetic.msg
|
|
||||||
tim@work.mysql.com
|
|
||||||
|
114
Docs/manual.texi
114
Docs/manual.texi
@ -206,6 +206,8 @@ Types of Commercial Support
|
|||||||
* Extended email support:: Extended email support
|
* Extended email support:: Extended email support
|
||||||
* Login support:: Login support
|
* Login support:: Login support
|
||||||
* Extended login support:: Extended login support
|
* Extended login support:: Extended login support
|
||||||
|
* Telephone support:: Telephone support
|
||||||
|
* Table handler support:: Support for other table handlers
|
||||||
|
|
||||||
Installing MySQL
|
Installing MySQL
|
||||||
|
|
||||||
@ -595,7 +597,7 @@ Replication in MySQL
|
|||||||
* Replication Options:: Replication Options in my.cnf
|
* Replication Options:: Replication Options in my.cnf
|
||||||
* Replication SQL:: SQL Commands related to replication
|
* Replication SQL:: SQL Commands related to replication
|
||||||
* Replication FAQ:: Frequently Asked Questions about replication
|
* Replication FAQ:: Frequently Asked Questions about replication
|
||||||
* Troubleshooting Replication:: Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication
|
* Troubleshooting Replication:: Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication.
|
||||||
|
|
||||||
Getting Maximum Performance from MySQL
|
Getting Maximum Performance from MySQL
|
||||||
|
|
||||||
@ -895,7 +897,8 @@ Changes in release 4.0.x (Development; Alpha)
|
|||||||
|
|
||||||
Changes in release 3.23.x (Stable)
|
Changes in release 3.23.x (Stable)
|
||||||
|
|
||||||
* News-3.23.34a::
|
* News-3.23.35:: Changes in release 3.23.35
|
||||||
|
* News-3.23.34a:: Changes in release 3.23.34a
|
||||||
* News-3.23.34:: Changes in release 3.23.34
|
* News-3.23.34:: Changes in release 3.23.34
|
||||||
* News-3.23.33:: Changes in release 3.23.33
|
* News-3.23.33:: Changes in release 3.23.33
|
||||||
* News-3.23.32:: Changes in release 3.23.32
|
* News-3.23.32:: Changes in release 3.23.32
|
||||||
@ -3699,18 +3702,18 @@ EURO (European Union Euro) so the prices will differ slightly.
|
|||||||
|
|
||||||
@multitable @columnfractions .3 .3 .3
|
@multitable @columnfractions .3 .3 .3
|
||||||
@item @strong{Number of licenses} @tab @strong{Per copy} @tab @strong{Total}
|
@item @strong{Number of licenses} @tab @strong{Per copy} @tab @strong{Total}
|
||||||
@item 1 @tab US $200 @tab US $200
|
@item 1 @tab 200 EURO @tab 200 EURO
|
||||||
@item 10 pack @tab US $150 @tab US $1500
|
@item 10 pack @tab 150 EURO @tab 1500 EURO
|
||||||
@item 50 pack @tab US $120 @tab US $6000
|
@item 50 pack @tab 120 EURO @tab 6000 EURO
|
||||||
@end multitable
|
@end multitable
|
||||||
|
|
||||||
For high volume (OEM) purchases, the following prices apply:
|
For high volume (OEM) purchases, the following prices apply:
|
||||||
|
|
||||||
@multitable @columnfractions .25 .2 .3 .25
|
@multitable @columnfractions .25 .2 .3 .25
|
||||||
@item @strong{Number of licenses} @tab @strong{Per copy} @tab @strong{Minimum } @tab @strong{Minimum payment}
|
@item @strong{Number of licenses} @tab @strong{Per copy} @tab @strong{Minimum } @tab @strong{Minimum payment}
|
||||||
@item 100-999 @tab US $40 @tab 100 @tab US $4000
|
@item 100-999 @tab 40 EURO @tab 100 @tab 4000 EURO
|
||||||
@item 1000-2499 @tab US $25 @tab 200 @tab US $5000
|
@item 1000-2499 @tab 25 EURO @tab 200 @tab 5000 EURO
|
||||||
@item 2500-4999 @tab US $20 @tab 400 @tab US $8000
|
@item 2500-4999 @tab 20 EURO @tab 400 @tab 8000 EURO
|
||||||
@end multitable
|
@end multitable
|
||||||
|
|
||||||
For OEM purchases, you must act as the middle-man for eventual problems
|
For OEM purchases, you must act as the middle-man for eventual problems
|
||||||
@ -3739,14 +3742,15 @@ status instead of just fixing it in a later release.
|
|||||||
More comprehensive support is sold separately. Descriptions of what each
|
More comprehensive support is sold separately. Descriptions of what each
|
||||||
level of support includes are given in @ref{Support}. Costs for the various
|
level of support includes are given in @ref{Support}. Costs for the various
|
||||||
types of commercial support are shown below. Support level prices are in
|
types of commercial support are shown below. Support level prices are in
|
||||||
EURO (European Union Euro). One EURO is about 1.17 USD.
|
EURO (European Union Euro). One EURO is about 1.06 USD.
|
||||||
|
|
||||||
@multitable @columnfractions .5 .5
|
@multitable @columnfractions .5 .5
|
||||||
@item @strong{Type of support} @tab @strong{Cost per year}
|
@item @strong{Type of support} @tab @strong{Cost per year}
|
||||||
@item Basic e-mail support. @xref{Basic email support}. @tab EURO 170
|
@item Basic e-mail support. @xref{Basic email support}. @tab EURO 200
|
||||||
@item Extended e-mail support @xref{Extended email support}. @tab EURO 1000
|
@item Extended e-mail support @xref{Extended email support}. @tab EURO 1000
|
||||||
@item Login support @xref{Login support}. @tab EURO 2000
|
@item Login support @xref{Login support}. @tab EURO 2000
|
||||||
@item Extended login support @xref{Extended login support}. @tab EURO 5000
|
@item Extended login support @xref{Extended login support}. @tab EURO 5000
|
||||||
|
@item Telephone support @xref{Telephone support}. @tab EURO 12000
|
||||||
@end multitable
|
@end multitable
|
||||||
|
|
||||||
You may upgrade from any lower level of support to a higher level of
|
You may upgrade from any lower level of support to a higher level of
|
||||||
@ -3858,6 +3862,8 @@ please send e-mail to @email{webmaster@@mysql.com}.
|
|||||||
* Extended email support:: Extended email support
|
* Extended email support:: Extended email support
|
||||||
* Login support:: Login support
|
* Login support:: Login support
|
||||||
* Extended login support:: Extended login support
|
* Extended login support:: Extended login support
|
||||||
|
* Telephone support:: Telephone support
|
||||||
|
* Table handler support:: Support for other table handlers
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@cindex email, technical support
|
@cindex email, technical support
|
||||||
@ -4022,7 +4028,7 @@ before talking on phone, to be able to work as efficiently as possible on
|
|||||||
solving the problem.
|
solving the problem.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@node Extended login support, , Login support, Support
|
@node Extended login support, Telephone support, Login support, Support
|
||||||
@subsection Extended Login Support
|
@subsection Extended Login Support
|
||||||
|
|
||||||
Extended login support includes everything in login support with these
|
Extended login support includes everything in login support with these
|
||||||
@ -4059,6 +4065,45 @@ without charge. For the hours above 8 hours, you will be charged with a
|
|||||||
rate that is at least 20 % less than our standard rates.
|
rate that is at least 20 % less than our standard rates.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
|
@node Telephone support, Table handler support, Extended login support, Support
|
||||||
|
@subsection Telephone Support
|
||||||
|
|
||||||
|
Telephone support includes everything in extended login support with
|
||||||
|
these additions:
|
||||||
|
|
||||||
|
@itemize @bullet
|
||||||
|
@item
|
||||||
|
We will provide you with a dynamic web page showing the current list of
|
||||||
|
@code{MySQL} developers that you can phone when you have a critical
|
||||||
|
problem.
|
||||||
|
@item
|
||||||
|
For non critical problem, you can request a @strong{MySQL} developer to
|
||||||
|
phone back within 48 hours to discuss @code{MySQL} related issues.
|
||||||
|
@end itemize
|
||||||
|
|
||||||
|
@cindex support, BDB Tables
|
||||||
|
@cindex support, INNOBASE Tables
|
||||||
|
@cindex support, GEMENI Tables
|
||||||
|
@node Table handler support, , Telephone support, Support
|
||||||
|
@subsection Support for other table handlers
|
||||||
|
|
||||||
|
To get support for @code{BDB} tables, @code{INNOBASE} tables or
|
||||||
|
@code{GEMINI} tales you has to pay and additional 30 % on the basic
|
||||||
|
support price for each of the table handlers you want to get support on.
|
||||||
|
This extra cost is cover the back support cost for the other table
|
||||||
|
handlers.
|
||||||
|
|
||||||
|
We at @code{MySQL AB} will help you create a proper bug report for the
|
||||||
|
table handler and submit it to the developers for to specific table
|
||||||
|
handler. We will also do our best to ensure that you will get a timely
|
||||||
|
answer/solution from the developers of the table handler.
|
||||||
|
|
||||||
|
Even if we are quite confident that we can solve most problems within a
|
||||||
|
timely manner, we can't guarantee a quick solution for any problems you
|
||||||
|
can get with the different table handlers. We will however do our best
|
||||||
|
to help you get the problem solved.
|
||||||
|
|
||||||
|
|
||||||
@node Installing, Compatibility, Licensing and Support, Top
|
@node Installing, Compatibility, Licensing and Support, Top
|
||||||
@chapter Installing MySQL
|
@chapter Installing MySQL
|
||||||
@cindex installing, overview
|
@cindex installing, overview
|
||||||
@ -6166,9 +6211,12 @@ Download @strong{BitKeeper} from
|
|||||||
@item
|
@item
|
||||||
Follow the instructions to install it.
|
Follow the instructions to install it.
|
||||||
@item
|
@item
|
||||||
Once @strong{BitKeeper} is installed,
|
Once @strong{BitKeeper} is installed, if you want to clone 3.23 branch,
|
||||||
@code{bk clone bk://work.mysql.com:7000 mysql} - the initial download
|
@code{bk clone bk://work.mysql.com:7000 mysql}, and
|
||||||
may take a while, depending on the speed of your connection.
|
@code{bk clone bk://work.mysql.com:7001 mysql-4.0} for 4.0 branch
|
||||||
|
|
||||||
|
The initial download may take a while, depending on the speed of your
|
||||||
|
connection.
|
||||||
@item
|
@item
|
||||||
You will need GNU autoconf/automake, libtool, and m4 to do the next stage.
|
You will need GNU autoconf/automake, libtool, and m4 to do the next stage.
|
||||||
If you get some strange error during the first stage, check that you really
|
If you get some strange error during the first stage, check that you really
|
||||||
@ -6194,8 +6242,7 @@ you @code{./configure} with different values for @code{prefix},
|
|||||||
@code{tcp-port}, and @code{unix-socket-path}.
|
@code{tcp-port}, and @code{unix-socket-path}.
|
||||||
@item
|
@item
|
||||||
Play hard with your new installation and try to make the new features
|
Play hard with your new installation and try to make the new features
|
||||||
crash. Report bugs to @email{bugs@@lists.mysql.com}. As always, make
|
crash. Start by running @code{make test}. @xref{MySQL test suite}.
|
||||||
sure you have a full test case for the bug that we can run.
|
|
||||||
@item
|
@item
|
||||||
If you have gotten to the @code{make} stage and it does not compile,
|
If you have gotten to the @code{make} stage and it does not compile,
|
||||||
please report it to @email{bugs@@lists.mysql.com}. If you have
|
please report it to @email{bugs@@lists.mysql.com}. If you have
|
||||||
@ -23373,8 +23420,9 @@ SUM_OVER_ALL_KEYS(max_length_of_key + sizeof(char*) * 2)
|
|||||||
@node BDB overview, BDB install, BDB, BDB
|
@node BDB overview, BDB install, BDB, BDB
|
||||||
@subsection Overview over BDB tables
|
@subsection Overview over BDB tables
|
||||||
|
|
||||||
BDB is included in the @strong{MySQL} source distribution starting
|
BDB tables are included in the @strong{MySQL} source distribution
|
||||||
from 3.23.34 and will be activated in the @strong{MySQL}-max binary.
|
starting from 3.23.34 and will be activated in the @strong{MySQL}-max
|
||||||
|
binary.
|
||||||
|
|
||||||
Berkeley DB (@uref{http://www.sleepycat.com}) has provided
|
Berkeley DB (@uref{http://www.sleepycat.com}) has provided
|
||||||
@strong{MySQL} with a transaction-safe table handler. This will survive
|
@strong{MySQL} with a transaction-safe table handler. This will survive
|
||||||
@ -23666,8 +23714,9 @@ NuSphere is working on removing these limitations.
|
|||||||
@node INNOBASE overview, INNOBASE start, INNOBASE, INNOBASE
|
@node INNOBASE overview, INNOBASE start, INNOBASE, INNOBASE
|
||||||
@subsection INNOBASE Tables overview
|
@subsection INNOBASE Tables overview
|
||||||
|
|
||||||
Innobase is included in the @strong{MySQL} source distribution starting
|
Innobase tables are included in the @strong{MySQL} source distribution
|
||||||
from 3.23.34a and will be activated in the @strong{MySQL}-max binary.
|
starting from 3.23.34 and will be activated in the @strong{MySQL}-max
|
||||||
|
binary.
|
||||||
|
|
||||||
If you have downloaded a binary version of @strong{MySQL} that includes
|
If you have downloaded a binary version of @strong{MySQL} that includes
|
||||||
support for Innobase, simply follow the instructions for
|
support for Innobase, simply follow the instructions for
|
||||||
@ -26617,7 +26666,7 @@ tables}.
|
|||||||
* Replication Options:: Replication Options in my.cnf
|
* Replication Options:: Replication Options in my.cnf
|
||||||
* Replication SQL:: SQL Commands related to replication
|
* Replication SQL:: SQL Commands related to replication
|
||||||
* Replication FAQ:: Frequently Asked Questions about replication
|
* Replication FAQ:: Frequently Asked Questions about replication
|
||||||
* Troubleshooting Replication:: Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication
|
* Troubleshooting Replication:: Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication. Troubleshooting Replication.
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@node Replication Intro, Replication Implementation, Replication, Replication
|
@node Replication Intro, Replication Implementation, Replication, Replication
|
||||||
@ -42048,7 +42097,8 @@ users uses this code as the rest of the code and because of this we are
|
|||||||
not yet 100 % confident in this code.
|
not yet 100 % confident in this code.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* News-3.23.34a::
|
* News-3.23.35:: Changes in release 3.23.35
|
||||||
|
* News-3.23.34a:: Changes in release 3.23.34a
|
||||||
* News-3.23.34:: Changes in release 3.23.34
|
* News-3.23.34:: Changes in release 3.23.34
|
||||||
* News-3.23.33:: Changes in release 3.23.33
|
* News-3.23.33:: Changes in release 3.23.33
|
||||||
* News-3.23.32:: Changes in release 3.23.32
|
* News-3.23.32:: Changes in release 3.23.32
|
||||||
@ -42086,7 +42136,18 @@ not yet 100 % confident in this code.
|
|||||||
* News-3.23.0:: Changes in release 3.23.0
|
* News-3.23.0:: Changes in release 3.23.0
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@node News-3.23.34a, News-3.23.34, News-3.23.x, News-3.23.x
|
@node News-3.23.35, News-3.23.34a, News-3.23.x, News-3.23.x
|
||||||
|
@appendixsubsec Changes in release 3.23.35
|
||||||
|
@itemize @bullet
|
||||||
|
@item
|
||||||
|
Fixed newly introduce bug in @code{ORDER BY}.
|
||||||
|
@item
|
||||||
|
Fixed wrong define @code{CLIENT_TRANSACTIONS}.
|
||||||
|
@item
|
||||||
|
Fixed bug in @code{SHOW VARIABLES} when using INNOBASE tables.
|
||||||
|
@end itemize
|
||||||
|
|
||||||
|
@node News-3.23.34a, News-3.23.34, News-3.23.35, News-3.23.x
|
||||||
@appendixsubsec Changes in release 3.23.34a
|
@appendixsubsec Changes in release 3.23.34a
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
Add extra files to distribution to allow one to compile Innobase.
|
Add extra files to distribution to allow one to compile Innobase.
|
||||||
@ -46915,6 +46976,10 @@ in a database, it will take a long time to use the @code{mysql} client
|
|||||||
on the database if you are not using the @code{-A} option or if you are
|
on the database if you are not using the @code{-A} option or if you are
|
||||||
using @code{rehash}. This is especially notable when you have a big table
|
using @code{rehash}. This is especially notable when you have a big table
|
||||||
cache.
|
cache.
|
||||||
|
|
||||||
|
@item
|
||||||
|
Th current replication protocol cannot deal with @code{LOAD DATA INFILE}
|
||||||
|
and line terminator characters of more than 1 character.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
The following problems are known and will be fixed in due time:
|
The following problems are known and will be fixed in due time:
|
||||||
@ -47222,6 +47287,9 @@ at the same time.
|
|||||||
@item
|
@item
|
||||||
Change @code{INSERT ... SELECT} to use concurrent inserts.
|
Change @code{INSERT ... SELECT} to use concurrent inserts.
|
||||||
@item
|
@item
|
||||||
|
Return the original field types() when doing @code{SELECT MIN(column)
|
||||||
|
... GROUP BY}.
|
||||||
|
@item
|
||||||
Add range checking to @code{MERGE} tables.
|
Add range checking to @code{MERGE} tables.
|
||||||
@item
|
@item
|
||||||
Port of @strong{MySQL} to BeOS.
|
Port of @strong{MySQL} to BeOS.
|
||||||
|
@ -90,7 +90,7 @@ enum enum_server_command {COM_SLEEP,COM_QUIT,COM_INIT_DB,COM_QUERY,
|
|||||||
#define CLIENT_INTERACTIVE 1024 /* This is an interactive client */
|
#define CLIENT_INTERACTIVE 1024 /* This is an interactive client */
|
||||||
#define CLIENT_SSL 2048 /* Switch to SSL after handshake */
|
#define CLIENT_SSL 2048 /* Switch to SSL after handshake */
|
||||||
#define CLIENT_IGNORE_SIGPIPE 4096 /* IGNORE sigpipes */
|
#define CLIENT_IGNORE_SIGPIPE 4096 /* IGNORE sigpipes */
|
||||||
#define CLIENT_TRANSACTIONS 8196 /* Client knows about transactions */
|
#define CLIENT_TRANSACTIONS 8192 /* Client knows about transactions */
|
||||||
|
|
||||||
#define SERVER_STATUS_IN_TRANS 1 /* Transaction has started */
|
#define SERVER_STATUS_IN_TRANS 1 /* Transaction has started */
|
||||||
#define SERVER_STATUS_AUTOCOMMIT 2 /* Server in auto_commit mode */
|
#define SERVER_STATUS_AUTOCOMMIT 2 /* Server in auto_commit mode */
|
||||||
|
@ -2717,12 +2717,12 @@ struct show_var_st init_vars[]= {
|
|||||||
{"have_ssl", (char*) &have_ssl, SHOW_HAVE},
|
{"have_ssl", (char*) &have_ssl, SHOW_HAVE},
|
||||||
{"init_file", (char*) &opt_init_file, SHOW_CHAR_PTR},
|
{"init_file", (char*) &opt_init_file, SHOW_CHAR_PTR},
|
||||||
#ifdef HAVE_INNOBASE_DB
|
#ifdef HAVE_INNOBASE_DB
|
||||||
{"innobase_data_file_path", innobase_data_file_path, SHOW_CHAR},
|
{"innobase_data_file_path", (char*) &innobase_data_file_path, SHOW_CHAR_PTR},
|
||||||
{"innobase_data_home_dir", innobase_data_home_dir, SHOW_CHAR},
|
{"innobase_data_home_dir", (char*) &innobase_data_home_dir, SHOW_CHAR_PTR},
|
||||||
{"innobase_flush_log_at_trx_commit", (char*) &innobase_flush_log_at_trx_commit, SHOW_MY_BOOL},
|
{"innobase_flush_log_at_trx_commit", (char*) &innobase_flush_log_at_trx_commit, SHOW_MY_BOOL},
|
||||||
{"innobase_log_arch_dir", innobase_log_arch_dir, SHOW_CHAR},
|
{"innobase_log_arch_dir", (char*) &innobase_log_arch_dir, SHOW_CHAR_PTR},
|
||||||
{"innobase_log_archive", (char*) &innobase_log_archive, SHOW_MY_BOOL},
|
{"innobase_log_archive", (char*) &innobase_log_archive, SHOW_MY_BOOL},
|
||||||
{"innobase_log_group_home_dir", innobase_log_group_home_dir, SHOW_CHAR},
|
{"innobase_log_group_home_dir", (char*) &innobase_log_group_home_dir, SHOW_CHAR_PTR},
|
||||||
#endif
|
#endif
|
||||||
{"interactive_timeout", (char*) &net_interactive_timeout, SHOW_LONG},
|
{"interactive_timeout", (char*) &net_interactive_timeout, SHOW_LONG},
|
||||||
{"join_buffer_size", (char*) &join_buff_size, SHOW_LONG},
|
{"join_buffer_size", (char*) &join_buff_size, SHOW_LONG},
|
||||||
|
Reference in New Issue
Block a user