diff options
author | serg@serg.mylan <> | 2005-10-05 19:37:02 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2005-10-05 19:37:02 +0200 |
commit | faa0365d29290be2e07061c6ee7fb5c983268bc3 (patch) | |
tree | 6ee8116dd4a2b8e55cd4becbf0ba12f8ce5e39cd /sql/sql_table.cc | |
parent | 10953a6d8cf01991de1ab8b4829a7b4952d05268 (diff) | |
parent | 83683bb6490da40a63051100b0f897246502e433 (diff) | |
download | mariadb-git-faa0365d29290be2e07061c6ee7fb5c983268bc3.tar.gz |
Merge mysqldev@production.mysql.com:/data0/mysqldev/my/mysql-5.0-release
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 827918d8813..0bc1537235b 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -4135,6 +4135,9 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, HA_CHECK_OPT *check_opt) { /* fix undefined null bits */ t->record[0][t->s->null_bytes-1] |= null_mask; + if (!(t->s->db_create_options & HA_OPTION_PACK_RECORD)) + t->record[0][0] |= 1; + row_crc= my_checksum(row_crc, t->record[0], t->s->null_bytes); } |