diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index d1ec53d65906703160995967c935325a7dd6c540..6ffb3dd88bf549983c1a060283721619c6ca18df 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -306,7 +306,7 @@ int mysql_insert(THD *thd,TABLE_LIST *table_list, List<Item> &fields, else sprintf(buff,ER(ER_INSERT_INFO),info.records,info.deleted, thd->cuted_fields); - ::send_ok(&thd->net,info.copied+info.deleted,0L,buff); + ::send_ok(&thd->net,info.copied+info.deleted,(ulonglong)id,buff); } DBUG_RETURN(0);