mirror of
https://github.com/Chaoscaot/schemsearch.git
synced 2025-11-05 05:54:02 +01:00
Fix SQL-Interface
This commit is contained in:
@ -271,9 +271,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
if !output_std && !output_std_csv {
|
println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string());
|
||||||
println!("Error while loading schematic ({}): {}", schem.get_name(), e.to_string());
|
|
||||||
}
|
|
||||||
SearchResult {
|
SearchResult {
|
||||||
name: schem.get_name(),
|
name: schem.get_name(),
|
||||||
matches: vec![]
|
matches: vec![]
|
||||||
|
|||||||
@ -18,6 +18,7 @@
|
|||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
#[cfg(feature = "sql")]
|
#[cfg(feature = "sql")]
|
||||||
use futures::executor::block_on;
|
use futures::executor::block_on;
|
||||||
|
use schemsearch_files::Schematic;
|
||||||
#[cfg(feature = "sql")]
|
#[cfg(feature = "sql")]
|
||||||
use schemsearch_sql::{load_schemdata, SchematicNode};
|
use schemsearch_sql::{load_schemdata, SchematicNode};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user