summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-03-17 10:59:25 +0400
committerunknown <ramil@mysql.com>2005-03-17 10:59:25 +0400
commit3e4ae65a144d8f7a63ee5f8c4d1ec65f94f35b58 (patch)
treeb43774a62a0b70321de5c0b260002b95fde4d49a /sql/key.cc
parenta131e4d12dabef51820a3c4c69501c647a11b25c (diff)
parent7ceb5c6cef7c1b9bebe3869e9836035fbb177601 (diff)
downloadmariadb-git-3e4ae65a144d8f7a63ee5f8c4d1ec65f94f35b58.tar.gz
Merge
sql/key.cc: Auto merged mysql-test/r/update.result: SCCS merged mysql-test/t/update.test: SCCS merged
Diffstat (limited to 'sql/key.cc')
-rw-r--r--sql/key.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/key.cc b/sql/key.cc
index b1f4c9533a9..7ddd40de2c9 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -293,7 +293,7 @@ bool check_if_key_used(TABLE *table, uint idx, List<Item> &fields)
f.rewind();
while ((field=(Item_field*) f++))
{
- if (key_part->field == field->field)
+ if (key_part->field->eq(field->field))
return 1;
}
}