mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Cosmetic fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user