jonataspc
(Jonatas Cruz)
March 18, 2021, 2:43pm
1
I would like to suggest improving the rule S2077 by adding the tests for “MySqlSqlCommand” and “MySqlDataAdapter”:
Currently there are tests for several connector, but MySQL is missing:
following specific method signatures are tested:
System.Data.SqlClient.SqlCommand.SqlCommand(string, ...)
System.Data.SqlClient.SqlDataAdapter.SqlDataAdapter(string, ...)
System.Data.Odbc.OdbcCommand.OdbcCommand(string, ...)
[...]
Thanks.
Joe
(Joe)
March 18, 2021, 2:50pm
2
Hi @jonataspc ,
Welcome to SonarSource Community!
MySQL support ended with SonarQube 7.9: End of Life of MySQL Support
Joe
jonataspc
(Jonatas Cruz)
March 18, 2021, 3:00pm
3
Hello Joe,
My suggestion is not related to the use of MySql as the database server for SonarQube.
It is just a suggestion to modify and improve the rule S2077 so it can test/cover MySql connector libraries.
1 Like
Joe
(Joe)
March 18, 2021, 3:25pm
4
Thanks, @jonataspc , for the clarification.