{"id":27637871,"url":"https://github.com/peiyuanix/bugreproducer","last_synced_at":"2026-04-25T21:34:06.570Z","repository":{"id":104649855,"uuid":"423464402","full_name":"peiyuanix/BugReproducer","owner":"peiyuanix","description":"A SQL executor for repeating DBMS bugs","archived":false,"fork":false,"pushed_at":"2023-04-14T02:17:35.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T21:38:37.623Z","etag":null,"topics":["database"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peiyuanix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-01T12:54:52.000Z","updated_at":"2023-05-10T02:52:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe1dc993-f95f-4819-9ac0-0dd1428ecca8","html_url":"https://github.com/peiyuanix/BugReproducer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/peiyuanix/BugReproducer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peiyuanix%2FBugReproducer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peiyuanix%2FBugReproducer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peiyuanix%2FBugReproducer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peiyuanix%2FBugReproducer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peiyuanix","download_url":"https://codeload.github.com/peiyuanix/BugReproducer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peiyuanix%2FBugReproducer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database"],"created_at":"2025-04-23T21:33:05.540Z","updated_at":"2026-04-25T21:34:06.565Z","avatar_url":"https://github.com/peiyuanix.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BugReproducer\n\n## Build \u0026 Package\n```\nmvn assembly:assembly\n```\n\nThen you can get jar file from maven output directory.\nThere are two jar files, one is packaged without dependcies, the other with.\n\n## Usage\njava -jar BugReproducer.jar ${CONFIG_PATH}\n\n## Config\nA config is a description of the bug reproduction process.  \n\nHere is an example.\n\n```yml\ndriver: \"com.mysql.cj.jdbc.Driver\"\ninitUrl: \"jdbc:mysql://127.0.0.1:3306?serverTimezone=UTC\u0026useServerPrepStmts=true\u0026cachePrepStmts=true\"\nconnUrl: \"jdbc:mysql://127.0.0.1:3306/reproduceDB?serverTimezone=UTC\u0026useServerPrepStmts=true\u0026cachePrepStmts=true\"\nuser: \"root\"\npassword: \"root\"\ncreate: true\nload: true\ncreateDatabaseList:\n  - \"drop database if exists reproduceDB;\"\n  - \"create database reproduceDB;\"\ncreateTableList:\n  - \"create table table_7_2(a int primary key, b int, c double);\"\nloadList:\n  - \"insert into table_7_2 values(676, 5012153, 2240641.4);\"\noperationList:\n  - trxId: \"739\"\n    sql: \"update table_7_2 set b=-5012153, c=2240641.4 where a=676;\"\n  - trxId: \"723\"\n    sql: \"update table_7_2 set b=852150 where a=676;\"\n  - trxId: \"739\"\n    sql: \"commit;\"\n  - trxId: \"1000\"\n    sql: \"select * from table_7_2;\"\n  - trxId: \"1000\"\n    sql: \"commit;\"\n```\n\nComments:  \n`driver`: JDBC driver name\n\n`initURL`: A JDBC_URL **without** database name for (re)creating test database  \n\n`connURL`: A JDBC_URL **with** database name for creating test tables, loading test data, executing test operations  \n\n`user`: Username  \n\n`password`: Password  \n\n`create`: Whether to execute `createDatabaseList` and `createTableList`  \n\n`load`: Whether to execute `loadList`  \n\n`createDatabaseList`: SQL list for creating test database  \n\n`createTableList`: SQL list for creating test tables\n\n`loadList`: SQL list for loading test data  \n\n`operationList`: A sequence of sqls used to test the database. The `trxId` is transaction ID, and the `sql` is just a excutable SQL  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeiyuanix%2Fbugreproducer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeiyuanix%2Fbugreproducer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeiyuanix%2Fbugreproducer/lists"}