maria-discuss team mailing list archive
Mailing list archive
Re: Fwd: mysql_insert_id() for INSERT...SELECT statement
On Jan 30, Yuki . wrote:
> Hi Sergei,
> Thank you very much for the help.
> You suggest to check `mysql_affected_rows` first and if it is `1`, get
> id from `mysql_insert_id`, is it right? Because my goal is to get an
> ID in case of a successful insertion.
Chief Architect MariaDB