]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Undo unintended zone2sql change for Oraclebackend 1261/head
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 4 Feb 2014 13:28:02 +0000 (14:28 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 4 Feb 2014 13:28:02 +0000 (14:28 +0100)
Only goracle was intended.

pdns/zone2sql.cc

index 5bcf7fbfc4d8cd3f1e9f359987821e22728c444f..250c31ec01c6532ffa4cfecbfc22ec30701c19c0 100644 (file)
@@ -206,10 +206,10 @@ static void emitRecord(const string& zoneName, const string &qname, const string
       " from Domains where name="<<toLower(sqlstr(zoneName))<<";\n";
   }
   else if(g_mode==ORACLE) {
-    cout<<"INSERT INTO Records (id, zone_id, fqdn, ttl, type, content, disabled) SELECT records_id_seq.nextval, id, "<<
+    cout<<"INSERT INTO Records (id, zone_id, fqdn, ttl, type, content) SELECT records_id_seq.nextval, id, "<<
       sqlstr(toLower(stripDot(qname)))<<", "<<
       ttl<<", "<<sqlstr(qtype)<<", "<<
-      sqlstr(stripDotContent(content))<<", 0"<<
+      sqlstr(stripDotContent(content))<<
       " FROM Zones WHERE name="<<toLower(sqlstr(zoneName))<<";"<<endl;
   }
   else if (g_mode == MYDNS) {