https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18242
Sophie MEYNIEUX <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |m --- Comment #32 from Sophie MEYNIEUX <[email protected]> --- This patch does not always work for 16.11 When you change issue_id with max(issue_id)+1 from old_issues but try to insert it into issues, you may have a primary key conflict. my $new_issue_id = $dbh->selectrow_array(q|SELECT MAX(issue_id)+1 FROM old_issues|); $dbh->do( q|UPDATE issues SET issue_id = ? WHERE issue_id = ?|, undef, $new_issue_id, $issue_id ); -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
