We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The SQL preview contains Array
Array
POST /table/indexes
/table/indexes
db: 2fa table: aes old_index[Key_name]: un1 old_index[Index_comment]: old_index[Index_choice]: UNIQUE old_index[Key_block_size]: old_index[Parser]: 1 old_index[Index_type]: BTREE old_index[columns][0][col_index]: 0 old_index[columns][0][size]: token: 3d63767e5c37734a2f4e5d3142397025 index[Key_name]: un1 index[Key_block_size]: index[Index_type]: BTREE index[Parser]: 1 index[Index_comment]: index[columns][names][]: 0 index[columns][sub_parts][]: do_save_data: 1 preview_sql: 1 ajax_request: 1 _nocache: 1615504977578138470 token: 3d63767e5c37734a2f4e5d3142397025
Table::getSqlQueryForIndexCreateOrEdit thinks that it is not an array.
-- Array is incorrect ALTER TABLE `2fa`.`aes` DROP INDEX Array, ADD UNIQUE `un1` (`0`) USING BTREE;
Contain a plausible index name
The text was updated successfully, but these errors were encountered:
Are you working on this? I can work on it otherwise but I'm not sure about the steps to reproduce it.
Sorry, something went wrong.
No, you can reproduce this by trying to add a new column, then choose an index type like UNIQUE and then just follow my screenshot and sql preview
Working on it! Thanks.
Add tests for #16728
970d286
Signed-off-by: William Desportes <williamdes@wdes.fr>
Merge #16737 - Fix #16728 - Wrong SQL query built on table structure …
52b872f
…index for new column Pull-request: #16737 Fixes: #16728 Signed-off-by: William Desportes <williamdes@wdes.fr>
Add a ChangeLog entry for #16728
8f60cf9
b8540bd
williamdes
Successfully merging a pull request may close this issue.
Describe the bug
The SQL preview contains
ArrayTo Reproduce
POST
/table/indexesTable::getSqlQueryForIndexCreateOrEdit thinks that it is not an array.
Expected behavior
Contain a plausible index name
Server configuration
The text was updated successfully, but these errors were encountered: