projects
/
plantuner.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e29d69
)
prevent warning
author
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 17 Sep 2012 15:42:09 +0000
(19:42 +0400)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 17 Sep 2012 15:42:09 +0000
(19:42 +0400)
plantuner.c
patch
|
blob
|
history
diff --git
a/plantuner.c
b/plantuner.c
index
f023d07
..
02b7101
100644
(file)
--- a/
plantuner.c
+++ b/
plantuner.c
@@
-272,7
+272,7
@@
IndexFilterShow(Oid* indexes, int nIndexes)
len = 1 /* \0 */ + nIndexes * (2 * NAMEDATALEN + 2 /* ', ' */ + 1 /* . */);
ptr = val = palloc(len);
- *ptr ='\0';
+ *ptr =
(char)
'\0';
for(i=0; i<nIndexes; i++)
{
char *relname = get_rel_name(indexes[i]);