Also fixed a bug in sql_update.cc: the code of mysql_update() lacked a call of set_statistics_for_table().