summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorserg@serg.mylan <>2003-09-03 11:34:32 +0200
committerserg@serg.mylan <>2003-09-03 11:34:32 +0200
commit2fcab1c2ee99a73718e14a56cbe7871bca8bd967 (patch)
tree0dfea7caf86829a5356d14fbd291804272da2deb /myisam
parent8424aec8db8297d07bc6f2fbf5123ca0fa6778ee (diff)
downloadmariadb-git-2fcab1c2ee99a73718e14a56cbe7871bca8bd967.tar.gz
CHECKSUM TABLE table1, table2, ... [ QUICK | EXTENDED ]
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_checksum.c b/myisam/mi_checksum.c
index 982f77ee81f..cdbb634c5ff 100644
--- a/myisam/mi_checksum.c
+++ b/myisam/mi_checksum.c
@@ -50,7 +50,7 @@ ha_checksum mi_checksum(MI_INFO *info, const byte *buf)
pos=buf;
break;
}
- crc=my_checksum(crc, pos, length);
+ crc=my_checksum(crc, pos ? pos : "", length);
}
return crc;
}