-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11097 from rouault/fix_11094
FileGDB/OpenFileGDB: update (and unify) list of reserved keywords that can't be used for column/table names
- Loading branch information
Showing
4 changed files
with
35 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/****************************************************************************** | ||
* | ||
* Project: OpenGIS Simple Features Reference Implementation | ||
* Purpose: List of reserver keywords for File Geodatabase | ||
* Author: Even Rouault, <even.rouault at spatialys.com> | ||
* | ||
****************************************************************************** | ||
* Copyright (c) 2024, Even Rouault, <even.rouault at spatialys.com> | ||
* | ||
* SPDX-License-Identifier: MIT | ||
****************************************************************************/ | ||
|
||
#ifndef FILEGDB_RESERVED_KEYWORDS_H | ||
#define FILEGDB_RESERVED_KEYWORDS_H | ||
|
||
// from https://support.esri.com/en-us/knowledge-base/what-are-the-reserved-words-for-esri-s-file-geodatabase-000010906 | ||
static constexpr const char *const apszRESERVED_WORDS[] = { | ||
"ADD", "ALTER", "AND", "BETWEEN", "BY", "COLUMN", "CREATE", | ||
"DELETE", "DROP", "EXISTS", "FOR", "FROM", "GROUP", "IN", | ||
"INSERT", "INTO", "IS", "LIKE", "NOT", "NULL", "OR", | ||
"ORDER", "SELECT", "SET", "TABLE", "UPDATE", "VALUES", "WHERE", | ||
}; | ||
|
||
#endif // FILEGDB_RESERVED_KEYWORDS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters