Menu

#716 "Truncated incorrect DOUBLE value" with integer and + symbol

4.7.3
closed-wont-fix
nobody
None
5
2019-11-11
2019-09-30
Jacques M
No

Hey,
I entered a number followed by "+" by mistake (keypad before pressing enter) as a SELECT filter, in a int field.
The "select" worked like there was no =, maybe it considered it as "number+0"
Anyway, I didn't notice, but when I wanted to edit a field and validate, the WHERE condition in the update used the + and then shouted "Truncated incorrect DOUBLE value".
If think the filed needs to be cleaned if one stupid user (me ;)) enters "12345+" as an int.

see the attached picture

running adminer 4.7.3 on standard debian Buster with mariadb

1 Attachments

Discussion

  • Jacques M

    Jacques M - 2019-09-30

    on the picture : you see the selection criteria with a +
    on the bottom right, the field Im' trying to edit. When I validate, it shouts the error msg.
    The generated UPDATE request contains :
    WHERE id_coureur = '179194+'
    where id_coureur is a int(11)

     
  • Jakub Vrána

    Jakub Vrána - 2019-11-11
    • status: open --> closed-wont-fix
     
  • Jakub Vrána

    Jakub Vrána - 2019-11-11

    The error message says exactly what you need to know - that you entered a wrong value.

     

Log in to post a comment.

MongoDB Logo MongoDB