mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Remove dependency to query text in JumbleQuery()
Since 3db72eb, the query ID of utilities is generated using the Query
structure, making the use of the query string in JumbleQuery()
unnecessary. This commit removes the argument "querytext" from
JumbleQuery().
Reported-by: Joe Conway
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/ZJlQAWE4COFqHuAV@paquier.xyz
This commit is contained in:
@@ -97,7 +97,7 @@ CleanQuerytext(const char *query, int *location, int *len)
|
||||
}
|
||||
|
||||
JumbleState *
|
||||
JumbleQuery(Query *query, const char *querytext)
|
||||
JumbleQuery(Query *query)
|
||||
{
|
||||
JumbleState *jstate = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user