Updated to Select in SqlEngine.cc
Removed unnecessary code from Select.