diff options
| author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2020-03-09 16:27:11 +0000 |
|---|---|---|
| committer | Mike Gilbert <floppym@gentoo.org> | 2020-03-09 15:26:39 -0400 |
| commit | 4dba26dd6e87214be75e1b3f4fe260ac6e073a73 (patch) | |
| tree | df3b24c66edd7eea46ae876775e146cc2f4c5d86 /dev-db/sqlite/files/sqlite-3.31.1-nonfull_archive-architectures.patch | |
| parent | bf36a7978f3aaacdb1f98fbf419769cdd32c7b91 (diff) | |
| download | gentoo-4dba26dd6e87214be75e1b3f4fe260ac6e073a73.tar.gz gentoo-4dba26dd6e87214be75e1b3f4fe260ac6e073a73.tar.bz2 gentoo-4dba26dd6e87214be75e1b3f4fe260ac6e073a73.zip | |
dev-db/sqlite: Version bump (3.31.1).
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-db/sqlite/files/sqlite-3.31.1-nonfull_archive-architectures.patch')
| -rw-r--r-- | dev-db/sqlite/files/sqlite-3.31.1-nonfull_archive-architectures.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.31.1-nonfull_archive-architectures.patch b/dev-db/sqlite/files/sqlite-3.31.1-nonfull_archive-architectures.patch new file mode 100644 index 000000000000..79f6f07e0ef7 --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.31.1-nonfull_archive-architectures.patch @@ -0,0 +1,20 @@ +https://sqlite.org/cgi/src/info/04885763c4cd00cb + +--- /sqlite3.c ++++ /sqlite3.c +@@ -121302,12 +121302,14 @@ + x = *sqlite3VdbeGetOp(v, addrConflictCk); + if( x.opcode!=OP_IdxRowid ){ + int p2; /* New P2 value for copied conflict check opcode */ ++ const char *zP4; + if( sqlite3OpcodeProperty[x.opcode]&OPFLG_JUMP ){ + p2 = lblRecheckOk; + }else{ + p2 = x.p2; + } +- sqlite3VdbeAddOp4(v, x.opcode, x.p1, p2, x.p3, x.p4.z, x.p4type); ++ zP4 = x.p4type==P4_INT32 ? SQLITE_INT_TO_PTR(x.p4.i) : x.p4.z; ++ sqlite3VdbeAddOp4(v, x.opcode, x.p1, p2, x.p3, zP4, x.p4type); + sqlite3VdbeChangeP5(v, x.p5); + VdbeCoverageIf(v, p2!=x.p2); + } |
