mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.8' into 10.9
This commit is contained in:
@ -4365,6 +4365,7 @@ void handler::print_error(int error, myf errflag)
|
||||
if ((int) key_nr >= 0 && key_nr < table->s->keys)
|
||||
{
|
||||
print_keydup_error(table, &table->key_info[key_nr], errflag);
|
||||
table->file->lookup_errkey= -1;
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
}
|
||||
@ -5810,6 +5811,9 @@ int handler::calculate_checksum()
|
||||
for (uint i= 0; i < table->s->fields; i++ )
|
||||
{
|
||||
Field *f= table->field[i];
|
||||
if (!f->stored_in_db())
|
||||
continue;
|
||||
|
||||
|
||||
if (! (thd->variables.old_behavior & OLD_MODE_COMPAT_5_1_CHECKSUM) &&
|
||||
f->is_real_null(0))
|
||||
|
Reference in New Issue
Block a user