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 a bug that caused the script not to use GRANT ALL PRIVILEGES even
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>
* lang/italian-*.inc.php3: Updates, thanks again to Pietro Danesi (danone).

View File

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