@@ -1,32 +0,0 @@
---- pdns/backends/gsql/gsqlbackend.cc 2013-05-03 10:28:03.153764623 +0200
-+++ pdns/backends/gsql/gsqlbackend.cc 2013-05-03 10:29:36.217221341 +0200
-@@ -284,6 +284,9 @@
- d_removeEmptyNonTerminalsFromZoneQuery = getArg("remove-empty-non-terminals-from-zone-query");
- d_insertEmptyNonTerminalQuery = getArg("insert-empty-non-terminal-query"+authswitch);
- d_deleteEmptyNonTerminalQuery = getArg("delete-empty-non-terminal-query");
-+
-+ // Define domainmetadata queries independent from dnssec functionality
-+ d_GetDomainMetadataQuery = getArg("get-domain-metadata-query");
-
- if (d_dnssecQueries)
- {
-@@ -299,7 +302,8 @@
- d_AddDomainKeyQuery = getArg("add-domain-key-query");
- d_ListDomainKeysQuery = getArg("list-domain-keys-query");
-
-- d_GetDomainMetadataQuery = getArg("get-domain-metadata-query");
-+ // Already defined outside of dnssec functionality
-+ // d_GetDomainMetadataQuery = getArg("get-domain-metadata-query");
- d_ClearDomainMetadataQuery = getArg("clear-domain-metadata-query");
- d_SetDomainMetadataQuery = getArg("set-domain-metadata-query");
-
-@@ -637,8 +641,8 @@
-
- bool GSQLBackend::getDomainMetadata(const string& name, const std::string& kind, std::vector<std::string>& meta)
- {
-- if(!d_dnssecQueries)
-- return false;
-+ /* if(!d_dnssecQueries)
-+ return false; */
- char output[1024];
- snprintf(output,sizeof(output)-1,d_GetDomainMetadataQuery.c_str(), sqlEscape(name).c_str(), sqlEscape(kind).c_str());
|