[Phpmyadmin-devel] Documentation

Robin Johnson robbat2 at fermi.orbis-terrarum.net
Fri Jul 26 10:30:04 CEST 2002


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

-- 
Robin Hugh Johnson
E-Mail     : robbat2 at orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639





More information about the Developers mailing list