1 --- opendkim-2.11.0~alpha.orig/opendkim/opendkim-db.c 2015-10-20 02:21:23.000000000 +0000
2 +++ ./opendkim-2.11.0~alpha/opendkim/opendkim-db.c 2017-09-20 17:41:51.410641883 +0000
7 - snprintf(query, sizeof query, "SELECT %s,%s FROM %s",
8 + snprintf(query, sizeof query, "SELECT %s,%s FROM %s%s%s",
9 dsn->dsn_keycol, dsn->dsn_datacol,
12 + dsn->dsn_filter == NULL ? "" : " WHERE ",
13 + dsn->dsn_filter == NULL ? "" : dsn->dsn_filter);
15 err = odbx_query((odbx_t *) db->db_handle, query, 0);