*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2015 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
#include "../exim.h"
static void *
testdb_open(const uschar * filename, uschar ** errmsg)
{
-filename = filename; /* Keep picky compilers happy */
-errmsg = errmsg;
return (void *)(1); /* Just return something non-null */
}
int length, uschar ** result, uschar ** errmsg, uint * do_cache,
const uschar * opts)
{
-handle = handle; /* Keep picky compilers happy */
-filename = filename;
-length = length;
-
if (Ustrcmp(query, "fail") == 0)
{
*errmsg = US"testdb lookup forced FAIL";