Menu

#488 (ok 3.2.5) Missing backquotes on reserved words

closed-accepted
Parsing (8)
1
2010-01-10
2009-12-21
Virsacer
No

PMA_backquote should always check if name is a forbidden word before skipping.

CREATE TABLE `time` (
test int(10) NOT NULL
) ENGINE=MyISAM;
INSERT INTO `time` VALUES(1);

Exporting with $cfg['Export']['sql_backquotes'] = FALSE; should return a working INSERT / UPDATE / REPLACE statement...

Discussion

  • Virsacer

    Virsacer - 2009-12-21
     
  • Marc Delisle

    Marc Delisle - 2009-12-22
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2009-12-22

    Merged in subversion, thanks.

     
  • Marc Delisle

    Marc Delisle - 2009-12-22
    • priority: 5 --> 1
    • summary: Always add backquotes to forbidden words --> (ok 3.2.5) Missing backquotes on reserved words
    • status: open --> open-accepted
     
  • Marc Delisle

    Marc Delisle - 2010-01-10
    • status: open-accepted --> closed-accepted
     
MongoDB Logo MongoDB