]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add a comment linking a part of the UPDATE constraint checking code to
authordrh <>
Fri, 11 Mar 2022 15:42:05 +0000 (15:42 +0000)
committerdrh <>
Fri, 11 Mar 2022 15:42:05 +0000 (15:42 +0000)
one of the corresponding TH3 test cases.

FossilOrigin-Name: 0606e8e93edb5de4d154f377dbf91f15295d25ca9013c0f1612ae6d63a0139ea

manifest
manifest.uuid
src/insert.c

index 6305afd2c4c72371d0a914035f2a548fda8710a9..32242ebdcff89e6b04bfd4a8be8a24cf0d57719a 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sa\sharmless\scompiler\swarning.
-D 2022-03-11T15:16:50.449
+C Add\sa\scomment\slinking\sa\spart\sof\sthe\sUPDATE\sconstraint\schecking\scode\sto\none\sof\sthe\scorresponding\sTH3\stest\scases.
+D 2022-03-11T15:42:05.493
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@ -512,7 +512,7 @@ F src/hash.c 8d7dda241d0ebdafb6ffdeda3149a412d7df75102cecfc1021c98d6219823b19
 F src/hash.h 3340ab6e1d13e725571d7cee6d3e3135f0779a7d8e76a9ce0a85971fa3953c51
 F src/hwtime.h cb1d7e3e1ed94b7aa6fde95ae2c2daccc3df826be26fc9ed7fd90d1750ae6144
 F src/in-operator.md 10cd8f4bcd225a32518407c2fb2484089112fd71
-F src/insert.c 9fbf8704562fe17e442c16b7f60d3d91101ea69fc45c2bce96ee6cb982e86d2f
+F src/insert.c d9fd15b2bd030cb9bd3119b301dbdb2912f16fff76c6e3797296cfd1500faaf4
 F src/json.c 24fcd7f5f9080b04b89722c343010d390f85e55b2ab560046cb567c9dd640f62
 F src/legacy.c d7874bc885906868cd51e6c2156698f2754f02d9eee1bae2d687323c3ca8e5aa
 F src/loadext.c aa919a6a7884f8b34d7b791841b24d14b1b0ab43f45b3940f4851043b2855c0c
@@ -1944,8 +1944,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P 8b032293b384c3728c27b0658ee634c028c0d231d067de8b747d2e9e4ae704a7
-R ffc0ccb4d1ca145963d18f87b727b980
+P 5d739aff96c47146dba72fd76fed62d4e43ded09b32246fdde13d5467f713135
+R fe298d8fac60be400e4a8c74276154d9
 U drh
-Z 8ce388e37bd47e2c9feee08884bf9baa
+Z 318438bd874dd4bc6c146383b35f409b
 # Remove this line to create a well-formed Fossil manifest.
index 5e9ebf06dacca4c0fc6a336c7539a2f8d1fcbe36..5a00a628e2d454ccb93af5040272e755b19ab27a 100644 (file)
@@ -1 +1 @@
-5d739aff96c47146dba72fd76fed62d4e43ded09b32246fdde13d5467f713135
\ No newline at end of file
+0606e8e93edb5de4d154f377dbf91f15295d25ca9013c0f1612ae6d63a0139ea
\ No newline at end of file
index de01be3ba1132234e693af6745add170c254cd8d..9b4f0b2201949c2d257097c3519b1aca71fe6eb3 100644 (file)
@@ -2282,7 +2282,7 @@ void sqlite3GenerateConstraintChecks(
         if( isUpdate ){
           /* If currently processing the PRIMARY KEY of a WITHOUT ROWID 
           ** table, only conflict if the new PRIMARY KEY values are actually
-          ** different from the old.
+          ** different from the old.  See TH3 withoutrowid04.test.
           **
           ** For a UNIQUE index, only conflict if the PRIMARY KEY values
           ** of the matched index row are different from the original PRIMARY