1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix typos in C comments inside sql/

This commit is contained in:
Vasilii Lakhin
2025-03-09 18:19:33 +02:00
committed by Sergey Vojtovich
parent 153778437d
commit 717c12de0e
193 changed files with 746 additions and 746 deletions

View File

@ -1162,7 +1162,7 @@ public:
Iterates registered threads.
@param action called for every element
@param argument opque argument passed to action
@param argument opaque argument passed to action
@return
@retval 0 iteration completed successfully
@ -1226,7 +1226,7 @@ public:
bool is_reprepared;
#endif
/*
The states relfects three diffrent life cycles for three
The state reflects three different life cycles for three
different types of statements:
Prepared statement: STMT_INITIALIZED -> STMT_PREPARED -> STMT_EXECUTED.
Stored procedure: STMT_INITIALIZED_FOR_SP -> STMT_EXECUTED.
@ -2225,7 +2225,7 @@ public:
- mask a warning/error and throw another one instead.
When this method returns true, the sql condition is considered
'handled', and will not be propagated to upper layers.
It is the responsability of the code installing an internal handler
It is the responsibility of the code installing an internal handler
to then check for trapped conditions, and implement logic to recover
from the anticipated conditions trapped during runtime.
@ -3197,7 +3197,7 @@ public:
chapter 'Miscellaneous functions', for functions GET_LOCK, RELEASE_LOCK.
*/
HASH ull_hash;
/* Hash of used seqeunces (for PREVIOUS value) */
/* Hash of used sequences (for PREVIOUS value) */
HASH sequences;
#ifdef DBUG_ASSERT_EXISTS
uint dbug_sentry; // watch out for memory corruption
@ -3991,7 +3991,7 @@ public:
/*
If this is a slave, the name of the connection stored here.
This is used for taging error messages in the log files.
This is used for tagging error messages in the log files.
*/
LEX_CSTRING connection_name;
uint8 password; /* 0, 1 or 2 */
@ -5461,7 +5461,7 @@ public:
locked_tables_mode= mode_arg;
}
void leave_locked_tables_mode();
/* Relesae transactional locks if there are no active transactions */
/* Release transactional locks if there are no active transactions */
void release_transactional_locks()
{
if (!in_active_multi_stmt_transaction())
@ -6262,7 +6262,7 @@ class select_result_interceptor;
/*
Interface for sending tabular data, together with some other stuff:
- Primary purpose seems to be seding typed tabular data:
- Primary purpose seems to be sending typed tabular data:
= the DDL is sent with send_fields()
= the rows are sent with send_data()
Besides that,
@ -6414,7 +6414,7 @@ private:
/*
Base class for select_result descendands which intercept and
Base class for select_result descendants which intercept and
transform result set rows. As the rows are not sent to the client,
sending of result set metadata should be suppressed as well.
*/
@ -6724,7 +6724,7 @@ public:
void abort_result_set() override;
bool can_rollback_data() override { return 1; }
// Needed for access from local class MY_HOOKS in prepare(), since thd is proteted.
// Needed for access from local class MY_HOOKS in prepare(), since thd is protected.
const THD *get_thd(void) { return thd; }
const HA_CREATE_INFO *get_create_info() { return create_info; };
int prepare2(JOIN *join) override { return 0; }
@ -7114,7 +7114,7 @@ class select_union_recursive :public select_unit
Function calls are forwarded to the wrapped select_result, but some
functions are expected to be called only once for each query, so
they are only executed for the first SELECT in the union (execept
they are only executed for the first SELECT in the union (except
for send_eof(), which is executed only for the last SELECT).
This select_result is used when a UNION is not DISTINCT and doesn't
@ -7230,7 +7230,7 @@ public:
/*
This class specializes select_union to collect statistics about the
data stored in the temp table. Currently the class collects statistcs
data stored in the temp table. Currently the class collects statistics
about NULLs.
*/
@ -7257,9 +7257,9 @@ protected:
*/
uint max_nulls_in_row;
/*
Count of rows writtent to the temp table. This is redundant as it is
Count of rows written to the temp table. This is redundant as it is
already stored in handler::stats.records, however that one is relatively
expensive to compute (given we need that for evry row).
expensive to compute (given we need that for every row).
*/
ha_rows count_rows;