Cosmetic fixes

This commit is contained in:
unknown 2004-06-24 14:49:34 +02:00
parent 1045f2c3fd
commit 4c450c5235
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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;
}