| 72 | } |
| 73 | |
| 74 | static bool test_exec(acl::redis_transaction& redis) |
| 75 | { |
| 76 | redis.clear(); |
| 77 | if (redis.exec() == false) |
| 78 | { |
| 79 | printf("exec error\r\n"); |
| 80 | return false; |
| 81 | } |
| 82 | printf("exec ok\r\n"); |
| 83 | return true; |
| 84 | } |
| 85 | |
| 86 | static bool get_results(acl::redis_transaction& redis) |
| 87 | { |