We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc98e19 commit 63572dcCopy full SHA for 63572dc
1 file changed
libsql/src/hrana/connection.rs
@@ -81,7 +81,7 @@ where
81
}
82
83
pub async fn prepare(&self, sql: &str) -> crate::Result<Statement<T>> {
84
- let stream = self.current_stream().clone();
+ let stream = self.open_stream();
85
Statement::new(stream, sql.to_string(), true).await
86
87
0 commit comments