postgresql/src
Tomas Vondra a5dc37866a Remove unused variable in statext_mcv_serialize()
The itemlen variable used to be referenced in multiple places, but since
reworking the serialization code it's used only in one assert. Fixed by
removing the variable and calling the macro from the assert directly.

Backpatch to 12, where this code was introduced.

Reported-by: Jeff Janes
Discussion: https://postgr.es/m/CAMkU=1zc_ovH9NZd_9ovuiEWkF9yX06URUDdXCmgDydf-bqB5A@mail.gmail.com
2019-07-05 18:52:31 +02:00
..
backend Remove unused variable in statext_mcv_serialize() 2019-07-05 18:52:31 +02:00
bin Fix accidentally swapped error message arguments 2019-07-02 23:45:00 +01:00
common Make script output more pgindent compatible 2019-06-24 22:50:56 +02:00
fe_utils Update stale comments, and fix comment typos. 2019-06-08 10:12:26 -07:00
include Simplify pg_mcv_list (de)serialization 2019-07-05 16:45:05 +02:00
interfaces Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
makefiles Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds. 2019-04-09 08:25:39 -07:00
pl Ensure plpgsql result tuples have the right composite type marking. 2019-07-03 18:08:53 -04:00
port Fix more typos and inconsistencies in the tree 2019-06-17 16:13:16 +09:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Fix pg_mcv_list_items() to produce text[] 2019-07-05 16:18:10 +02:00
timezone Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
tools Add support for Visual Studio 2019 in build scripts 2019-07-03 08:57:22 +09:00
tutorial Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Consistently test for in-use shared memory. 2019-04-12 22:36:38 -07:00
Makefile.shlib Ensure static libraries have correct mod time even if ranlib messes it up. 2018-11-29 15:53:44 -05:00
nls-global.mk Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00