Skip to content

Commit

Permalink
fix: funcion -> function (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshauck authored Mar 25, 2023
1 parent f8b45b5 commit 0adb601
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vtab/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@ impl Connection {
for ty in T::parameters().unwrap_or_default() {
table_function.add_parameter(&ty);
}
self.db.borrow_mut().register_table_funcion(table_function)
self.db.borrow_mut().register_table_function(table_function)
}
}

impl InnerConnection {
/// Register the given TableFunction with the current db
pub fn register_table_funcion(&mut self, table_function: TableFunction) -> Result<()> {
pub fn register_table_function(&mut self, table_function: TableFunction) -> Result<()> {
unsafe {
let rc = ffi::duckdb_register_table_function(self.con, table_function.ptr);
if rc != ffi::DuckDBSuccess {
Expand Down

0 comments on commit 0adb601

Please sign in to comment.