Skip to content

Commit

Permalink
Merge pull request #763 from avelanarius/remove-pub-use-1
Browse files Browse the repository at this point in the history
connection: remove re-export of QueryResult
  • Loading branch information
piodul authored Jul 20, 2023
2 parents 69493a1 + 6a4c637 commit 2089cf0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scylla/src/transport/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ use crate::statement::prepared_statement::PreparedStatement;
use crate::statement::Consistency;
use crate::transport::session::IntoTypedRows;
use crate::transport::Compression;

// Existing code imports scylla::transport::connection::QueryResult because it used to be located in this file.
// Reexport QueryResult to avoid breaking the existing code.
pub use crate::QueryResult;
use crate::QueryResult;

// Queries for schema agreement
const LOCAL_VERSION: &str = "SELECT schema_version FROM system.local WHERE key='local'";
Expand Down

0 comments on commit 2089cf0

Please sign in to comment.