Skip to content

Commit

Permalink
modify readme
Browse files Browse the repository at this point in the history
Signed-off-by: zjregee <zjregee@gmail.com>
  • Loading branch information
zjregee committed Sep 6, 2024
1 parent bf2b770 commit 455286a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You can find more options in `sqllogictest --help` .

> **Note**
>
> Currently only postgres is supported in the CLI tool.
> Currently only postgres and mysql are supported in the CLI tool.
## `.slt` Test File Format Cookbook

Expand Down
5 changes: 3 additions & 2 deletions sqllogictest-engines/src/mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ impl sqllogictest::AsyncDB for MySql {
let value_str = match value {
Value::Bytes(bytes) => match String::from_utf8(bytes) {
Ok(x) => x,
Err(_) => "NULL".to_string(),
Err(_) => unreachable!(),
},
_ => "NULL".to_string(),
Value::NULL => "NULL".to_string(),
_ => unreachable!(),
};
if value_str.is_empty() {
row_vec.push("(empty)".to_string());
Expand Down

0 comments on commit 455286a

Please sign in to comment.