mirror of
https://github.com/predis/predis.git
synced 2026-11-08 19:06:36 +00:00
21deb140e8
Relay::select() throws a TypeError for anything but an integer, where other connections get an error response from the server. Wrap the call and return the same error response, so the existing test runs against Relay and no longer needs a Relay-only counterpart. Relay warns before sending SELECT for out-of-range databases, so that test keeps its Relay-specific counterpart.