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(stmtlogger): lets gemini work with empty 'test-statement-log-file' option #416

Merged

Conversation

illia-li
Copy link
Contributor

Empty 'test-statement-log-file' option brings to panic.
Reason:

func NewFileLogger(filename string) (StmtToFile, error) {
	if filename == "" {
		return nil, nil
...
func (fl *fileLogger) LogStmt(stmt *typedef.Stmt) {
	ch := fl.activeChannel.Load()
...

@dkropachev dkropachev merged commit 916bff7 into scylladb:master Dec 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants