[kmymoney4] [Bug 378676] 4.8.0 creates invalid mysql statements on windows

Ralf Habacker bugzilla_noreply at kde.org
Sat Jul 1 13:38:24 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=378676

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/kmy |https://commits.kde.org/kmy
                   |money/f0caa56bd8af0d7939b64 |money/64fa0cd4b58790324eaab
                   |f63294c2a60ca7b4e8b         |18674e82de28e5cafaa

--- Comment #4 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 64fa0cd4b58790324eaab18674e82de28e5cafaa by Ralf Habacker.
Committed on 01/07/2017 at 13:38.
Pushed by habacker into branch '4.8'.

Fix SQL DDL generation

Query parameters are being matched only based on their name. If one
parameter starts with the name of another, this leads to conflicts, e.g.
:payeeId and :payeeIdentifier --> if both matches are replaced by NULL,
this results in the second match being replaced to NULLentifier, which
is obviously not intended.

This commit superseeds commit f0caa56bd8af0d7939b64f63294c2a60ca7b4e8b.

(cherry-picked from commit b4061d79fd6d205dcd1f85ec5528c1027f7fe1ad)

REVIEW: 129796
FIXED-IN:4.8.1

# Conflicts:
#       kmymoney/mymoney/storage/mymoneydbdef.cpp

M  +4    -4    kmymoney/mymoney/storage/mymoneydbdef.cpp

https://commits.kde.org/kmymoney/64fa0cd4b58790324eaab18674e82de28e5cafaa

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list