Assign an integer value to a variable, creating it if need be */ Returns false on failure (bad name) */
| 1690 | /* Assign an integer value to a variable, creating it if need be */ |
| 1691 | /* Returns false on failure (bad name) */ |
| 1692 | static bool |
| 1693 | putVariableInt(CState *st, const char *context, char *name, int64 value) |
| 1694 | { |
| 1695 | PgBenchValue val; |
| 1696 | |
| 1697 | setIntValue(&val, value); |
| 1698 | return putVariableValue(st, context, name, &val); |
| 1699 | } |
| 1700 | |
| 1701 | /* |
| 1702 | * Parse a possible variable reference (:varname). |
no test coverage detected