Review Request 129796: Fix sql database generation via tools->generate database sql

Marc Hübner mahueb55 at gmail.com
Sun Jan 8 19:24:21 UTC 2017


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129796/
-----------------------------------------------------------

Review request for KMymoney.


Repository: kmymoney


Description
-------

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.


Diffs
-----

  kmymoney/mymoney/storage/mymoneydbdef.cpp f85cc47 

Diff: https://git.reviewboard.kde.org/r/129796/diff/


Testing
-------

manually executed the rendered SQL statements in Mysql to create the database tables.


Thanks,

Marc Hübner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20170108/dd2f6da4/attachment.html>


More information about the KMyMoney-devel mailing list