Fix the result reader initialization code in query result servlet to use new API and clear buffers after each read.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_result_distribution@1237 eaa15691-b419-025a-1212-ee371bd00084
2 files changed