mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
various cleanups
This commit is contained in:
committed by
Sergei Golubchik
parent
db7edfed17
commit
2fe8dd0f90
@@ -95,8 +95,8 @@ bool compare_record(const TABLE *table)
|
||||
|
||||
/*
|
||||
The storage engine has read all columns, so it's safe to compare all bits
|
||||
including those not in the write_set. This is cheaper than the field-by-field
|
||||
comparison done above.
|
||||
including those not in the write_set. This is cheaper than the
|
||||
field-by-field comparison done above.
|
||||
*/
|
||||
if (table->s->can_cmp_whole_record)
|
||||
return cmp_record(table,record[1]);
|
||||
@@ -371,7 +371,7 @@ int mysql_update(THD *thd,
|
||||
switch_to_nullable_trigger_fields(fields, table);
|
||||
switch_to_nullable_trigger_fields(values, table);
|
||||
|
||||
/* Apply the IN=>EXISTS transformation to all subqueries and optimize them. */
|
||||
/* Apply the IN=>EXISTS transformation to all subqueries and optimize them */
|
||||
if (select_lex->optimize_unflattened_subqueries(false))
|
||||
DBUG_RETURN(TRUE);
|
||||
|
||||
|
Reference in New Issue
Block a user