Skip to content

Commit

Permalink
fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
aligator committed Jun 16, 2019
1 parent 418337c commit c8c413b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statement/mod.rs
Expand Up @@ -131,7 +131,7 @@ impl<'a, 'b, 'env> Statement<'a, 'b, Allocated, NoResult> {
}

pub fn tables_opt_str(mut self, catalog_name: Option<&str>, schema_name: Option<&str>, table_name:Option<&str>, table_type: &str) -> Result<Statement<'a, 'b, Executed, HasResult>> {
self.raii.tables(catalog_name, schema_name, table_name, table_type);
self.raii.tables(catalog_name, schema_name, table_name, table_type).into_result(&self)?;
Ok(Statement::with_raii(self.raii))
}

Expand Down

0 comments on commit c8c413b

Please sign in to comment.