Skip to content

Commit 5232a8f

Browse files
weiznichmomobel
authored andcommitted
Pull in the column name caching change
1 parent 2a026c0 commit 5232a8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sync_connection_wrapper.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ where
125125
{
126126
self.execute_with_prepared_query(source.as_query(), |conn, query| {
127127
use diesel::row::IntoOwnedRow;
128+
let mut cache = None;
128129
conn.load(&query).map(|c| {
129-
c.map(|row| row.map(IntoOwnedRow::into_owned))
130+
c.map(|row| row.map(|r| IntoOwnedRow::into_owned(r, &mut cache)))
130131
.collect::<Vec<QueryResult<O>>>()
131132
})
132133
})

0 commit comments

Comments
 (0)