Skip to content

Commit

Permalink
correcting not using IF NOT EXISTS for old server compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Apr 30, 2018
1 parent fa50ebf commit 68a8264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test-ssl.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe("ssl", function() {
: ""));
shareConn.query("DROP USER 'X509testUser'@'%'", err => {});
shareConn.query(
"CREATE USER IF NOT EXISTS 'X509testUser'@'%'" +
"CREATE USER 'X509testUser'@'%'" +
((shareConn.isMariaDB() && shareConn.hasMinVersion(10, 2, 0)) ||
(!shareConn.isMariaDB() && shareConn.hasMinVersion(5, 7, 0))
? " REQUIRE X509"
Expand Down

0 comments on commit 68a8264

Please sign in to comment.