Closed almir-lima closed 10 months ago
Investigating
@almir-lima Please, try my last commit
Hello, i runed a "cargo clean" and updated the files but it's not working. I don't know if i doing the update rigth. My declarations in dependencies is that:
[dependencies] rsfbclient = { version="*", features = ["dynamic_loading"], default-features = false }
I put wrong macro, the macro than i use is that:
#[macro_export]
macro_rules! fb_client_embedded {
() => {
println!("Name of database is required.")
};
($fbclient: expr,
$db : expr ) => {
rsfbclient::builder_native()
.with_dyn_load($fbclient)
.with_embedded()
.db_name($db)
.dialect(rsfbclient::Dialect::D3)
.charset(rsfbclient::charset::UTF_8)
.user("SYSDBA")
};
}
Try this:
[dependencies]
rsfbclient = { git = "https://github.com/fernandobatels/rsfbclient.git", branch = "bug-150" }
New version released with this fix: 0.24.0
The create database method is only generating databases with Dialect 1 in Firebird 4.0. The code:
out:
called
Result::unwrap()
on anErr
value: Sql { msg: "Dynamic SQL Error\nSQL error code = -817\nMetadata update statement is not allowed by the current database SQL dialect 1", code: -817 } note: run withRUST_BACKTRACE=1
environment variable to display a backtrace