* UnsyncVariables * * Clear variables that should be not be set when there is no connection. */
| 3710 | * Clear variables that should be not be set when there is no connection. |
| 3711 | */ |
| 3712 | void |
| 3713 | UnsyncVariables(void) |
| 3714 | { |
| 3715 | SetVariable(pset.vars, "DBNAME", NULL); |
| 3716 | SetVariable(pset.vars, "USER", NULL); |
| 3717 | SetVariable(pset.vars, "HOST", NULL); |
| 3718 | SetVariable(pset.vars, "PORT", NULL); |
| 3719 | SetVariable(pset.vars, "ENCODING", NULL); |
| 3720 | SetVariable(pset.vars, "SERVER_VERSION_NAME", NULL); |
| 3721 | SetVariable(pset.vars, "SERVER_VERSION_NUM", NULL); |
| 3722 | } |
| 3723 | |
| 3724 | |
| 3725 | /* |
no test coverage detected