Skip to content

Commit

Permalink
fmt mysql source sql
Browse files Browse the repository at this point in the history
  • Loading branch information
b41sh committed Jan 10, 2025
1 parent cae18e0 commit 88786e1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/sqllogictests/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,13 @@ async fn run_mysql_server(docker: &Docker) -> Result<ContainerAsync<Mysql>> {
loop {
let mysql_res = Mysql::default()
.with_init_sql(
"CREATE TABLE test.user(id INT, name VARCHAR(100), age SMALLINT UNSIGNED, salary DOUBLE, active BOOL); INSERT INTO test.user VALUES(1, 'Alice', 24, 100, true), (2, 'Bob', 35, 200.1, false), (3, 'Lily', 41, 1000.2, true), (4, 'Tom', 55, 3000.55, false), (5, NULL, NULL, NULL, NULL);"
"CREATE TABLE test.user(id INT, name VARCHAR(100), age SMALLINT UNSIGNED, salary DOUBLE, active BOOL); \
INSERT INTO test.user VALUES \
(1, 'Alice', 24, 100, true), \
(2, 'Bob', 35, 200.1, false), \
(3, 'Lily', 41, 1000.2, true), \
(4, 'Tom', 55, 3000.55, false), \
(5, NULL, NULL, NULL, NULL);"
.to_string()
.into_bytes(),
)
Expand Down

0 comments on commit 88786e1

Please sign in to comment.