diff options
author | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2010-01-27 11:12:13 +0100 |
---|---|---|
committer | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2010-01-27 11:12:13 +0100 |
commit | eaa0fa6cc9e783ea3ab33f053bdb7fdf5d41366f (patch) | |
tree | 210a87bcdb7fd66b7217aac403c43e7f91d6fe1e /qlparser | |
parent | b47274896cd648fd243dbdede872496b81c79b57 (diff) | |
download | rasdaman-upstream-eaa0fa6cc9e783ea3ab33f053bdb7fdf5d41366f.tar.gz rasdaman-upstream-eaa0fa6cc9e783ea3ab33f053bdb7fdf5d41366f.tar.xz rasdaman-upstream-eaa0fa6cc9e783ea3ab33f053bdb7fdf5d41366f.zip |
Fixed optimization level bug when creating new collection.
Diffstat (limited to 'qlparser')
-rw-r--r-- | qlparser/querytree.cc | 1 | ||||
-rw-r--r-- | qlparser/querytree.hh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qlparser/querytree.cc b/qlparser/querytree.cc index 5bb51e2..18497df 100644 --- a/qlparser/querytree.cc +++ b/qlparser/querytree.cc @@ -495,6 +495,7 @@ bool QueryTree::isValidOptimizationLevel( int level ) { switch (level) { + case NO_OPTIMIZATIONS: case STANDARDIZATION: case SIMPLIFICATION: case SUBEXPRESSIONS: diff --git a/qlparser/querytree.hh b/qlparser/querytree.hh index cfeafb7..002bca2 100644 --- a/qlparser/querytree.hh +++ b/qlparser/querytree.hh @@ -86,6 +86,7 @@ class QueryTree enum OptimizationLevel { + NO_OPTIMIZATIONS = 0, STANDARDIZATION = 1, SIMPLIFICATION = 2, SUBEXPRESSIONS = 3 |