Menu

#3383 (ok 3.4.5) Comment on a column breaks inline editing

3.4.3
fixed
Interface (555)
1
2013-06-11
2011-07-22
No

Firefox 5.0

1) execute SQL
---------------------------
create database `test`;
use `test`;
CREATE TABLE `test` (
`a` int(1) COMMENT 'comment',
`b` int(1)
);
insert into `test` values (1, 2);
---------------------------

2) browse table `test`. Click on inline edit button for the row.
3) Change the value "1" to "3"
4) Click 'save' button, get error:

--------------------------------
UPDATE `test` SET `a comment` = '12' WHERE `test`.`a` =1 AND `test`.`b` =2 LIMIT 1

MySQL said: Documentation
#1054 - Unknown column 'a
comment' in 'field list'
------------------------------------

Discussion

  • Rouslan Placella

    • assigned_to: nobody --> roccivic
     
  • Rouslan Placella

    • assigned_to: roccivic --> nobody
     
  • Michal Čihař

    Michal Čihař - 2011-08-02

    Fixed by patch mentioned below.

     
  • Michal Čihař

    Michal Čihař - 2011-08-02
    • priority: 5 --> 1
    • assigned_to: nobody --> roccivic
    • summary: Comment on a column breaks inline editing --> (ok 3.4.5) Comment on a column breaks inline editing
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2011-09-14
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed