mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Cosmetic fixes
This commit is contained in:
parent
1045f2c3fd
commit
4c450c5235
2 changed files with 3 additions and 3 deletions
|
@ -478,11 +478,11 @@ static const ulong index_type_flags[]=
|
|||
|
||||
/* PRIMARY_KEY_ORDERED_INDEX */
|
||||
/*
|
||||
Enable HA_KEY_READ_ONLY when "sorted" indexes are supported,
|
||||
Enable HA_KEYREAD_ONLY when "sorted" indexes are supported,
|
||||
thus ORDERD BY clauses can be optimized by reading directly
|
||||
through the index.
|
||||
*/
|
||||
// HA_KEY_READ_ONLY |
|
||||
// HA_KEYREAD_ONLY |
|
||||
HA_READ_NEXT |
|
||||
HA_READ_RANGE,
|
||||
|
||||
|
|
|
@ -490,7 +490,7 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans)
|
|||
{
|
||||
if (error == -1)
|
||||
my_error(ER_ERROR_DURING_COMMIT, MYF(0), error);
|
||||
else
|
||||
else
|
||||
ndbcluster_print_error(error);
|
||||
error=1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue