summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.cc
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-10-12 16:43:55 +0400
committerunknown <sergefp@mysql.com>2005-10-12 16:43:55 +0400
commit556fdfbd0884b23b83cdff0f762b2cb814903e6b (patch)
treeeaca62260968d686e1d37a67031457354a1e0fd1 /sql/ha_innodb.cc
parentefd99d9579aaf3579e7337e8b9978669836bebb5 (diff)
downloadmariadb-git-556fdfbd0884b23b83cdff0f762b2cb814903e6b.tar.gz
Fix compile error on Windows: remove wrong typecast
Diffstat (limited to 'sql/ha_innodb.cc')
-rw-r--r--sql/ha_innodb.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index cbd23aaab6c..455b54361f0 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -7042,8 +7042,7 @@ ha_innobase::cmp_ref(
(const char*)ref1, len1,
(const char*)ref2, len2);
} else {
- result = field->key_cmp((const char*)ref1,
- (const char*)ref2);
+ result = field->key_cmp(ref1, ref2);
}
if (result) {