projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45f50c9
)
pgbench: Remove unused argument from create_sql_command().
author
Fujii Masao
<fujii@postgresql.org>
Thu, 18 Sep 2025 02:22:21 +0000
(11:22 +0900)
committer
Fujii Masao
<fujii@postgresql.org>
Thu, 18 Sep 2025 02:22:21 +0000
(11:22 +0900)
Author: Yugo Nagata <nagata@sraoss.co.jp>
Reviewed-by: Steven Niu <niushiji@gmail.com>
Discussion: https://postgr.es/m/
20250917112814
.
096f660ea4c3c64630475e62
@sraoss.co.jp
src/bin/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pgbench/pgbench.c
b/src/bin/pgbench/pgbench.c
index 125f3c7bbbe5b843e30258049b7d32162153dfe6..3cafd88ac53b594e268d3fba3835e826d7db4042 100644
(file)
--- a/
src/bin/pgbench/pgbench.c
+++ b/
src/bin/pgbench/pgbench.c
@@
-5599,7
+5599,7
@@
skip_sql_comments(char *sql_command)
* struct.
*/
static Command *
-create_sql_command(PQExpBuffer buf
, const char *source
)
+create_sql_command(PQExpBuffer buf)
{
Command *my_command;
char *p = skip_sql_comments(buf->data);
@@
-5992,7
+5992,7
@@
ParseScript(const char *script, const char *desc, int weight)
sr = psql_scan(sstate, &line_buf, &prompt);
/* If we collected a new SQL command, process that */
- command = create_sql_command(&line_buf
, desc
);
+ command = create_sql_command(&line_buf);
/* store new command */
if (command)