From 507bc0ceabebe18fd57b2e67245f39259e309d3a Mon Sep 17 00:00:00 2001 From: Nicolas Giraud Date: Mon, 26 Aug 2024 12:46:05 +0200 Subject: [PATCH] Ignore deprecated function "PROCEDURE ANALYSE" because already parsed correctly in the new way. --- src/Contexts/ContextMariaDb100200.php | 1 - src/Contexts/ContextMariaDb100300.php | 1 - src/Contexts/ContextMySql50000.php | 1 - src/Contexts/ContextMySql50100.php | 1 - src/Contexts/ContextMySql50500.php | 1 - src/Contexts/ContextMySql50600.php | 1 - src/Contexts/ContextMySql50700.php | 1 - tools/contexts/_functionsMariaDb100200.txt | 1 - tools/contexts/_functionsMariaDb100300.txt | 1 - tools/contexts/_functionsMySql50000.txt | 1 - tools/contexts/_functionsMySql50100.txt | 1 - tools/contexts/_functionsMySql50500.txt | 1 - tools/contexts/_functionsMySql50600.txt | 1 - tools/contexts/_functionsMySql50700.txt | 1 - 14 files changed, 14 deletions(-) diff --git a/src/Contexts/ContextMariaDb100200.php b/src/Contexts/ContextMariaDb100200.php index 7d49bfb5..7a7b3796 100644 --- a/src/Contexts/ContextMariaDb100200.php +++ b/src/Contexts/ContextMariaDb100200.php @@ -1076,7 +1076,6 @@ class ContextMariaDb100200 extends Context 'UTC_TIMESTAMP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'VALUES' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'NOT IN' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, - 'PROCEDURE ANALYSE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, 'DATE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'GEOMETRYCOLLECTION' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'LINESTRING' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, diff --git a/src/Contexts/ContextMariaDb100300.php b/src/Contexts/ContextMariaDb100300.php index 93ced6a2..7fcbcbe3 100644 --- a/src/Contexts/ContextMariaDb100300.php +++ b/src/Contexts/ContextMariaDb100300.php @@ -1115,7 +1115,6 @@ class ContextMariaDb100300 extends Context 'UTC_TIMESTAMP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'VALUES' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'NOT IN' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, - 'PROCEDURE ANALYSE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, 'DATE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'GEOMETRYCOLLECTION' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'LINESTRING' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, diff --git a/src/Contexts/ContextMySql50000.php b/src/Contexts/ContextMySql50000.php index a14eb158..78c8ad92 100644 --- a/src/Contexts/ContextMySql50000.php +++ b/src/Contexts/ContextMySql50000.php @@ -808,7 +808,6 @@ class ContextMySql50000 extends Context 'UTC_TIMESTAMP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'VALUES' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'NOT IN' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, - 'PROCEDURE ANALYSE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, 'DATE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'GEOMETRYCOLLECTION' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'LINESTRING' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, diff --git a/src/Contexts/ContextMySql50100.php b/src/Contexts/ContextMySql50100.php index 81c600ec..7143bc61 100644 --- a/src/Contexts/ContextMySql50100.php +++ b/src/Contexts/ContextMySql50100.php @@ -885,7 +885,6 @@ class ContextMySql50100 extends Context 'UTC_TIMESTAMP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'VALUES' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'NOT IN' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, - 'PROCEDURE ANALYSE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, 'DATE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'GEOMETRYCOLLECTION' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'LINESTRING' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, diff --git a/src/Contexts/ContextMySql50500.php b/src/Contexts/ContextMySql50500.php index ed4264bc..1ec5f62f 100644 --- a/src/Contexts/ContextMySql50500.php +++ b/src/Contexts/ContextMySql50500.php @@ -896,7 +896,6 @@ class ContextMySql50500 extends Context 'UTC_TIMESTAMP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'VALUES' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'NOT IN' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, - 'PROCEDURE ANALYSE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, 'DATE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'GEOMETRYCOLLECTION' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'LINESTRING' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, diff --git a/src/Contexts/ContextMySql50600.php b/src/Contexts/ContextMySql50600.php index 661941f8..852dc4d5 100644 --- a/src/Contexts/ContextMySql50600.php +++ b/src/Contexts/ContextMySql50600.php @@ -994,7 +994,6 @@ class ContextMySql50600 extends Context 'UTC_TIMESTAMP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'VALUES' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'NOT IN' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, - 'PROCEDURE ANALYSE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, 'DATE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'GEOMETRYCOLLECTION' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'LINESTRING' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, diff --git a/src/Contexts/ContextMySql50700.php b/src/Contexts/ContextMySql50700.php index 4b384d32..2e844f4e 100644 --- a/src/Contexts/ContextMySql50700.php +++ b/src/Contexts/ContextMySql50700.php @@ -1078,7 +1078,6 @@ class ContextMySql50700 extends Context 'UTC_TIMESTAMP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'VALUES' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_FUNCTION, 'NOT IN' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, - 'PROCEDURE ANALYSE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_RESERVED | Token::FLAG_KEYWORD_COMPOSED | Token::FLAG_KEYWORD_FUNCTION, 'DATE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'GEOMETRYCOLLECTION' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, 'LINESTRING' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_DATA_TYPE | Token::FLAG_KEYWORD_FUNCTION, diff --git a/tools/contexts/_functionsMariaDb100200.txt b/tools/contexts/_functionsMariaDb100200.txt index 8f945faf..99e38c37 100644 --- a/tools/contexts/_functionsMariaDb100200.txt +++ b/tools/contexts/_functionsMariaDb100200.txt @@ -268,7 +268,6 @@ PolygonFromWKB (F) POSITION (F) POW (F) POWER (F) -PROCEDURE ANALYSE (F) QUARTER (F) QUOTE (F) RADIANS (F) diff --git a/tools/contexts/_functionsMariaDb100300.txt b/tools/contexts/_functionsMariaDb100300.txt index 0bdd568b..99f66bc7 100644 --- a/tools/contexts/_functionsMariaDb100300.txt +++ b/tools/contexts/_functionsMariaDb100300.txt @@ -286,7 +286,6 @@ PolygonFromWKB (F) POSITION (F) POW (F) POWER (F) -PROCEDURE ANALYSE (F) QUARTER (F) QUOTE (F) RADIANS (F) diff --git a/tools/contexts/_functionsMySql50000.txt b/tools/contexts/_functionsMySql50000.txt index 1159ea34..a8ba45c8 100644 --- a/tools/contexts/_functionsMySql50000.txt +++ b/tools/contexts/_functionsMySql50000.txt @@ -196,7 +196,6 @@ Polygon (F) POSITION (F) POW (F) POWER (F) -PROCEDURE ANALYSE (F) QUARTER (F) QUOTE (F) RADIANS (F) diff --git a/tools/contexts/_functionsMySql50100.txt b/tools/contexts/_functionsMySql50100.txt index dd7de310..58e1e773 100644 --- a/tools/contexts/_functionsMySql50100.txt +++ b/tools/contexts/_functionsMySql50100.txt @@ -207,7 +207,6 @@ PolygonFromWKB (F) POSITION (F) POW (F) POWER (F) -PROCEDURE ANALYSE (F) QUARTER (F) QUOTE (F) RADIANS (F) diff --git a/tools/contexts/_functionsMySql50500.txt b/tools/contexts/_functionsMySql50500.txt index 53b1e784..0eaced5e 100644 --- a/tools/contexts/_functionsMySql50500.txt +++ b/tools/contexts/_functionsMySql50500.txt @@ -207,7 +207,6 @@ PolygonFromWKB (F) POSITION (F) POW (F) POWER (F) -PROCEDURE ANALYSE (F) QUARTER (F) QUOTE (F) RADIANS (F) diff --git a/tools/contexts/_functionsMySql50600.txt b/tools/contexts/_functionsMySql50600.txt index 952dc419..ef6f70b1 100644 --- a/tools/contexts/_functionsMySql50600.txt +++ b/tools/contexts/_functionsMySql50600.txt @@ -218,7 +218,6 @@ PolygonFromWKB (F) POSITION (F) POW (F) POWER (F) -PROCEDURE ANALYSE (F) QUARTER (F) QUOTE (F) RADIANS (F) diff --git a/tools/contexts/_functionsMySql50700.txt b/tools/contexts/_functionsMySql50700.txt index 69d4aa04..0ca51552 100644 --- a/tools/contexts/_functionsMySql50700.txt +++ b/tools/contexts/_functionsMySql50700.txt @@ -251,7 +251,6 @@ PolygonFromWKB (F) POSITION (F) POW (F) POWER (F) -PROCEDURE ANALYSE (F) QUARTER (F) QUOTE (F) RADIANS (F)