mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
New NameStr macro to convert Name to Str. No need for var.data anymore.
Fewer calls to nameout. Better use of RelationGetRelationName.
This commit is contained in:
@ -79,7 +79,7 @@ SetVariable(VariableSpace space, const char *name, const char *value)
|
||||
if (strspn(name, VALID_VARIABLE_CHARS) != strlen(name))
|
||||
return false;
|
||||
|
||||
for (current = space; current; previous = current, current = current->next)
|
||||
for (current = space, previous = NULL; current; previous = current, current = current->next)
|
||||
{
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
assert(current->name);
|
||||
|
Reference in New Issue
Block a user