8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 07:23:03 +01:00
This commit is contained in:
dimitr 2010-01-18 11:56:39 +00:00
parent 6bf002052d
commit d4c71039d5

View File

@ -51,18 +51,6 @@ class CompilerScratch;
// Array which stores relative pointers to impure areas of invariant nodes // Array which stores relative pointers to impure areas of invariant nodes
typedef Firebird::SortedArray<SLONG> VarInvariantArray; typedef Firebird::SortedArray<SLONG> VarInvariantArray;
// Blocks used to compute optimal join order:
// indexed relationships block (IRL) holds
// information about potential join orders
class IndexedRelationship : public pool_alloc<type_irl>
{
public:
IndexedRelationship* irl_next; // next IRL block for stream
USHORT irl_stream; // stream reachable by relation
bool irl_unique; // is this stream reachable by unique index?
};
// Must be less then MAX_SSHORT. Not used for static arrays. // Must be less then MAX_SSHORT. Not used for static arrays.
const int MAX_CONJUNCTS = 32000; const int MAX_CONJUNCTS = 32000;