1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Merge mysql.com:/home/mydev/mysql-5.0-bug8841

into  mysql.com:/home/mydev/mysql-5.1-bug8841
This commit is contained in:
ingo@mysql.com
2006-02-14 09:29:37 +01:00
3 changed files with 10 additions and 9 deletions

View File

@@ -5370,7 +5370,8 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, HA_CHECK_OPT *check_opt)
for (uint i= 0; i < t->s->fields; i++ )
{
Field *f= t->field[i];
if (f->type() == FIELD_TYPE_BLOB)
if ((f->type() == FIELD_TYPE_BLOB) ||
(f->type() == MYSQL_TYPE_VARCHAR))
{
String tmp;
f->val_str(&tmp);