Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1158/include
Modified Files:
load_stats.h
Log Message:
-- Extended guide loading to cope with QNames (instead of strings).
-- Cleaned up and simplified guide property inference.
-- Extended guide property inference. (QName support; Steps evaluated
on the guide without result nodes now get an empty guide mapping
---instead of no mapping.)
U load_stats.h
Index: load_stats.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/load_stats.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- load_stats.h 11 Jan 2008 10:47:06 -0000 1.5
+++ load_stats.h 26 Mar 2008 11:41:17 -0000 1.6
@@ -32,7 +32,7 @@
#ifndef LOAD_STATS_H
#define LOAD_STATS_H
-#include "ordering.h"
+#include "qname.h"
/* Kind of a guide node */
enum PFguide_kind_t {
@@ -54,18 +54,11 @@
unsigned int max; /* maximum number of occurrences */
int level; /* level of the node */
PFguide_kind_t kind; /* kind of the node */
- char *tag_name; /* name of the node */
+ PFqname_t name; /* name of the node */
PFguide_tree_t *parent; /* parent of the node */
PFarray_t *child_list; /* all childs of the node */
};
-/* Maps a list of guides to a column */
-typedef struct PFguide_mapping_t PFguide_mapping_t;
-struct PFguide_mapping_t {
- PFalg_att_t column; /* name of the column */
- PFarray_t *guide_list; /* list of guide nodes */
-};
-
/* create a guide tree from a file */
PFguide_tree_t *PFguide_tree (void);
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins