i just deleted some docu that was still referring to my old parser, and moved the part about $cfg['PmaNoRelation_DisableWarning'] up where this variable is in config.inc. what i am still missing there is $cfg['PmaAbsoluteUri_DisableWarning']
Robin: how can users change the way your parser work (apart from the color)? specifically i'd like to make him not add newlines in front of the ON in a LEFT JOIN statement as i am usually working on rather big screens
On Fri, 26 Jul 2002, [utf-7] Beck, Mike wrote:
Robin: how can users change the way your parser work (apart from the color)? specifically i'd like to make him not add newlines in front of the ON in a LEFT JOIN statement as i am usually working on rather big screens
I've fixed that in the CVS tree now, tweaking the system. However, in the code there are a few variables that the user might be interested in: $keywords_with_brackets_1before $keywords_with_brackets_2before $keywords_no_newline Those are all in sqlparser.lib.php3, and have corresponding $..._cnt variables listing their length (static numbers, do NOT using count() for speed reasons).
You may find using my test harness useful to see current behavior: http://robbat2.matchbox.research.techbc.ca/sqlparse.php