projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a06c36
)
Remove variable shadowing
author
Alvaro Herrera
<
[email protected]
>
Tue, 7 Apr 2015 20:14:00 +0000
(17:14 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Tue, 7 Apr 2015 20:14:00 +0000
(17:14 -0300)
Commit
a2e35b53
should have removed the variable declaration in the
inner block, but didn't. As a result, the returned address might end up
not being what was intended.
src/backend/commands/alter.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/alter.c
b/src/backend/commands/alter.c
index 3ddd7ec4343219de616e17bab26324bce391b17d..d28758cf8b26176a71a34b2ad95755bba8875021 100644
(file)
--- a/
src/backend/commands/alter.c
+++ b/
src/backend/commands/alter.c
@@
-446,7
+446,6
@@
ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt *stmt,
Relation relation;
Oid classId;
Oid nspOid;
- ObjectAddress address;
address = get_object_address(stmt->objectType,
stmt->object,