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
setting "null" keep an "enum" value #14982
Comments
|
Reproduced on demo servers (root, no password) Tests data-- Create table
CREATE TABLE `test_enum_null` (
`a` enum('a','b') COLLATE utf8mb4_general_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- Add data
INSERT INTO `test_enum_null` (`a`) VALUES
(NULL),
('a');Copy |
|
@williamdes What do you mean by copy record? |
|
In Pma you can edit a record, or "copy", which is a very useful function: you keep data of another record and change what you want. E.g. I copy a record with the author and title of work, and change only the page and the quotation's content. |
|
@DoctorSubtilis Ok I got it, thanks. Let me try |
|
@DoctorSubtilis There is something I would like to add, bug is also in insert screen, initially as default val is |
|
@williamdes @DoctorSubtilis After spending few hours on this, I was able to successfully solve the issue. Kindly check |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In my database (mariadb) I have a enum field with "yes" or "not" ("si" o "no").
If I do un insert new record, there is no problem, not setting that filed (remain NULL);
but if I copy from an existing record, I cannot set to NULL that field: if it is yes is remain yes, even I check the NULL checkpox.
I tried with Falkon, Firefox and Chrome: always the same.
I think this is a bug: isn't it?
Thank you
The text was updated successfully, but these errors were encountered: