1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix an incorrect comment on testcase misc1-27.0. No changes to code.

FossilOrigin-Name: 49829ae3229b7c7c7adeaa970a84aebd5157bc93b38fd6d80d86cc03f5fdde6f
This commit is contained in:
drh
2021-07-05 00:07:39 +00:00
parent 4a4e02bc52
commit 105c4b5ced
3 changed files with 15 additions and 8 deletions

View File

@ -728,7 +728,14 @@ do_execsql_test misc1-26.0 {
# 2017-12-29
#
# The following behaviors (duplicate column names on an INSERT or UPDATE)
# are undocumented. These tests are added to ensure that historical behavior
# are undocumented. <<--- Not so. There is a long-standing requirement
# in lang_update.in to say that when the columns to be updated appear more
# than once in an UPDATE statement that only the rightmost expression is used.
# See e_update-1.6.* for the tests. This is unfortunate, since omitting
# that requirement would greatly simplify the fix to the problem identified
# by forum post https://sqlite.org/forum/info/16ca0e9f32c38567
#
# These tests are added to ensure that historical behavior
# does not change accidentally.
#
# For duplication columns on an INSERT, the first value is used.