Skip to content

Commit

Permalink
fix: try to fix 'Only EQ and IN relation are supported on the partiti…
Browse files Browse the repository at this point in the history
…on key'
  • Loading branch information
zensh committed Oct 2, 2023
1 parent 272856c commit fa74ef9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "writing"
version = "1.1.1"
version = "1.1.2"
edition = "2021"
rust-version = "1.64"
description = ""
Expand Down
2 changes: 1 addition & 1 deletion src/db/model_publication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ impl Publication {
let status_cond = if from_status == 1 {
"status=1"
} else {
"status IN (0,1)"
"status>=0 AND status<2"
};

let query = format!(
Expand Down

0 comments on commit fa74ef9

Please sign in to comment.