On 1/15/21 2:18 PM, Phil Stracchino wrote:
> If we INSERT IGNORE and there IS an existing matching record, then the
> record is NOT inserted, no error is thrown, but mysql_affected_rows()
> and mysql_insert_id() both return 0, and so does
> sql_insert_autokey_record().


Footnote I omitted:  while my patch shouldn't break anything, it won't
work on its own *anyway* because sql_insert_autokey_record() will still
fail.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to