Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix existant typo #2175

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (s *Server) WarnIfLoadFileInsecure() {
if v == "" {
logrus.Warn("secure_file_priv is set to \"\", which is insecure.")
logrus.Warn("Any user with GRANT FILE privileges will be able to read any file which the sql-server process can read.")
logrus.Warn("Please consider restarting the server with secure_file_priv set to a safe (or non-existant) directory.")
logrus.Warn("Please consider restarting the server with secure_file_priv set to a safe (or non-existent) directory.")
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions sql/rowexec/set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func TestPersistedSessionSetIterator(t *testing.T) {
{"persist var", "max_connections", 10, sql.SystemVariableScope_Persist, nil, int64(10), int64(10)},
{"persist only", "max_connections", 10, sql.SystemVariableScope_PersistOnly, nil, int64(151), int64(10)},
{"no persist", "auto_increment_increment", 3300, sql.SystemVariableScope_Global, nil, int64(3300), nil},
{"persist unknown variable", "nonexistant", 10, sql.SystemVariableScope_Persist, sql.ErrUnknownSystemVariable, nil, nil},
{"persist only unknown variable", "nonexistant", 10, sql.SystemVariableScope_PersistOnly, sql.ErrUnknownSystemVariable, nil, nil},
{"persist unknown variable", "nonexistent", 10, sql.SystemVariableScope_Persist, sql.ErrUnknownSystemVariable, nil, nil},
{"persist only unknown variable", "nonexistent", 10, sql.SystemVariableScope_PersistOnly, sql.ErrUnknownSystemVariable, nil, nil},
}

for _, test := range setTests {
Expand Down