wu aoxiang
wu aoxiang
current sled is only record last_id of logs folder, seems sled is redunant
I want to use local/system timezone in MySqlPool. ```rust let datetime = chrono::Utc::now().naive_local(); // The insert time is not equal to local time sqlx::query("INSERT INTO orders (created_at) VALUES (?);") .bind(datetime)...
**please complete the following information:** - OS version: Linux 5.13.19-2-MANJARO - Editor: vscode - Editor version: 1.62.3 - Programming language: Rust - TabNine extension version: 3.5.1 - Engine version: 4.0.12-41...
toolchains: nightly-2021-06-26-armv7-unknown-linux-gnueabihf ``` Checking server_mysql v0.9.3 (/home/pi/repos/tensorbase/crates/server_mysql) Compiling arrow-flight v5.0.0-SNAPSHOT (/home/pi/repos/tensorbase/crates/arrow-flight) error[E0277]: the trait bound `u64: ToUsize` is not satisfied --> crates/server_mysql/src/commands.rs:142:49 | 142 | let (i, bytes) = nom::bytes::complete::take(len)(i)?;...
I try to import this clickhouse sample data: But tensorbase failed to create table ``` [w@ww tensorbase]$ clickhouse-client --port=9528 ClickHouse client version 21.5.6.6 (official build). Connecting to localhost:9528 as user...
https://github.com/tikv/agatedb/blob/4aa6420cf79c5ef1a73e346591cfe39cca3a1a15/src/value.rs#L129 should change to ```rust let mut arr: [MaybeUninit; 12] = unsafe { MaybeUninit::uninit().assume_init() }; ``` or ```rust let mut arr = [0u8; 12]; ``` --- ``` error: this call...
hyper::header::from_static is a **const fn**, we can define our headers in const and remove lazy-static dep(move it to dev-dependency)
support serialize struct field unit type `()` and serde_json::Value::Null
I try below code but got error `Err` value: Custom("unsupported value") ```rust serde_urlencoded::to_string(&serde_json::json!({ "limit": serde_json::Value::Null, "timestamp": 1700283922524u64 })).unwrap(); ``` serde_json::Value ``` impl Serialize for Value { #[inline] fn serialize(&self, serializer:...
I am trying to update sqlx to 0.7, but Insert trait `let mut tx = db.begin().await?;` db: impl Executor has no begin method on sqlx 0.7 ```diff db: &mut ::Connection,...