Commit 4c450c52 authored by unknown's avatar unknown

Cosmetic fixes

parent 1045f2c3
...@@ -478,11 +478,11 @@ static const ulong index_type_flags[]= ...@@ -478,11 +478,11 @@ static const ulong index_type_flags[]=
/* PRIMARY_KEY_ORDERED_INDEX */ /* 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 thus ORDERD BY clauses can be optimized by reading directly
through the index. through the index.
*/ */
// HA_KEY_READ_ONLY | // HA_KEYREAD_ONLY |
HA_READ_NEXT | HA_READ_NEXT |
HA_READ_RANGE, HA_READ_RANGE,
......
...@@ -490,7 +490,7 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans) ...@@ -490,7 +490,7 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans)
{ {
if (error == -1) if (error == -1)
my_error(ER_ERROR_DURING_COMMIT, MYF(0), error); my_error(ER_ERROR_DURING_COMMIT, MYF(0), error);
else else
ndbcluster_print_error(error); ndbcluster_print_error(error);
error=1; 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