Patch regarding Issue #774 (SELECT is redundant in case of LOAD_FILE)