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

Ps 5.7 4979 #2668

Merged
merged 2 commits into from
Nov 12, 2018
Merged

Ps 5.7 4979 #2668

merged 2 commits into from
Nov 12, 2018

Conversation

george-lorch
Copy link
Contributor

No description provided.

George O. Lorch III added 2 commits November 8, 2018 14:07
…d lead to a crash

- There seems to be cases where the server doesn't detect an invalid table name
  and somehow ends up passing in an empty table name during the create call. The
  engine expects a table name in the form of a relative path like
  "./databasename/tablename".  InnoDB detects this in parsing the table name
  during the creation and returns an error.  TokuDB does not.

- This commit adds an up-front parsing of the database and table names during
  creation and fails in the same way that InnoDB does if anything empty or
  unexpected is discovered.  Also added a new simple test that illustrates the
  detection of the empty table name and error.
@george-lorch
Copy link
Contributor Author

No jenkins yet because jenkins is still down, passes 100% of local tokudb mtr.

@george-lorch george-lorch merged commit be0f7a1 into percona:5.7 Nov 12, 2018
@george-lorch george-lorch deleted the ps-5.7-4979 branch November 12, 2018 19:46
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