#350 (in 2.5.3) Option to disable all SQL formatting

fixed
Parsing (9)
1
2013-06-11
2003-07-10
No

Currently, phpMyAdmin parses and rewrites every single
SQL query before executing it: Keywords are converted
to upper-case, whitespace and line-breaks are inserted.
This even happens when $cfg['SQP']['fmtType'] is set
to 'none'.

SQL formatting and pretty-printing might be nice
features for SQL newbies. But I know what I'm doing.
And I know better than phpMyAdmin how I want to write
my SQL, where I want to insert line-breaks, etc.

I'd really like to have an option in config.inc.php that
lets me disable *all* SQL formatting and pretty-printing.

Discussion

  • Garvin Hicking

    Garvin Hicking - 2003-07-23
    • assigned_to: nobody --> garvinhicking
     
  • Garvin Hicking

    Garvin Hicking - 2003-07-28

    Logged In: YES
    user_id=473563

    I have commited a patch to CVS which now uses exactly your
    query as you have submitted it - including linebreaks,
    whitespaces and so forth. Only when $cfg['SQP']['fmtType']
    is set to 'none'...

    Please have a try!

    Regards,
    Garvin.

     
  • Garvin Hicking

    Garvin Hicking - 2003-07-28
    • priority: 5 --> 1
    • status: open --> open-fixed
     
  • Garvin Hicking

    Garvin Hicking - 2003-07-29
    • summary: Option to disable all SQL formatting --> (in 2.5.3) Option to disable all SQL formatting
     
  • Michal Čihař

    Michal Čihař - 2003-09-09
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

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