3 // vim: expandtab sw=4 ts=4 sts=4:
6 /** SQL Parser Matching Data
8 * Copyright 2002 Robin Johnson <robbat2@users.sourceforge.net>
9 * http://www.orbis-terrarum.net/?l=people.robbat2
11 * This data is used by the SQL Parser to recognize keywords
13 * It has been extracted from the lex.h file in the MySQL BK tree
14 * (around 4.0.2) as well as the MySQL documentation.
17 $PMA_SQPdata_function_name = array (
198 //$PMA_SQPdata_function_name_cnt = count($PMA_SQPdata_function_name);
199 $PMA_SQPdata_function_name_cnt = 178;
201 $PMA_SQPdata_column_attrib = array (
223 //$PMA_SQPdata_column_attrib_cnt = count($PMA_SQPdata_column_attrib);
224 $PMA_SQPdata_column_attrib_cnt = 20;
226 $PMA_SQPdata_reserved_word = array (
315 'GEMINI_SPIN_RETRIES',
360 'MASTER_CONNECT_RETRY',
368 'MAX_CONNECTIONS_PER_HOUR',
369 'MAX_QUERIES_PER_HOUR',
371 'MAX_UPDATES_PER_HOUR',
384 // 'NO' is not allowed in SQL-99 but is allowed in MySQL
449 'SQL_CALC_FOUND_ROWS',
453 'SQL_LOW_PRIORITY_UPDATES',
456 'SQL_QUOTE_SHOW_CREATE',
459 'SQL_SLAVE_SKIP_COUNTER',
500 //$PMA_SQPdata_reserved_word_cnt = count($PMA_SQPdata_reserved_word);
501 $PMA_SQPdata_reserved_word_cnt = 270;
503 // words forbidden to be used as column or table name,
504 // as seen in http://dev.mysql.com/doc/mysql/en/reserved-words.html
505 $PMA_SQPdata_forbidden_word = array (
626 'MINUTE_MICROSECOND',
632 'NO_WRITE_TO_BINLOG',
665 'SECOND_MICROSECOND',
680 'SQL_CALC_FOUND_ROWS',
721 // echo count($PMA_SQPdata_forbidden_word);
722 $PMA_SQPdata_forbidden_word_cnt = 214;
724 $PMA_SQPdata_column_type = array (
770 //$PMA_SQPdata_column_type_cnt = count($PMA_SQPdata_column_type);
771 $PMA_SQPdata_column_type_cnt = 44;