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

After merge fixes

Remove compiler warnings
This commit is contained in:
monty@mysql.com
2006-06-05 06:16:08 +03:00
parent c46fb742b8
commit 430347f126
15 changed files with 56 additions and 30 deletions

View File

@@ -6247,9 +6247,10 @@ copy_data_between_tables(TABLE *from,TABLE *to,
{
const char *err_msg= ER(ER_DUP_ENTRY);
if (key_nr == 0 &&
(to->key_info[0].key_part[0].field->flags & AUTO_INCREMENT_FLAG))
(to->key_info[0].key_part[0].field->flags &
AUTO_INCREMENT_FLAG))
err_msg= ER(ER_DUP_ENTRY_AUTOINCREMENT_CASE);
to->file->print_keydupp_error(key_nr, err_msg);
to->file->print_keydup_error(key_nr, err_msg);
break;
}
}