]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth sqlite3: abort schema transactions on error 11822/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 3 Aug 2022 09:47:14 +0000 (11:47 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 3 Aug 2022 10:14:49 +0000 (12:14 +0200)
modules/gsqlite3backend/3.4.0_to_4.0.0_schema.sqlite3.sql
modules/gsqlite3backend/4.0.0_to_4.2.0_schema.sqlite3.sql
modules/gsqlite3backend/4.2.0_to_4.3.0_schema.sqlite3.sql
modules/gsqlite3backend/4.3.0_to_4.3.1_schema.sqlite3.sql
modules/gsqlite3backend/4.3.1_to_4.7.0_schema.sqlite3.sql
modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql

index 2543c5537150a13139cac47a9145cbf03769c0f9..53ebcad2833af9f4950b022e82fa42b75b05345a 100644 (file)
@@ -1,3 +1,5 @@
+.bail on
+
 -- Disable foreign keys, if any
 PRAGMA foreign_keys = 0;
 
index 47c39addc3960dbbdbb0510846214c6c7bfd363b..b22f0534a8ded694357f91051d71d48a2ade78cd 100644 (file)
@@ -1,3 +1,5 @@
+.bail on
+
 BEGIN TRANSACTION;
     CREATE TEMPORARY TABLE records_backup (
       id                    INTEGER PRIMARY KEY,
index a6ca8fd3dcf12c3a106c021ffd5d6381e5e988a5..a6703c2d79cbe7ab02490dd15cebcd6699e088b4 100644 (file)
@@ -1,3 +1,5 @@
+.bail on
+
 BEGIN TRANSACTION;
   CREATE TABLE cryptokeys_temp (
     id                  INTEGER PRIMARY KEY,
index 26eb9972fcf915c789274729400b3bf902f475ae..37dc72fb01059ba3119c6c85a46a73f418477c48 100644 (file)
@@ -1,3 +1,5 @@
+.bail on
+
 CREATE INDEX records_lookup_idx ON records(name, type);
 CREATE INDEX records_lookup_id_idx ON records(domain_id, name, type);
 CREATE INDEX records_order_idx ON records(domain_id, ordername);
index f2d55d4831e265e57f446809a89f04cce0ab83ea..d46bb1c3446f308679e2fb6200afbb6e46e229bd 100644 (file)
@@ -1,3 +1,5 @@
+.bail on
+
 PRAGMA foreign_keys = 0;
 
 BEGIN TRANSACTION;
index dc2f6c4b654a07fa47c92d80b7a2fc7de23104cb..bfa924e22f7d7d3e4877644b9fcce6452986777d 100644 (file)
@@ -1,3 +1,5 @@
+.bail on
+
 CREATE TABLE comments (
   id                    INTEGER PRIMARY KEY,
   domain_id             INTEGER NOT NULL,