mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-17 07:13:27 +02:00
writeCommand must be called in sendCommand
This commit is contained in:
parent
1a6dbd0b2d
commit
4dc1d2f62d
@ -98,7 +98,7 @@ public:
|
||||
/// A BadCastException will be thrown, when the reply is not of the
|
||||
/// given type.
|
||||
{
|
||||
sendCommand(command);
|
||||
writeCommand(command);
|
||||
readReply(result);
|
||||
}
|
||||
|
||||
@ -119,7 +119,7 @@ public:
|
||||
}
|
||||
if ( redisResult->type() == ElementTraits<T>::TypeId )
|
||||
result = ((Type<T>*) redisResult.get())->value();
|
||||
else throw BadCastException();
|
||||
else throw BadCastException();
|
||||
}
|
||||
|
||||
void sendCommands(const std::vector<Array>& commands,
|
||||
|
Loading…
x
Reference in New Issue
Block a user