fixed bug #655817 & updated function list

This commit is contained in:
Alexander M. Turek
2002-12-25 21:32:02 +00:00
parent 16d8f0c70f
commit 6cb5715b36
2 changed files with 36 additions and 10 deletions

View File

@@ -11,6 +11,9 @@ $Source$
- Fixed the missing "LOCK TABLES" option in the privilege editor. - Fixed the missing "LOCK TABLES" option in the privilege editor.
- Fixed a bug that caused the script not to use GRANT ALL PRIVILEGES even - Fixed a bug that caused the script not to use GRANT ALL PRIVILEGES even
if all privileges have been selected. if all privileges have been selected.
* libraries/sqlparser.data.php3:
- Fixed bug #655817 (New privileges are not detected correctly).
- Updated function list.
2002-12-23 Alexander M. Turek <rabus@users.sourceforge.net> 2002-12-23 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/italian-*.inc.php3: Updates, thanks again to Pietro Danesi (danone). * lang/italian-*.inc.php3: Updates, thanks again to Pietro Danesi (danone).

View File

@@ -21,6 +21,8 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'ABS', 'ABS',
'ACOS', 'ACOS',
'ADDDATE', 'ADDDATE',
'AES_ENCRYPT',
'AES_DECRYPT',
'ASCII', 'ASCII',
'ASIN', 'ASIN',
'ATAN', 'ATAN',
@@ -30,22 +32,27 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'BIN', 'BIN',
'BIT_AND', 'BIT_AND',
'BIT_COUNT', 'BIT_COUNT',
'BIT_LENGTH',
'BIT_OR', 'BIT_OR',
'CEILING', 'CAST',
'CHARACTER_LENGTH',
'CHAR_LENGTH', 'CHAR_LENGTH',
'CHARACTER_LENGTH',
'CEIL',
'CEILING',
'COALESCE', 'COALESCE',
'CONCAT', 'CONCAT',
'CONCAT_WS', 'CONCAT_WS',
'CONNECTION_ID', 'CONNECTION_ID',
'CONV', 'CONV',
'CONVERT',
'COUNT',
'COS', 'COS',
'COT', 'COT',
'COUNT',
'CURDATE', 'CURDATE',
'CURRENT_DATE', 'CURRENT_DATE',
'CURRENT_TIME', 'CURRENT_TIME',
'CURRENT_TIMESTAMP', 'CURRENT_TIMESTAMP',
'CURRENT_USER',
'CURTIME', 'CURTIME',
'DATABASE', 'DATABASE',
'DATE_ADD', 'DATE_ADD',
@@ -57,16 +64,19 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'DAYOFYEAR', 'DAYOFYEAR',
'DECODE', 'DECODE',
'DEGREES', 'DEGREES',
'DES_ENCRYPT',
'DES_DECRYPT',
'ELT', 'ELT',
'ENCODE', 'ENCODE',
'ENCRYPT', 'ENCRYPT',
'EXTRACT',
'EXP', 'EXP',
'EXPORT_SET', 'EXPORT_SET',
'EXTRACT',
'FIELD', 'FIELD',
'FIND_IN_SET', 'FIND_IN_SET',
'FLOOR', 'FLOOR',
'FORMAT', 'FORMAT',
'FOUND_ROWS',
'FROM_DAYS', 'FROM_DAYS',
'FROM_UNIXTIME', 'FROM_UNIXTIME',
'GET_LOCK', 'GET_LOCK',
@@ -74,25 +84,28 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'GROUP_UNIQUE_USERS', 'GROUP_UNIQUE_USERS',
'HEX', 'HEX',
'IFNULL', 'IFNULL',
'INTERVAL',
'INET_ATON', 'INET_ATON',
'INET_NTOA', 'INET_NTOA',
'INSTR', 'INSTR',
'INTERVAL',
'ISNULL', 'ISNULL',
'IS_FREE_LOCK',
'LAST_INSERT_ID', 'LAST_INSERT_ID',
'LCASE', 'LCASE',
'LEAST', 'LEAST',
'LEFT', 'LEFT',
'LENGTH', 'LENGTH',
'LN',
'LOAD_FILE', 'LOAD_FILE',
'LOCATE', 'LOCATE',
'LOG', 'LOG',
'LOG2',
'LOG10', 'LOG10',
'LOWER', 'LOWER',
'LPAD', 'LPAD',
'LTRIM', 'LTRIM',
'MAKE_SET',
'MASTER_POS_WAIT', 'MASTER_POS_WAIT',
'MAKE_SET',
'MAX', 'MAX',
'MD5', 'MD5',
'MID', 'MID',
@@ -101,8 +114,8 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'MONTHNAME', 'MONTHNAME',
'NOW', 'NOW',
'NULLIF', 'NULLIF',
'OCT',
'OCTET_LENGTH', 'OCTET_LENGTH',
'OCT',
'ORD', 'ORD',
'PASSWORD', 'PASSWORD',
'PERIOD_ADD', 'PERIOD_ADD',
@@ -112,6 +125,7 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'POW', 'POW',
'POWER', 'POWER',
'QUARTER', 'QUARTER',
'QUOTE',
'RADIANS', 'RADIANS',
'RAND', 'RAND',
'RELEASE_LOCK', 'RELEASE_LOCK',
@@ -123,8 +137,11 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'RTRIM', 'RTRIM',
'SEC_TO_TIME', 'SEC_TO_TIME',
'SESSION_USER', 'SESSION_USER',
'SUBDATE',
'SIGN', 'SIGN',
'SIN', 'SIN',
'SHA',
'SHA1',
'SOUNDEX', 'SOUNDEX',
'SPACE', 'SPACE',
'SQRT', 'SQRT',
@@ -140,7 +157,6 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'TAN', 'TAN',
'TIME_FORMAT', 'TIME_FORMAT',
'TIME_TO_SEC', 'TIME_TO_SEC',
'TO_DATE',
'TO_DAYS', 'TO_DAYS',
'TRIM', 'TRIM',
'UCASE', 'UCASE',
@@ -154,7 +170,7 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'YEARWEEK' 'YEARWEEK'
); );
//$PMA_SQPdata_function_name_cnt = count($PMA_SQPdata_function_name); //$PMA_SQPdata_function_name_cnt = count($PMA_SQPdata_function_name);
$PMA_SQPdata_function_name_cnt = 134; $PMA_SQPdata_function_name_cnt = 150;
$PMA_SQPdata_column_attrib = array ( $PMA_SQPdata_column_attrib = array (
'AUTO_INCREMENT', 'AUTO_INCREMENT',
@@ -202,6 +218,7 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'CHANGED', 'CHANGED',
'CHECK', 'CHECK',
'CHECKSUM', 'CHECKSUM',
'CLIENT',
'COLUMN', 'COLUMN',
'COLUMNS', 'COLUMNS',
'COMMENT', 'COMMENT',
@@ -235,6 +252,7 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'END', 'END',
'ESCAPE', 'ESCAPE',
'ESCAPED', 'ESCAPED',
'EXECUTE',
'EXISTS', 'EXISTS',
'EXPLAIN', 'EXPLAIN',
'EXTENDED', 'EXTENDED',
@@ -304,7 +322,10 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'MASTER_PORT', 'MASTER_PORT',
'MASTER_USER', 'MASTER_USER',
'MATCH', 'MATCH',
'MAX_CONNECTIONS_PER_HOUR',
'MAX_QUERIES_PER_HOUR',
'MAX_ROWS', 'MAX_ROWS',
'MAX_UPDATES_PER_HOUR',
'MEDIUM', 'MEDIUM',
'MERGE', 'MERGE',
'MIN_ROWS', 'MIN_ROWS',
@@ -350,6 +371,7 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'REPAIR', 'REPAIR',
'REPEATABLE', 'REPEATABLE',
'REPLACE', 'REPLACE',
'REPLICATION',
'RESET', 'RESET',
'RESTORE', 'RESTORE',
'RESTRICT', 'RESTRICT',
@@ -393,6 +415,7 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'STRAIGHT_JOIN', 'STRAIGHT_JOIN',
'STRING', 'STRING',
'STRIPED', 'STRIPED',
'SUPER',
'TABLE', 'TABLE',
'TABLES', 'TABLES',
'TEMPORARY', 'TEMPORARY',
@@ -421,7 +444,7 @@ if (!defined('PMA_SQP_DATA_INCLUDED')) {
'YEAR_MONTH' 'YEAR_MONTH'
); );
//$PMA_SQPdata_reserved_word_cnt = count($PMA_SQPdata_reserved_word); //$PMA_SQPdata_reserved_word_cnt = count($PMA_SQPdata_reserved_word);
$PMA_SQPdata_reserved_word_cnt = 241; $PMA_SQPdata_reserved_word_cnt = 249;
$PMA_SQPdata_column_type = array ( $PMA_SQPdata_column_type = array (
'BIGINT', 'BIGINT',