Fixed typos

Patch provided by Dolf Schimmel
This commit is contained in:
Michael Widenius 2011-01-07 13:45:59 +02:00
parent 53407ecf17
commit b2abd1cb0c
7 changed files with 8 additions and 8 deletions

View File

@ -5078,7 +5078,7 @@ optimize_straight_join(JOIN *join, table_map join_tables)
All other cases are in-between these two extremes. Thus the parameter
'search_depth' controlls the exhaustiveness of the search. The higher the
value, the longer the optimizaton time and possibly the better the
value, the longer the optimization time and possibly the better the
resulting plan. The lower the value, the fewer alternative plans are
estimated, but the more likely to get a bad QEP.

View File

@ -290,7 +290,7 @@ class IOAsyncReadBuffer : public IOReadBuffer
Return a pointer to the next row in the table, where "next" is defined
by the orientation.
@param orientaton
@param orientation
@param[out] rrn The relative record number of the row returned. Not reliable
if NULL is returned by this function.

View File

@ -1343,7 +1343,7 @@ trx_sys_print_mysql_binlog_offset_from_page(
/* THESE ARE COPIED FROM NON-HOTBACKUP PART OF THE INNODB SOURCE TREE
(This code duplicaton should be fixed at some point!)
(This code duplication should be fixed at some point!)
*/
#define TRX_SYS_SPACE 0 /* the SYSTEM tablespace */

View File

@ -1057,9 +1057,9 @@ THR_LOCK_DATA **ha_myisammrg::store_lock(THD *thd,
/*
When MERGE table is open, but not yet attached, other threads
could flush it, which means call mysql_lock_abort_for_thread()
could flush it, which means calling mysql_lock_abort_for_thread()
on this threads TABLE. 'children_attached' is FALSE in this
situaton. Since the table is not locked, return no lock data.
situation. Since the table is not locked, return no lock data.
*/
if (!this->file->children_attached)
goto end; /* purecov: tested */

View File

@ -66,7 +66,7 @@ struct NdbError {
/**
* The error code indicates a permanent error.<br>
* (Includes classificatons: NdbError::PermanentError,
* (Includes classifications: NdbError::PermanentError,
* NdbError::ApplicationError, NdbError::NoDataFound,
* NdbError::ConstraintViolation, NdbError::SchemaError,
* NdbError::UserDefinedError, NdbError::InternalError, and,

View File

@ -31,7 +31,7 @@ public:
* Returns time for last contents modification of a file.
*
* @param aFileName a filename to check.
* @return the time for last contents modificaton of the file.
* @return the time for last contents modification of the file.
*/
static time_t mtime(const char* aFileName);

View File

@ -1667,7 +1667,7 @@ trx_sys_print_mysql_binlog_offset_from_page(
/* THESE ARE COPIED FROM NON-HOTBACKUP PART OF THE INNODB SOURCE TREE
(This code duplicaton should be fixed at some point!)
(This code duplication should be fixed at some point!)
*/
#define TRX_SYS_SPACE 0 /* the SYSTEM tablespace */