cleanup
[plantuner.git] / plantuner.c
index f023d07..cf5ccf3 100644 (file)
@@ -225,13 +225,6 @@ indexFilter(PlannerInfo *root, Oid relationObjectId, bool inhparent, RelOptInfo
                        }
                }
        }
-
-       if (fix_empty_table && rel)
-       {
-               
-
-       }
-
 }
 
 static void
@@ -272,7 +265,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]);