MDEV-6153 Trivial Lintian errors in MariaDB sources: spelling errors and wrong executable bits

This commit is contained in:
Sergei Golubchik 2014-05-13 11:53:30 +02:00
parent 1170a54060
commit edf1fbd25b
39 changed files with 59 additions and 59 deletions

View File

@ -111,7 +111,7 @@ enum enum_server_command
#define MYSQL_TYPE_VIRTUAL 245 #define MYSQL_TYPE_VIRTUAL 245
/* /*
Length of random string sent by server on handshake; this is also length of Length of random string sent by server on handshake; this is also length of
obfuscated password, recieved from client obfuscated password, received from client
*/ */
#define SCRAMBLE_LENGTH 20 #define SCRAMBLE_LENGTH 20
#define SCRAMBLE_LENGTH_323 8 #define SCRAMBLE_LENGTH_323 8

View File

@ -81,7 +81,7 @@ const char *client_errors[]=
"Attempt to read a row while there is no result set associated with the statement", "Attempt to read a row while there is no result set associated with the statement",
"This feature is not implemented yet", "This feature is not implemented yet",
"Lost connection to MySQL server at '%s', system error: %M", "Lost connection to MySQL server at '%s', system error: %M",
"Statement closed indirectly because of a preceeding %s() call", "Statement closed indirectly because of a preceding %s() call",
"The number of columns in the result set differs from the number of bound buffers. You must reset the statement, rebind the result set columns, and execute the statement again", "The number of columns in the result set differs from the number of bound buffers. You must reset the statement, rebind the result set columns, and execute the statement again",
"This handle is already connected. Use a separate handle for each connection.", "This handle is already connected. Use a separate handle for each connection.",
"Authentication plugin '%s' cannot be loaded: %s", "Authentication plugin '%s' cannot be loaded: %s",

View File

@ -332,7 +332,7 @@ is defined so that
can invoke itself with can invoke itself with
exec $MYSQL_TEST\&. exec $MYSQL_TEST\&.
.PP .PP
Other tests may refer to the last three variables listed in the preceeding table, to locate files to read or write\&. For example, tests that need to create files will typically put them in Other tests may refer to the last three variables listed in the preceding table, to locate files to read or write\&. For example, tests that need to create files will typically put them in
$MYSQL_TMP_DIR/\fIfile_name\fR\&. $MYSQL_TMP_DIR/\fIfile_name\fR\&.
.PP .PP
If you are running If you are running

0
mysql-test/collections/default.weekly Executable file → Normal file
View File

View File

@ -98,8 +98,8 @@
# --> less switching of AUTOCOMMIT mode on master side. # --> less switching of AUTOCOMMIT mode on master side.
# #
# 4. Never use a test object, which was direct or indirect affected by a # 4. Never use a test object, which was direct or indirect affected by a
# preceeding test sequence again. # preceding test sequence again.
# If one preceeding test sequence hits a (sometimes not visible, # If one preceding test sequence hits a (sometimes not visible,
# because the sql error code of the statement might be 0) bug # because the sql error code of the statement might be 0) bug
# and these rules are ignored, a following test sequence might earn ugly # and these rules are ignored, a following test sequence might earn ugly
# effects like failing 'sync_slave_with_master', crashes of the slave or # effects like failing 'sync_slave_with_master', crashes of the slave or

View File

@ -221,7 +221,7 @@ INSERT INTO t7 VALUES (1,3), (2,6), (3,9);
SELECT * FROM t7 ORDER BY C1; SELECT * FROM t7 ORDER BY C1;
# since bug#31552/31609 idempotency is not default any longer. In order # since bug#31552/31609 idempotency is not default any longer. In order
# the preceeding test INSERT INTO t7 to pass the mode is switched # the preceding test INSERT INTO t7 to pass the mode is switched
# temprorarily # temprorarily
set @@global.slave_exec_mode= 'IDEMPOTENT'; set @@global.slave_exec_mode= 'IDEMPOTENT';
@ -260,7 +260,7 @@ INSERT INTO t8 VALUES (1,2,3), (2,4,6), (3,6,9);
SELECT * FROM t8 ORDER BY a; SELECT * FROM t8 ORDER BY a;
# since bug#31552/31609 idempotency is not default any longer. In order # since bug#31552/31609 idempotency is not default any longer. In order
# the preceeding test INSERT INTO t8 to pass the mode is switched # the preceding test INSERT INTO t8 to pass the mode is switched
# temprorarily # temprorarily
set @@global.slave_exec_mode= 'IDEMPOTENT'; set @@global.slave_exec_mode= 'IDEMPOTENT';

View File

@ -10,7 +10,7 @@
# 1. We wait for $current_sessions <= $count_sessions because in the use case # 1. We wait for $current_sessions <= $count_sessions because in the use case
# with count_sessions.inc before and wait_until_count_sessions.inc after # with count_sessions.inc before and wait_until_count_sessions.inc after
# the core of the test it could happen that the disconnects of sessions # the core of the test it could happen that the disconnects of sessions
# belonging to the preceeding test are not finished. # belonging to the preceding test are not finished.
# sessions at test begin($count_sessions) = m + n # sessions at test begin($count_sessions) = m + n
# sessions of the previous test which will be soon disconnected = n (n >= 0) # sessions of the previous test which will be soon disconnected = n (n >= 0)
# sessions at test end ($current sessions, assuming the test disconnects # sessions at test end ($current sessions, assuming the test disconnects

View File

@ -6525,7 +6525,7 @@ Misc options
start-dirty Only start the servers (without initialization) for start-dirty Only start the servers (without initialization) for
the first specified test case the first specified test case
user-args In combination with start* and no test name, drops user-args In combination with start* and no test name, drops
arguments to mysqld except those speficied with arguments to mysqld except those specified with
--mysqld (if any) --mysqld (if any)
wait-all If --start or --start-dirty option is used, wait for all wait-all If --start or --start-dirty option is used, wait for all
servers to exit before finishing the process servers to exit before finishing the process

View File

@ -683,7 +683,7 @@ The following options may be given as the first argument:
plugins from a given library_file will be loaded. plugins from a given library_file will be loaded.
--plugin-load-add=name --plugin-load-add=name
Optional semicolon-separated list of plugins to load. Optional semicolon-separated list of plugins to load.
This option adds to the list speficied by --plugin-load This option adds to the list specified by --plugin-load
in an incremental way. It can be specified many times, in an incremental way. It can be specified many times,
adding more plugins every time. adding more plugins every time.
--plugin-maturity=name --plugin-maturity=name
@ -756,7 +756,7 @@ The following options may be given as the first argument:
--relay-log-space-limit=# --relay-log-space-limit=#
Maximum space to use for all relay logs Maximum space to use for all relay logs
--replicate-annotate-row-events --replicate-annotate-row-events
Tells the slave to write annotate rows events recieved Tells the slave to write annotate rows events received
from the master to its own binary log. Ignored if from the master to its own binary log. Ignored if
log_slave_updates is not set log_slave_updates is not set
--replicate-do-db=name --replicate-do-db=name

View File

@ -613,8 +613,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
("4", "1", "sup", "0"); ("4", "1", "sup", "0");
create table t3 ( create table t3 (
id int(11) not null default '0', id int(11) not null default '0',
preceeding_id int(11) not null default '0', preceding_id int(11) not null default '0',
primary key (id,preceeding_id) primary key (id,preceding_id)
); );
create table t4 ( create table t4 (
user_id varchar(50) not null, user_id varchar(50) not null,
@ -625,7 +625,7 @@ insert into t4 values("nicke", "imp");
prepare stmt from prepare stmt from
'select distinct t1.partner_id 'select distinct t1.partner_id
from t1 left join t3 on t1.id = t3.id from t1 left join t3 on t1.id = t3.id
left join t1 pp on pp.id = t3.preceeding_id left join t1 pp on pp.id = t3.preceding_id
where where
exists ( exists (
select * select *

View File

@ -1007,8 +1007,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
("4", "1", "sup", "0"); ("4", "1", "sup", "0");
create table t3 ( create table t3 (
id int(11) not null default '0', id int(11) not null default '0',
preceeding_id int(11) not null default '0', preceding_id int(11) not null default '0',
primary key (id,preceeding_id) primary key (id,preceding_id)
); );
create table t4 ( create table t4 (
user_id varchar(50) not null, user_id varchar(50) not null,

View File

@ -1020,8 +1020,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
("4", "1", "sup", "0"); ("4", "1", "sup", "0");
create table t3 ( create table t3 (
id int(11) not null default '0', id int(11) not null default '0',
preceeding_id int(11) not null default '0', preceding_id int(11) not null default '0',
primary key (id,preceeding_id) primary key (id,preceding_id)
); );
create table t4 ( create table t4 (
user_id varchar(50) not null, user_id varchar(50) not null,

View File

@ -284,7 +284,7 @@ INSERT INTO t1_values SET
# other interesting value # other interesting value
# numbers -> 0 # numbers -> 0
# strings, blobs, binaries -> not full length of used data type, "exotic" # strings, blobs, binaries -> not full length of used data type, "exotic"
# characters and preceeding and trailing spaces # characters and preceding and trailing spaces
# FIXME enum, set ?? # FIXME enum, set ??
INSERT INTO t1_values SET INSERT INTO t1_values SET
my_char_30 = ' ---äÖüß@µ*$-- ', my_char_30 = ' ---äÖüß@µ*$-- ',

View File

@ -545,7 +545,7 @@ let $message= Testcase 3.3.1.7 ;
# view names are accepted, at creation time, alteration time, # view names are accepted, at creation time, alteration time,
# and drop time. # and drop time.
############################################################################### ###############################################################################
# Note(mleich): non-qualified view name means a view name without preceeding # Note(mleich): non-qualified view name means a view name without preceding
# database name # database name
--disable_warnings --disable_warnings
DROP VIEW IF EXISTS v1 ; DROP VIEW IF EXISTS v1 ;

View File

@ -13,10 +13,10 @@
# sequences start. # sequences start.
# #
# 2. Never use a test object, which was direct or indirect affected by a # 2. Never use a test object, which was direct or indirect affected by a
# preceeding test sequence again. # preceding test sequence again.
# Except table d1.t1 where ONLY DML is allowed. # Except table d1.t1 where ONLY DML is allowed.
# #
# If one preceeding test sequence hits a (sometimes not good visible, # If one preceding test sequence hits a (sometimes not good visible,
# because the sql error code of the statement might be 0) bug # because the sql error code of the statement might be 0) bug
# and these rules are ignored, a following test sequence might earn ugly # and these rules are ignored, a following test sequence might earn ugly
# effects like failing 'sync_slave_with_master', crashes of the slave or # effects like failing 'sync_slave_with_master', crashes of the slave or

View File

@ -244,7 +244,7 @@ sync_slave_with_master;
UPDATE t1 SET a = 5, b = 'slave' WHERE a = 1; UPDATE t1 SET a = 5, b = 'slave' WHERE a = 1;
SELECT * FROM t1 ORDER BY a; SELECT * FROM t1 ORDER BY a;
# since bug#31552/31609 idempotency is not default any longer. In # since bug#31552/31609 idempotency is not default any longer. In
# order for the preceeding test UPDATE t1 to pass, the mode is switched # order for the preceding test UPDATE t1 to pass, the mode is switched
# temprorarily # temprorarily
set @@global.slave_exec_mode= 'IDEMPOTENT'; set @@global.slave_exec_mode= 'IDEMPOTENT';
--echo **** On Master **** --echo **** On Master ****

View File

@ -677,8 +677,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
create table t3 ( create table t3 (
id int(11) not null default '0', id int(11) not null default '0',
preceeding_id int(11) not null default '0', preceding_id int(11) not null default '0',
primary key (id,preceeding_id) primary key (id,preceding_id)
); );
create table t4 ( create table t4 (
@ -692,7 +692,7 @@ insert into t4 values("nicke", "imp");
prepare stmt from prepare stmt from
'select distinct t1.partner_id 'select distinct t1.partner_id
from t1 left join t3 on t1.id = t3.id from t1 left join t3 on t1.id = t3.id
left join t1 pp on pp.id = t3.preceeding_id left join t1 pp on pp.id = t3.preceding_id
where where
exists ( exists (
select * select *

View File

@ -897,8 +897,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
("4", "1", "sup", "0"); ("4", "1", "sup", "0");
create table t3 ( create table t3 (
id int(11) not null default '0', id int(11) not null default '0',
preceeding_id int(11) not null default '0', preceding_id int(11) not null default '0',
primary key (id,preceeding_id) primary key (id,preceding_id)
); );
create table t4 ( create table t4 (

View File

@ -1610,7 +1610,7 @@ struct HA_CREATE_INFO
For ALTER TABLE defaults to ROW_TYPE_NOT_USED (means "keep the current"). For ALTER TABLE defaults to ROW_TYPE_NOT_USED (means "keep the current").
Can be changed either explicitly by the parser. Can be changed either explicitly by the parser.
If nothing speficied inherits the value of the original table (if present). If nothing specified inherits the value of the original table (if present).
*/ */
enum row_type row_type; enum row_type row_type;
enum ha_choice transactional; enum ha_choice transactional;

View File

@ -2899,7 +2899,7 @@ bool Item_func_xml_update::collect_result(String *str,
str->length(0); str->length(0);
str->set_charset(collation.collation); str->set_charset(collation.collation);
return return
/* Put the XML part preceeding the replaced piece */ /* Put the XML part preceding the replaced piece */
str->append(xml.raw()->ptr(), cut->beg - xml.raw()->ptr() - offs) || str->append(xml.raw()->ptr(), cut->beg - xml.raw()->ptr() - offs) ||
/* Put the replacement */ /* Put the replacement */
str->append(replace->ptr(), replace->length()) || str->append(replace->ptr(), replace->length()) ||

View File

@ -4087,7 +4087,7 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
if ((error= rows_event_stmt_cleanup(rgi, thd))) if ((error= rows_event_stmt_cleanup(rgi, thd)))
{ {
const_cast<Relay_log_info*>(rli)->report(ERROR_LEVEL, error, const_cast<Relay_log_info*>(rli)->report(ERROR_LEVEL, error,
"Error in cleaning up after an event preceeding the commit; " "Error in cleaning up after an event preceding the commit; "
"the group log file/position: %s %s", "the group log file/position: %s %s",
const_cast<Relay_log_info*>(rli)->group_master_log_name, const_cast<Relay_log_info*>(rli)->group_master_log_name,
llstr(const_cast<Relay_log_info*>(rli)->group_master_log_pos, llstr(const_cast<Relay_log_info*>(rli)->group_master_log_pos,

View File

@ -2004,7 +2004,7 @@ public:
bool is_valid() const { return query != 0; } bool is_valid() const { return query != 0; }
/* /*
Returns number of bytes additionaly written to post header by derived Returns number of bytes additionally written to post header by derived
events (so far it is only Execute_load_query event). events (so far it is only Execute_load_query event).
*/ */
virtual ulong get_post_header_size_for_derived() { return 0; } virtual ulong get_post_header_size_for_derived() { return 0; }

View File

@ -7097,7 +7097,7 @@ struct my_option my_long_options[]=
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"plugin-load-add", OPT_PLUGIN_LOAD_ADD, {"plugin-load-add", OPT_PLUGIN_LOAD_ADD,
"Optional semicolon-separated list of plugins to load. This option adds " "Optional semicolon-separated list of plugins to load. This option adds "
"to the list speficied by --plugin-load in an incremental way. " "to the list specified by --plugin-load in an incremental way. "
"It can be specified many times, adding more plugins every time.", "It can be specified many times, adding more plugins every time.",
0, 0, 0, 0, 0, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},

View File

@ -442,7 +442,7 @@ void make_scrambled_password(char *to, const char *password)
/* /*
Produce an obscure octet sequence from password and random Produce an obscure octet sequence from password and random
string, recieved from the server. This sequence corresponds to the string, received from the server. This sequence corresponds to the
password, but password can not be easily restored from it. The sequence password, but password can not be easily restored from it. The sequence
is then sent to the server for validation. Trailing zero is not stored is then sent to the server for validation. Trailing zero is not stored
in the buf as it is not needed. in the buf as it is not needed.
@ -476,7 +476,7 @@ scramble(char *to, const char *message, const char *password)
/* /*
Check that scrambled message corresponds to the password; the function Check that scrambled message corresponds to the password; the function
is used by server to check that recieved reply is authentic. is used by server to check that received reply is authentic.
This function does not check lengths of given strings: message must be This function does not check lengths of given strings: message must be
null-terminated, reply and hash_stage2 must be at least SHA1_HASH_SIZE null-terminated, reply and hash_stage2 must be at least SHA1_HASH_SIZE
long (if not, something fishy is going on). long (if not, something fishy is going on).

View File

@ -1229,7 +1229,7 @@ bool Deferred_log_events::execute(rpl_group_info *rgi)
void Deferred_log_events::rewind() void Deferred_log_events::rewind()
{ {
/* /*
Reset preceeding Query log event events which execution was Reset preceding Query log event events which execution was
deferred because of slave side filtering. deferred because of slave side filtering.
*/ */
if (!is_empty()) if (!is_empty())

View File

@ -4427,7 +4427,7 @@ pthread_handler_t handle_slave_sql(void *arg)
/* /*
binlog_annotate_row_events must be TRUE only after an Annotate_rows event binlog_annotate_row_events must be TRUE only after an Annotate_rows event
has been recieved and only till the last corresponding rbr event has been has been received and only till the last corresponding rbr event has been
applied. In all other cases it must be FALSE. applied. In all other cases it must be FALSE.
*/ */
thd->variables.binlog_annotate_row_events= 0; thd->variables.binlog_annotate_row_events= 0;

View File

@ -715,7 +715,7 @@ static void update_global_user_stats_with_user(THD *thd,
user_stats->cpu_time+= (thd->status_var.cpu_time - user_stats->cpu_time+= (thd->status_var.cpu_time -
thd->org_status_var.cpu_time); thd->org_status_var.cpu_time);
/* /*
This is handle specially as bytes_recieved is incremented BEFORE This is handle specially as bytes_received is incremented BEFORE
org_status_var is copied. org_status_var is copied.
*/ */
user_stats->bytes_received+= (thd->org_status_var.bytes_received- user_stats->bytes_received+= (thd->org_status_var.bytes_received-

View File

@ -74,7 +74,7 @@ When one supplies long data for a placeholder:
- Server gets the long data in pieces with command type - Server gets the long data in pieces with command type
'COM_STMT_SEND_LONG_DATA'. 'COM_STMT_SEND_LONG_DATA'.
- The packet recieved will have the format as: - The packet received will have the format as:
[COM_STMT_SEND_LONG_DATA:1][STMT_ID:4][parameter_number:2][data] [COM_STMT_SEND_LONG_DATA:1][STMT_ID:4][parameter_number:2][data]
- data from the packet is appended to the long data value buffer for this - data from the packet is appended to the long data value buffer for this
placeholder. placeholder.

View File

@ -21094,7 +21094,7 @@ find_order_in_list(THD *thd, Item **ref_pointer_array, TABLE_LIST *tables,
Item *view_ref= NULL; Item *view_ref= NULL;
/* /*
If we have found field not by its alias in select list but by its If we have found field not by its alias in select list but by its
original field name, we should additionaly check if we have conflict original field name, we should additionally check if we have conflict
for this name (in case if we would perform lookup in all tables). for this name (in case if we would perform lookup in all tables).
*/ */
if (resolution == RESOLVED_BEHIND_ALIAS && !order_item->fixed && if (resolution == RESOLVED_BEHIND_ALIAS && !order_item->fixed &&
@ -22117,7 +22117,7 @@ change_to_use_tmp_fields(THD *thd, Item **ref_pointer_array,
We are replacing the argument of Item_func_set_user_var after its value We are replacing the argument of Item_func_set_user_var after its value
has been read. The argument's null_value should be set by now, so we has been read. The argument's null_value should be set by now, so we
must set it explicitly for the replacement argument since the null_value must set it explicitly for the replacement argument since the null_value
may be read without any preceeding call to val_*(). may be read without any preceding call to val_*().
*/ */
new_field->update_null_value(); new_field->update_null_value();
List<Item> list; List<Item> list;

View File

@ -14535,7 +14535,7 @@ opt_var_ident_type:
| SESSION_SYM '.' { $$=OPT_SESSION; } | SESSION_SYM '.' { $$=OPT_SESSION; }
; ;
// Option values with preceeding option_type. // Option values with preceding option_type.
option_value_following_option_type: option_value_following_option_type:
internal_variable_name equal set_expr_or_default internal_variable_name equal set_expr_or_default
{ {
@ -14551,7 +14551,7 @@ option_value_following_option_type:
{ {
/* /*
Not in trigger assigning value to new row, Not in trigger assigning value to new row,
and option_type preceeding local variable is illegal. and option_type preceding local variable is illegal.
*/ */
my_parse_error(ER(ER_SYNTAX_ERROR)); my_parse_error(ER(ER_SYNTAX_ERROR));
MYSQL_YYABORT; MYSQL_YYABORT;
@ -14559,7 +14559,7 @@ option_value_following_option_type:
} }
; ;
// Option values without preceeding option_type. // Option values without preceding option_type.
option_value_no_option_type: option_value_no_option_type:
internal_variable_name equal set_expr_or_default internal_variable_name equal set_expr_or_default
{ {

View File

@ -4664,7 +4664,7 @@ static Sys_var_mybool Sys_binlog_annotate_row_events(
#ifdef HAVE_REPLICATION #ifdef HAVE_REPLICATION
static Sys_var_mybool Sys_replicate_annotate_row_events( static Sys_var_mybool Sys_replicate_annotate_row_events(
"replicate_annotate_row_events", "replicate_annotate_row_events",
"Tells the slave to write annotate rows events recieved from the master " "Tells the slave to write annotate rows events received from the master "
"to its own binary log. Ignored if log_slave_updates is not set", "to its own binary log. Ignored if log_slave_updates is not set",
READ_ONLY GLOBAL_VAR(opt_replicate_annotate_row_events), READ_ONLY GLOBAL_VAR(opt_replicate_annotate_row_events),
CMD_LINE(OPT_ARG), DEFAULT(0)); CMD_LINE(OPT_ARG), DEFAULT(0));

View File

@ -2033,7 +2033,7 @@ tz_load_from_open_tables(const String *tz_name, TABLE_LIST *tz_tables)
/* /*
At last we are doing the same thing for records in At last we are doing the same thing for records in
mysql.time_zone_transition table. Here we additionaly need records mysql.time_zone_transition table. Here we additionally need records
in ascending order by index scan also satisfies us. in ascending order by index scan also satisfies us.
*/ */
table= tz_tables->table; table= tz_tables->table;

View File

@ -382,7 +382,7 @@ int MAPFAM::DeleteRecords(PGLOBAL g, int irc)
if (Tpos == Spos) if (Tpos == Spos)
/*******************************************************************/ /*******************************************************************/
/* First line to delete. Move of eventual preceeding lines is */ /* First line to delete. Move of eventual preceding lines is */
/* not required here, just setting of future Spos and Tpos. */ /* not required here, just setting of future Spos and Tpos. */
/*******************************************************************/ /*******************************************************************/
Tpos = Fpos; // Spos is set below Tpos = Fpos; // Spos is set below

View File

@ -367,7 +367,7 @@ int FIXFAM::DeleteRecords(PGLOBAL g, int irc)
} else { } else {
/*****************************************************************/ /*****************************************************************/
/* Move of eventual preceeding lines is not required here. */ /* Move of eventual preceding lines is not required here. */
/* Set the target file as being the source file itself. */ /* Set the target file as being the source file itself. */
/* Set the future Tpos, and give Spos a value to block moving. */ /* Set the future Tpos, and give Spos a value to block moving. */
/*****************************************************************/ /*****************************************************************/
@ -1165,7 +1165,7 @@ int BGXFAM::DeleteRecords(PGLOBAL g, int irc)
if (Tpos == Spos) { if (Tpos == Spos) {
/*******************************************************************/ /*******************************************************************/
/* First line to delete. Move of eventual preceeding lines is */ /* First line to delete. Move of eventual preceding lines is */
/* not required here if a temporary file is not used, just the */ /* not required here if a temporary file is not used, just the */
/* setting of future Spos and Tpos. */ /* setting of future Spos and Tpos. */
/*******************************************************************/ /*******************************************************************/
@ -1178,7 +1178,7 @@ int BGXFAM::DeleteRecords(PGLOBAL g, int irc)
} else { } else {
/*****************************************************************/ /*****************************************************************/
/* Move of eventual preceeding lines is not required here. */ /* Move of eventual preceding lines is not required here. */
/* Set the target file as being the source file itself. */ /* Set the target file as being the source file itself. */
/* Set the future Tpos, and give Spos a value to block copying. */ /* Set the future Tpos, and give Spos a value to block copying. */
/*****************************************************************/ /*****************************************************************/

View File

@ -714,7 +714,7 @@ int DOSFAM::DeleteRecords(PGLOBAL g, int irc)
} else { } else {
/*****************************************************************/ /*****************************************************************/
/* Move of eventual preceeding lines is not required here. */ /* Move of eventual preceding lines is not required here. */
/* Set the target file as being the source file itself. */ /* Set the target file as being the source file itself. */
/* Set the future Tpos, and give Spos a value to block copying. */ /* Set the future Tpos, and give Spos a value to block copying. */
/*****************************************************************/ /*****************************************************************/

View File

@ -712,7 +712,7 @@ int VCTFAM::DeleteRecords(PGLOBAL g, int irc)
} else { } else {
/*****************************************************************/ /*****************************************************************/
/* First line to delete. Move of eventual preceeding lines is */ /* First line to delete. Move of eventual preceding lines is */
/* not required here, just the setting of future Spos and Tpos. */ /* not required here, just the setting of future Spos and Tpos. */
/*****************************************************************/ /*****************************************************************/
T_Stream = Stream; T_Stream = Stream;
@ -1558,7 +1558,7 @@ int VCMFAM::DeleteRecords(PGLOBAL g, int irc)
if (Tpos == Spos) if (Tpos == Spos)
/*******************************************************************/ /*******************************************************************/
/* First line to delete. Move of eventual preceeding lines is */ /* First line to delete. Move of eventual preceding lines is */
/* not required here, just setting of future Spos and Tpos. */ /* not required here, just setting of future Spos and Tpos. */
/*******************************************************************/ /*******************************************************************/
Tpos = Fpos; // Spos is set below Tpos = Fpos; // Spos is set below
@ -2153,7 +2153,7 @@ int VECFAM::DeleteRecords(PGLOBAL g, int irc)
} else } else
/*****************************************************************/ /*****************************************************************/
/* Move of eventual preceeding lines is not required here. */ /* Move of eventual preceding lines is not required here. */
/* Set the future Tpos, and give Spos a value to block copying. */ /* Set the future Tpos, and give Spos a value to block copying. */
/*****************************************************************/ /*****************************************************************/
Spos = Tpos = Fpos; Spos = Tpos = Fpos;
@ -2834,7 +2834,7 @@ int VMPFAM::DeleteRecords(PGLOBAL g, int irc)
if (Tpos == Spos) if (Tpos == Spos)
/*******************************************************************/ /*******************************************************************/
/* First line to delete. Move of eventual preceeding lines is */ /* First line to delete. Move of eventual preceding lines is */
/* not required here, just setting of future Spos and Tpos. */ /* not required here, just setting of future Spos and Tpos. */
/*******************************************************************/ /*******************************************************************/
Tpos = Fpos; // Spos is set below Tpos = Fpos; // Spos is set below
@ -3756,7 +3756,7 @@ int BGVFAM::DeleteRecords(PGLOBAL g, int irc)
} else { } else {
/*****************************************************************/ /*****************************************************************/
/* Move of eventual preceeding lines is not required here. */ /* Move of eventual preceding lines is not required here. */
/* Set the target file as being the source file itself. */ /* Set the target file as being the source file itself. */
/* Set the future Tpos, and give Spos a value to block copying. */ /* Set the future Tpos, and give Spos a value to block copying. */
/*****************************************************************/ /*****************************************************************/

View File

@ -71,7 +71,7 @@ int maria_rnext(MARIA_HA *info, uchar *buf, int inx)
Normally SQL layer would never request "search next" if Normally SQL layer would never request "search next" if
"search first" failed. But HANDLER may do anything. "search first" failed. But HANDLER may do anything.
As mi_rnext() without preceeding mi_rkey()/mi_rfirst() As mi_rnext() without preceding mi_rkey()/mi_rfirst()
equals to mi_rfirst(), we must restore original state equals to mi_rfirst(), we must restore original state
as if failing mi_rfirst() was not called. as if failing mi_rfirst() was not called.
*/ */

View File

@ -66,7 +66,7 @@ int mi_rnext(MI_INFO *info, uchar *buf, int inx)
Normally SQL layer would never request "search next" if Normally SQL layer would never request "search next" if
"search first" failed. But HANDLER may do anything. "search first" failed. But HANDLER may do anything.
As mi_rnext() without preceeding mi_rkey()/mi_rfirst() As mi_rnext() without preceding mi_rkey()/mi_rfirst()
equals to mi_rfirst(), we must restore original state equals to mi_rfirst(), we must restore original state
as if failing mi_rfirst() was not called. as if failing mi_rfirst() was not called.
*/ */

View File

@ -47,7 +47,7 @@
/** /**
Token array : Token array :
Token array is an array of bytes to store tokens recieved during parsing. Token array is an array of bytes to store tokens received during parsing.
Following is the way token array is formed. Following is the way token array is formed.
...<non-id-token><non-id-token><id-token><id_len><id_text>... ...<non-id-token><non-id-token><id-token><id_len><id_text>...