Skip to content

Commit e50582b

Browse files
committed
fix: pointer access
1 parent 8498dd3 commit e50582b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package/cpp/operations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ SQLiteExecuteQueryResult sqliteExecute(const std::string& dbName, const std::str
207207
if (!metadata) {
208208
metadata = std::make_optional<SQLiteQueryTableMetadata>();
209209
}
210-
metadata.insert({column_name, columnMeta});
210+
metadata->insert({column_name, columnMeta});
211211
i++;
212212
}
213213
isConsuming = false;

package/cpp/specs/HybridNativeQueryResult.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class HybridNativeQueryResult : public HybridNativeQueryResultSpec {
1818

1919
public:
2020
// Properties
21-
double getInsertId() override;
21+
std::optional<double> getInsertId() override;
2222
double getRowsAffected() override;
2323
SQLiteQueryResults getResults() override;
2424
std::optional<SQLiteQueryTableMetadata> getMetadata() override;

0 commit comments

Comments
 (0)