projects
/
plantuner.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[plantuner.git]
/
plantuner.c
diff --git
a/plantuner.c
b/plantuner.c
index
6fb5bcf
..
cf5ccf3
100644
(file)
--- a/
plantuner.c
+++ b/
plantuner.c
@@
-225,13
+225,6
@@
indexFilter(PlannerInfo *root, Oid relationObjectId, bool inhparent, RelOptInfo
}
}
}
}
}
}
-
- if (fix_empty_table && rel)
- {
-
-
- }
-
}
static void
}
static void
@@
-272,7
+265,7
@@
IndexFilterShow(Oid* indexes, int nIndexes)
len = 1 /* \0 */ + nIndexes * (2 * NAMEDATALEN + 2 /* ', ' */ + 1 /* . */);
ptr = val = palloc(len);
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]);
for(i=0; i<nIndexes; i++)
{
char *relname = get_rel_name(indexes[i]);
@@
-292,13
+285,13
@@
IndexFilterShow(Oid* indexes, int nIndexes)
}
static const char*
}
static const char*
-disabledIndexFilterShow()
+disabledIndexFilterShow(
void
)
{
return IndexFilterShow(disabledIndexes, nDisabledIndexes);
}
static const char*
{
return IndexFilterShow(disabledIndexes, nDisabledIndexes);
}
static const char*
-enabledIndexFilterShow()
+enabledIndexFilterShow(
void
)
{
return IndexFilterShow(enabledIndexes, nEnabledIndexes);
}
{
return IndexFilterShow(enabledIndexes, nEnabledIndexes);
}