Skip to content

Commit

Permalink
All good???
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 23, 2023
1 parent 0b6d64a commit 2307e13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/MariaResultSimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cpp11::list MariaResultSimple::fetch(int /*n_max*/) {
LOG_VERBOSE;

warning("Use dbExecute() instead of dbGetQuery() for statements, and also avoid dbFetch()");
return (SEXP)df_create(std::vector<MariaFieldType>(), std::vector<std::string>(), 0);
return df_create(std::vector<MariaFieldType>(), std::vector<std::string>(), 0);
}

int MariaResultSimple::n_rows_affected() {
Expand Down
2 changes: 1 addition & 1 deletion src/MariaUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void df_s3(const cpp11::list& df, const std::vector<MariaFieldType>& types) {
}
}

cpp11::writable::list df_create(const std::vector<MariaFieldType>& types, const std::vector<std::string>& names, int n) {
cpp11::list df_create(const std::vector<MariaFieldType>& types, const std::vector<std::string>& names, int n) {
R_xlen_t p = types.size();

cpp11::writable::list out(p);
Expand Down
2 changes: 1 addition & 1 deletion src/MariaUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cpp11::list df_resize(const cpp11::list& df, int n);
// Set up S3 classes correctly
void df_s3(const cpp11::list& df, const std::vector<MariaFieldType>& types);

cpp11::writable::list df_create(const std::vector<MariaFieldType>& types,
cpp11::list df_create(const std::vector<MariaFieldType>& types,
const std::vector<std::string>& names,
int n);

Expand Down

0 comments on commit 2307e13

Please sign in to comment.