fix: Update test to ensure no panic on MySQL connection error#23
Conversation
trheyi
commented
Apr 6, 2026
- Modified the TestBuilderNewGrammarFail to assert that no panic occurs when attempting to open a MySQL connection with a closed database.
- Ensured that the OnConnected method in MySQL grammar remains unchanged, maintaining the existing SQL mode settings.
- Modified the TestBuilderNewGrammarFail to assert that no panic occurs when attempting to open a MySQL connection with a closed database. - Ensured that the OnConnected method in MySQL grammar remains unchanged, maintaining the existing SQL mode settings.
|
Thank you for the PR! The test workflow ( GO:1.24 DB:MySQL5.7 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:SQLite3 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:MySQL8.0 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:Postgres9.6 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:Postgres14.0 is running, the results of the run will be commented later. |
|
✨DONE✨ GO:1.24 DB:SQLite3 passed. |
|
✨DONE✨ GO:1.24 DB:MySQL5.7 passed. |
|
✨DONE✨ GO:1.24 DB:Postgres14.0 passed. |
|
✨DONE✨ GO:1.24 DB:MySQL8.0 passed. |
|
✨DONE✨ GO:1.24 DB:Postgres9.6 passed. |