summaryrefslogtreecommitdiffstats
path: root/qlparser
diff options
context:
space:
mode:
authorAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2010-01-26 09:35:53 +0100
committerAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2010-01-26 09:35:53 +0100
commitb47274896cd648fd243dbdede872496b81c79b57 (patch)
treee0294f540b09104cff1a3d3c024329417009cea7 /qlparser
parent45032ffd23ce741dd9cd63a4befcea89f2fd19cf (diff)
downloadrasdaman-upstream-b47274896cd648fd243dbdede872496b81c79b57.tar.gz
rasdaman-upstream-b47274896cd648fd243dbdede872496b81c79b57.tar.xz
rasdaman-upstream-b47274896cd648fd243dbdede872496b81c79b57.zip
Updated query tree constructor to use optimization level enumeration.
Diffstat (limited to 'qlparser')
-rw-r--r--qlparser/querytree.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/qlparser/querytree.cc b/qlparser/querytree.cc
index 412a2a5..5bb51e2 100644
--- a/qlparser/querytree.cc
+++ b/qlparser/querytree.cc
@@ -70,14 +70,14 @@ SymbolTable<int> QueryTree::symtab;
QueryTree::QueryTree()
: rootNode(NULL),
- optimizationLevel(4)
+ optimizationLevel(SUBEXPRESSIONS)
{
}
QueryTree::QueryTree( QtNode* root )
: rootNode( root ),
- optimizationLevel(4)
+ optimizationLevel(SUBEXPRESSIONS)
{
}