From e7663705c57f2058e5c4b4a44f4a0d1e86457b5c Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Tue, 28 Feb 1989 07:47:53 +0000 Subject: [PATCH] ING_DB --- WEGA/contrib/ingres/dbs/src/ovqp/strategy.h | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 WEGA/contrib/ingres/dbs/src/ovqp/strategy.h diff --git a/WEGA/contrib/ingres/dbs/src/ovqp/strategy.h b/WEGA/contrib/ingres/dbs/src/ovqp/strategy.h new file mode 100644 index 0000000..7eba20f --- /dev/null +++ b/WEGA/contrib/ingres/dbs/src/ovqp/strategy.h @@ -0,0 +1,24 @@ +# define opGTGE opGT +# define opLTLE opLT + +struct simp +{ + int relop; /* value of relop in simp clause */ + int att; /* attno of attribute */ + SYMBOL *konst; /* pointer to constant value symbol */ +}; + +struct key +{ + SYMBOL *keysym; + int dnumber; +}; + +extern struct simp Simp[NSIMP]; +extern int Nsimp; /* Current no. entries in Simp vector */ +extern int Fmode; /* find-mode determined by strategy */ +extern char Keyl[MAXTUP]; +extern char Keyh[MAXTUP]; + +extern struct key Lkey_struct[MAXDOM + 1]; +extern struct key Hkey_struct[MAXDOM + 1];