mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Fix inconsistencies and typos in the tree
This is numbered take 7, and addresses a set of issues around: - Fixes for typos and incorrect reference names. - Removal of unneeded comments. - Removal of unreferenced functions and structures. - Fixes regarding variable name consistency. Author: Alexander Lakhin Discussion: https://postgr.es/m/10bfd4ac-3e7c-40ab-2b2e-355ed15495e8@gmail.com
This commit is contained in:
@ -146,11 +146,6 @@ resetSpGistScanOpaque(SpGistScanOpaque so)
|
||||
{
|
||||
MemoryContext oldCtx;
|
||||
|
||||
/*
|
||||
* clear traversal context before proceeding to the next scan; this must
|
||||
* not happen before the freeScanStack above, else we get double-free
|
||||
* crashes.
|
||||
*/
|
||||
MemoryContextReset(so->traversalCxt);
|
||||
|
||||
oldCtx = MemoryContextSwitchTo(so->traversalCxt);
|
||||
|
Reference in New Issue
Block a user