<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi all,</p>
    <p><span id="summary_container"><span
          id="short_desc_nonedit_display">if you want to follow-up, the
          bug Stefano describes has been filed here:<br>
        </span></span></p>
    <p><span id="summary_container"><span
          id="short_desc_nonedit_display">bulkmarcimport.pl -d option
          should use DELETE instead of TRUNCATE<br>
<a class="moz-txt-link-freetext" href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12488">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12488</a></span></span></p>
    <p><span id="summary_container"><span
          id="short_desc_nonedit_display">Katrin<br>
        </span></span></p>
    <p><span id="summary_container"><span
          id="short_desc_nonedit_display"><br>
        </span></span></p>
    <div class="moz-cite-prefix">On 18.10.18 15:56, Stefano Bargioni
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:41901D82-345A-4881-93CB-668B21A2CF31@pusc.it">
      <pre class="moz-quote-pre" wrap="">Hi, all,
before adding a bug, I'd like to discuss this issue with others.
For testing, I installed Koha 18.06.00.032 and Elasticsearch on a Debian 8 virtual machine, using packages koha-common and koha-elasticsearch.
Mysql is "mysql Ver 14.14 Distrib 5.5.60, for debian-linux-gnu (x86_64) using readline 6.3".

bulkmarcimport.pl -d fails with errors like
 Cannot truncate a table referenced in a foreign key constraint
when going to truncate tables biblio, biblioitems, items. The -fk option is required.

This is probably due to the more strict "way of life" of Mysql.
Do we need to force -fk when -d is specified? Or simply we have to update the -h documentation?
Thx. Stefano
_______________________________________________
Koha-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a>
<a class="moz-txt-link-freetext" href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a>
website : <a class="moz-txt-link-freetext" href="http://www.koha-community.org/">http://www.koha-community.org/</a>
git : <a class="moz-txt-link-freetext" href="http://git.koha-community.org/">http://git.koha-community.org/</a>
bugs : <a class="moz-txt-link-freetext" href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a>
</pre>
    </blockquote>
  </body>
</html>