Commit 29746be6 authored by mskold@mysql.com's avatar mskold@mysql.com

Cosmetic fixes

parent 075d71d5
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment