Compare commits

...

2 Commits

2 changed files with 27 additions and 31 deletions

View File

@ -152,7 +152,6 @@ impl DatabaseExecutor for SpiExecutor {
} }
fn auth_origin(&self) -> Result<Option<Value>, String> { fn auth_origin(&self) -> Result<Option<Value>, String> {
self.transact(|| {
Spi::connect(|client| { Spi::connect(|client| {
let mut tup_table = client let mut tup_table = client
.select( .select(
@ -169,11 +168,9 @@ impl DatabaseExecutor for SpiExecutor {
} }
Ok(None) Ok(None)
}) })
})
} }
fn punc_trigger(&self) -> Result<Option<String>, String> { fn punc_trigger(&self) -> Result<Option<String>, String> {
self.transact(|| {
Spi::connect(|client| { Spi::connect(|client| {
let mut tup_table = client let mut tup_table = client
.select( .select(
@ -190,6 +187,5 @@ impl DatabaseExecutor for SpiExecutor {
} }
Ok(None) Ok(None)
}) })
})
} }
} }

View File

@ -1 +1 @@
1.0.153 1.0.154