summaryrefslogtreecommitdiff
path: root/storage/myisam/mi_test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/mi_test2.c')
-rw-r--r--storage/myisam/mi_test2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/mi_test2.c b/storage/myisam/mi_test2.c
index 3ec12ef5cca..e53c68874b2 100644
--- a/storage/myisam/mi_test2.c
+++ b/storage/myisam/mi_test2.c
@@ -597,7 +597,7 @@ int main(int argc, char *argv[])
goto err;
bmove(read_record2,read_record,reclength);
- for (i=min(2,keys) ; i-- > 0 ;)
+ for (i=MY_MIN(2,keys) ; i-- > 0 ;)
{
if (mi_rsame(file,read_record2,(int) i)) goto err;
if (memcmp(read_record,read_record2,reclength) != 0)