projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02a2521
)
Mark (char *) variable as const, to quiet compilers
XL9_5_STABLE
author
Tomas Vondra
<
[email protected]
>
Fri, 12 Oct 2018 13:17:42 +0000
(15:17 +0200)
committer
Tomas Vondra
<
[email protected]
>
Fri, 12 Oct 2018 13:17:42 +0000
(15:17 +0200)
src/backend/pgxc/pool/pgxcnode.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/pgxc/pool/pgxcnode.c
b/src/backend/pgxc/pool/pgxcnode.c
index e9516cf733d1081da2894e6d991aa6e2127648c6..3c5d487475d4a8b248ba0d3cd7b34f0e5687e1d5 100644
(file)
--- a/
src/backend/pgxc/pool/pgxcnode.c
+++ b/
src/backend/pgxc/pool/pgxcnode.c
@@
-2672,7
+2672,7
@@
get_set_command(List *param_list, StringInfo command, bool local)
foreach (lc, param_list)
{
ParamEntry *entry = (ParamEntry *) lfirst(lc);
- char *value = NameStr(entry->value);
+ c
onst c
har *value = NameStr(entry->value);
if (strlen(value) == 0)
value = "''";