Stocks go nowhere as oil hits a 3-year high

Surging oil prices led energy stocks higher on Wednesday, but markets closed mixed.