Skip to content

Commit 8827b71

Browse files
committed
format
1 parent 7597171 commit 8827b71

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/suites/0_stateless/01_transaction/01_03_issue_18705.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
if __name__ == "__main__":
77
# Session 1:
88
# Insert into empty table
9-
mdb = mysql.connector.connect(host="127.0.0.1", user="root", passwd="root", port="3307")
9+
mdb = mysql.connector.connect(
10+
host="127.0.0.1", user="root", passwd="root", port="3307"
11+
)
1012
mycursor = mdb.cursor()
1113
mycursor.execute("create or replace table t_18705(c int)")
1214
mycursor.fetchall()
@@ -17,9 +19,13 @@
1719

1820
# Session 2:
1921
# Alter table in another session, so that the new table after alter operation will still be empty
20-
mydb_alter_tbl = mysql.connector.connect(host="127.0.0.1", user="root", passwd="root", port="3307")
22+
mydb_alter_tbl = mysql.connector.connect(
23+
host="127.0.0.1", user="root", passwd="root", port="3307"
24+
)
2125
mycursor_alter_tbl = mydb_alter_tbl.cursor()
22-
mycursor_alter_tbl.execute("alter table t_18705 SET OPTIONS (block_per_segment = 500)")
26+
mycursor_alter_tbl.execute(
27+
"alter table t_18705 SET OPTIONS (block_per_segment = 500)"
28+
)
2329
mycursor_alter_tbl.fetchall()
2430

2531
# Session 1:

0 commit comments

Comments
 (0)