From 307f22e27322c6f93d7a9b471fdf3ec5df942fd4 Mon Sep 17 00:00:00 2001 From: Dongdong Kong Date: Tue, 10 Oct 2023 23:40:06 +0800 Subject: [PATCH] fix immediate parameter error in dbplyr::dbExecute (#231) --- R/result.R | 2 +- man/query.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/result.R b/R/result.R index e1f7be3..0e8469f 100644 --- a/R/result.R +++ b/R/result.R @@ -93,7 +93,7 @@ setMethod("fetch", c("MySQLResult", "missing"), function(res, n, ...) { #' @export #' @useDynLib RMySQL RS_MySQL_exec setMethod("dbSendQuery", c("MySQLConnection", "character"), - function(conn, statement) { + function(conn, statement, ...) { checkValid(conn) rsId <- .Call(RS_MySQL_exec, conn@Id, as.character(statement)) diff --git a/man/query.Rd b/man/query.Rd index 2354912..22aacc2 100644 --- a/man/query.Rd +++ b/man/query.Rd @@ -20,7 +20,7 @@ \S4method{fetch}{MySQLResult,missing}(res, n = -1, ...) -\S4method{dbSendQuery}{MySQLConnection,character}(conn, statement) +\S4method{dbSendQuery}{MySQLConnection,character}(conn, statement, ...) \S4method{dbClearResult}{MySQLResult}(res, ...)