Skip to content

Commit

Permalink
fix update string syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Kretchen001 committed Apr 3, 2024
1 parent 307b394 commit d944ce3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public IActionResult UpdateCveDatabase() {
string insertIntoString = "INSERT INTO cve(cve_number, designation, version_affected, full_text) " +
"VALUES(@cve, @des, @ver, @ful) " +
"ON DUPLICATE KEY UPDATE " +
"version_affected = @ver" +
"version_affected = @ver, " +
"full_text = @ful;" ;
MySqlCommand cmdInsert = new MySqlCommand(insertIntoString, connection);

Expand Down

0 comments on commit d944ce3

Please sign in to comment.