aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2025-01-04 19:50:44 +0000
committerdrh <>2025-01-04 19:50:44 +0000
commit1388a716908e2ca8beffe7a7abc8e3321800d7ea (patch)
tree60c7c679cce35ab08433a6f4a83329a505aebea3 /src
parent7a3d03b1fd8241899ab6fadce5a8e9d605f73537 (diff)
downloadsqlite-1388a716908e2ca8beffe7a7abc8e3321800d7ea.tar.gz
sqlite-1388a716908e2ca8beffe7a7abc8e3321800d7ea.zip
Allow the 2nd argument to ".param set" to use previously bound parameters,
as suggested by [forum:/forumpost/823e1bd746|forum post 823e1bd746]. FossilOrigin-Name: 13a35ad792dc0afe1f7b60230aef392ae01e702972b963d732e332f21848f38b
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index cad8c92c5..27028ccb0 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -10237,6 +10237,7 @@ static int do_meta_command(char *zLine, ShellState *p){
rc = 1;
}
}
+ bind_prepared_stmt(p, pStmt);
sqlite3_step(pStmt);
sqlite3_finalize(pStmt);
}else