mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-04 07:46:26 +00:00
QueryLogsSqlite: minor changes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
Technitium DNS Server
|
||||
Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com)
|
||||
Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -422,7 +422,7 @@ CREATE TABLE IF NOT EXISTS dns_logs
|
||||
|
||||
if (qname is not null)
|
||||
{
|
||||
if (qname.Contains("*"))
|
||||
if (qname.Contains('*'))
|
||||
{
|
||||
whereClause += "qname like @qname AND ";
|
||||
qname = qname.Replace("*", "%");
|
||||
|
||||
Reference in New Issue
Block a user