jdorn/sql-formatter — pull request #47 by adityagoyal (2013-06-29 19:20:42+00:00)
Title: added reserved keywords. Also added a method to remove newline after removing comments using removeComments method.

added (

'SQL_SMALL_RESULT' ,
'GEMINI','GEMINI_SPIN_RETRIES','MASTER_LOG_POS','MASTER_PASSWORD','MASTER_PORT','MASTER_USER','MATCH',

,'MAX_CONNECTIONS_PER_HOUR','MAX_QUERIES_PER_HOUR','MAX_ROWS','MAX_UPDATES_PER_HOUR','MAX_USER_CONNECTIONS','RAIDO','RAID_CHUNKS','RAID_CHUNKSIZE','RAID_TYPE', 'SQL_AUTO_IS_NULL',
'SQL_BIG_RESULT',
'SQL_BIG_SELECTS',
'SQL_BIG_TABLES',
'SQL_BUFFER_RESULT',

'SQL_CALC_FOUND_ROWS',
'SQL_LOG_BIN',
'SQL_LOG_OFF',
'SQL_LOG_UPDATE',
'SQL_LOW_PRIORITY_UPDATES',
'SQL_MAX_JOIN_SIZE',

'SQL_QUOTE_SHOW_CREATE',
'SQL_SAFE_UPDATES',
'SQL_SELECT_LIMIT',
'SQL_SLAVE_SKIP_COUNTER',
'SQL_SMALL_RESULT',
'SQL_W
'STRIPED','TRUE'
'XOR')