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 db 1007 #794

Closed
wants to merge 2 commits into from
Closed

Conversation

george-lorch
Copy link
Contributor

No description provided.

George O. Lorch III added 2 commits August 8, 2016 12:52
- Created new include file that will indicate if TokuDB _should_ be present.
- Altered test to use TokuDB along with other engines if TokuDB should be presentwith consideration to run successfully if there is no TokuDB.
Conflicts:
	mysql-test/r/percona_show_temp_tables_stress.result
	mysql-test/t/percona_show_temp_tables_stress.test
@george-lorch
Copy link
Contributor Author

inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 23, 2020
Summary:
There are two issues related to autoincrement that can lead to crashes:

1. The max value for double/float type for autoincrement was not implemented in MyRocks, and can lead to assertions. The fix is to add them in.
2. If we try to set auto_increment via alter table on a table without an auto_increment column defined, we segfault because there is no index from which to read the last value. The fix is to perform a check to see if autoincrement exists before reading from index (similar to code ha_rocksdb::open).

Fixes facebook/mysql-5.6#792
Closes facebook/mysql-5.6#794

Differential Revision: D6995096

Pulled By: lth

fbshipit-source-id: 9ad40723372
inikep pushed a commit to inikep/percona-server that referenced this pull request Feb 24, 2021
Summary:
There are two issues related to autoincrement that can lead to crashes:

1. The max value for double/float type for autoincrement was not implemented in MyRocks, and can lead to assertions. The fix is to add them in.
2. If we try to set auto_increment via alter table on a table without an auto_increment column defined, we segfault because there is no index from which to read the last value. The fix is to perform a check to see if autoincrement exists before reading from index (similar to code ha_rocksdb::open).

Fixes facebook/mysql-5.6#792
Closes facebook/mysql-5.6#794

Differential Revision: D6995096

Pulled By: lth

fbshipit-source-id: 9ad40723372
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 15, 2021
Summary:
There are two issues related to autoincrement that can lead to crashes:

1. The max value for double/float type for autoincrement was not implemented in MyRocks, and can lead to assertions. The fix is to add them in.
2. If we try to set auto_increment via alter table on a table without an auto_increment column defined, we segfault because there is no index from which to read the last value. The fix is to perform a check to see if autoincrement exists before reading from index (similar to code ha_rocksdb::open).

Fixes facebook/mysql-5.6#792
Closes facebook/mysql-5.6#794

Differential Revision: D6995096 (facebook/mysql-5.6@997a979)

Pulled By: lth

fbshipit-source-id: b3c281239c8
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
Summary:
There are two issues related to autoincrement that can lead to crashes:

1. The max value for double/float type for autoincrement was not implemented in MyRocks, and can lead to assertions. The fix is to add them in.
2. If we try to set auto_increment via alter table on a table without an auto_increment column defined, we segfault because there is no index from which to read the last value. The fix is to perform a check to see if autoincrement exists before reading from index (similar to code ha_rocksdb::open).

Fixes facebook/mysql-5.6#792
Closes facebook/mysql-5.6#794

Differential Revision: D6995096

Pulled By: lth
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 9, 2024
Summary:
There are two issues related to autoincrement that can lead to crashes:

1. The max value for double/float type for autoincrement was not implemented in MyRocks, and can lead to assertions. The fix is to add them in.
2. If we try to set auto_increment via alter table on a table without an auto_increment column defined, we segfault because there is no index from which to read the last value. The fix is to perform a check to see if autoincrement exists before reading from index (similar to code ha_rocksdb::open).

Fixes facebook/mysql-5.6#792
Closes facebook/mysql-5.6#794

Differential Revision: D6995096

Pulled By: lth
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.

1 participant