Hi all,
I am trying to execute a MULTI/EXEC transaction inside RediSQL.
Unfortunately it doesn't seems to work.
I use the RM_Call interface in this way:
```
RM_Call(context, "MULTI", "");
```
The initial MULTI works fine and it simply returns `OK`.
However if I then try to call the EXEC `RM_Call(context, "EXEC", "")` it reply with an error => `ERR EXEC without MULTI`
Why?
Moreover, if I try to execute commands between the MULTI and the EXEC the commands behave like they were not in a transaction, they don't return `QUEUED` but they simply return their result.
Is this expected?
Moreover, is necessary to wrap commands inside a transaction at all or Redis already wraps all the comands from a module in a transaction and execute the transaction only if the module command return successfully?
My use case is to push results of queries into a stream, however if we hit the timeout before I have finished to publish everything I would like to DISCARD the transaction, otherwise I want to execute it.
Is necessary to use MULTI/EXEC?
Cheers,
Simone