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:48:33 +0000 (18:48 +0000)
commitba0e37b13c652435898f9b1050d6fe648875b125
tree2642dc4621bb6aa50e2e63b180f3a6501bb97ac4
parent48155ab3b10f5357609b083ec83d70bd544a5783
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]