aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2024-05-02 11:51:26 +0000
committerdrh <>2024-05-02 11:51:26 +0000
commit2ae4531c89bbf9a3f01827e8019eddac0705765b (patch)
treeb62a06dd96a53c6b04fd508ebcf3a5d2d1d4cbe5 /src
parent2ad1e92858e36399797263a2b7f7f2951c96e4a2 (diff)
downloadsqlite-2ae4531c89bbf9a3f01827e8019eddac0705765b.tar.gz
sqlite-2ae4531c89bbf9a3f01827e8019eddac0705765b.zip
Omit the OP_SqlExec to "PRAGMA integrity_check" added by [348fa7aaf7958b3f]
because it is a no-op. Even if the integrity_check failes, the CREATE TABLE is stull successful. The OP_SqlExec just burns CPU cycles for no reason. FossilOrigin-Name: 532795acd1c800751737fe70148f9ae691e9cf11b836577f8538421d24cab2fe
Diffstat (limited to 'src')
-rw-r--r--src/build.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/build.c b/src/build.c
index 8279c0a89..10aa34240 100644
--- a/src/build.c
+++ b/src/build.c
@@ -2927,9 +2927,6 @@ void sqlite3EndTable(
sqlite3MPrintf(db, "SELECT*FROM\"%w\".\"%w\"",
db->aDb[iDb].zDbSName, p->zName), P4_DYNAMIC);
}
- sqlite3VdbeAddOp4(v, OP_SqlExec, 0x0001, 0, 0,
- sqlite3MPrintf(db, "PRAGMA \"%w\".integrity_check(%Q)",
- db->aDb[iDb].zDbSName, p->zName), P4_DYNAMIC);
}
/* Add the table to the in-memory representation of the database.