mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
use appendPQExpBufferStr/-Char() consistently
This commit is contained in:
12
strutil.c
12
strutil.c
@@ -87,17 +87,17 @@ append_where_clause(PQExpBufferData *where_clause, const char *format,...)
|
||||
|
||||
if (where_clause->data[0] == '\0')
|
||||
{
|
||||
appendPQExpBuffer(where_clause,
|
||||
" WHERE ");
|
||||
appendPQExpBufferStr(where_clause,
|
||||
" WHERE ");
|
||||
}
|
||||
else
|
||||
{
|
||||
appendPQExpBuffer(where_clause,
|
||||
" AND ");
|
||||
appendPQExpBufferStr(where_clause,
|
||||
" AND ");
|
||||
}
|
||||
|
||||
appendPQExpBuffer(where_clause,
|
||||
"%s", stringbuf);
|
||||
appendPQExpBufferStr(where_clause,
|
||||
stringbuf);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user