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.
18 files changed:
doc/doc-txt/ChangeLog
src/src/lookups/mysql.c
test/confs/2610 [new file with mode: 0644]
test/confs/9100 [deleted file]
test/log/2610 [new file with mode: 0644]
test/log/9100 [deleted file]
test/mail/2610.ph10 [new file with mode: 0644]
test/mail/9100.CALLER [deleted file]
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 [new file with mode: 0644]
test/stderr/2620
test/stderr/9100 [deleted file]
test/stdout/2610 [new file with mode: 0644]
test/stdout/2620
test/stdout/9100 [deleted file]