-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add primitive logic to read and group transactions together
Signed-off-by: Florent Poinsard <[email protected]>
- Loading branch information
Showing
14 changed files
with
476 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/bin/mysqld, Version: 8.0.26 (Source distribution). started with: | ||
Tcp port: 3306 Unix socket: /tmp/mysql.sock | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
begin; | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
update tblA set apa = 'toto' where foo = 12 and id = 43; | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
update tblB set monkey = 'pippi' where bar = 12 and id = 44; | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
commit; | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
begin; | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
update tblA set apa = 'toto' where foo = 43 and id = 5; | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
update tblB set monkey = 'pippi' where bar = 43 and id = 16; | ||
# Time: 2023-08-01T12:00:01.852861Z | ||
# User@Host: user[user] @ [XXX.XXX.XXX.XXX] Id: 779060 | ||
# Query_time: 0.000043 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0 | ||
SET timestamp=1690891201; | ||
commit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"Queries": [ | ||
"update tblA set apa = 'toto' where foo = :1 and id = :2", | ||
"update tblB set monkey = 'pippi' where bar = :1 and id = :3" | ||
], | ||
"Count": 0, | ||
"Predicates": [ | ||
"tblA.foo = :1", | ||
"tblA.id = :2", | ||
"tblB.bar = :1", | ||
"tblB.id = :3" | ||
] | ||
}, | ||
{ | ||
"Queries": [ | ||
"update tblA set apa = 'toto' where foo = :1 and id = :2", | ||
"update tblB set monkey = 'pippi' where bar = :1 and id = :3" | ||
], | ||
"Count": 0, | ||
"Predicates": [ | ||
"tblA.foo = :1", | ||
"tblA.id = :2", | ||
"tblB.bar = :1", | ||
"tblB.id = :3" | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.