summaryrefslogtreecommitdiff
path: root/test/scripts/2620-Postgresql
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-01-13 18:11:21 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-01-13 18:48:33 +0000
commitba0e37b13c652435898f9b1050d6fe648875b125 (patch)
tree2642dc4621bb6aa50e2e63b180f3a6501bb97ac4 /test/scripts/2620-Postgresql
parent48155ab3b10f5357609b083ec83d70bd544a5783 (diff)
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.
Diffstat (limited to 'test/scripts/2620-Postgresql')
-rw-r--r--test/scripts/2620-Postgresql/26201
1 files changed, 1 insertions, 0 deletions
diff --git a/test/scripts/2620-Postgresql/2620 b/test/scripts/2620-Postgresql/2620
index d0dd00190..cf45726f4 100644
--- a/test/scripts/2620-Postgresql/2620
+++ b/test/scripts/2620-Postgresql/2620
@@ -43,6 +43,7 @@ ${lookup pgsql {servers=(DIR/pgsql/.s.PGSQL.PORT_N)/test/CALLER/:x; select name
x
${lookup pgsql {SELECT name FROM them WHERE id IN ('ph10', 'aaaa');}}
${lookup pgsql {SELECT * FROM them WHERE id IN ('ph10', 'aaaa');}}
+${lookup pgsql {delete from them where id='aaaa'}}
****
exim -d -bh 10.0.0.0
mail from:<a@b>