Lookups: fix mysql lookup returns for no-data "queries",
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 13 Jan 2018 18:11:21 +0000 (18:11 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 13 Jan 2018 18:54:08 +0000 (18:54 +0000)
commit0a4484f261a51cfe0fc6ece78f47f9507a34e2ba
tree3446c2802f938bbe003bc08a6d8f13b5906590d4
parent20913a313f33fd8ae2dea9f379552975867c6394
Lookups: fix mysql lookup returns for no-data "queries",
when the number of rows affected is returned.  Bug 2223

Broken-by: acec9514b1
Also enhance the testsuite mysql testcase to be standalone and move to standard-run set
and add a specific testcase for this bug.

Testcase working on Fedora at least - we'll see what happens on other platforms
where executable locaation may vary.
14 files changed:
doc/doc-txt/ChangeLog
src/src/lookups/mysql.c
test/confs/2610 [moved from test/confs/9100 with 90% similarity]
test/log/2610 [moved from test/log/9100 with 61% similarity]
test/mail/2610.ph10 [moved from test/mail/9100.CALLER with 84% similarity]
test/scripts/2610-MySQL/2610 [new file with mode: 0644]
test/scripts/2610-MySQL/REQUIRES [new file with mode: 0644]
test/scripts/2620-Postgresql/2620
test/scripts/9100-MySQL/9100 [deleted file]
test/stderr/2610 [moved from test/stderr/9100 with 51% similarity]
test/stderr/2620
test/stdout/2610 [new file with mode: 0644]
test/stdout/2620
test/stdout/9100 [deleted file]