[koha-commits] main Koha release repository branch master updated. v19.05.00-1320-g24f780e

Git repo owner gitmaster at git.koha-community.org
Tue Nov 19 16:34:13 CET 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  24f780e22f68fb0e5968ae065cf0f73a9c978799 (commit)
      from  468513a5de60696a7d98ca64ba5d5babaddbbaa5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 24f780e22f68fb0e5968ae065cf0f73a9c978799
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Nov 18 11:20:46 2019 +0100

    Bug 23982: (bug 23624 follow-up) Handle SQL error caused by derived table
    
    Caused by
      commit bca4453c50d8b5b1d3c7029ded2b522a9a2bf868
      Bug 23624: (QA follow-up) Optimize even more
    
    A report like:
    SELECT * FROM issues JOIN borrowers USING (borrowernumber)
    
    will have two borrowernumber columns - SQL will give us there rsults,
    but if we try to wrap them in a SELECT COUNT(*) FROM (report) it throws
    a duplicated column error.
    
    This patch suggests to execute the query the old way if the derived
    table optimization failed.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Reports/Guided.pm |   38 ++++++++++++++++++++++++++++----------
 1 file changed, 28 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list