mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Minor comment enhancement in alter.c. No changes to code.
FossilOrigin-Name: 12920bcb99b25e147e1877ee001bc551a743e3530c954fe2b45a18a4eef9eeff
This commit is contained in:
12
src/alter.c
12
src/alter.c
@@ -667,10 +667,16 @@ static void renameTokenCheckAll(Parse *pParse, void *pPtr){
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Add a new RenameToken object mapping parse tree element pPtr into
|
||||
** token *pToken to the Parse object currently under construction.
|
||||
** Remember that the parser tree element pPtr was created using
|
||||
** the token pToken.
|
||||
**
|
||||
** Return a copy of pPtr.
|
||||
** In other words, construct a new RenameToken object and add it
|
||||
** to the list of RenameToken objects currently being built up
|
||||
** in pParse->pRename.
|
||||
**
|
||||
** The pPtr argument is returned so that this routine can be used
|
||||
** with tail recursion in tokenExpr() routine, for a small performance
|
||||
** improvement.
|
||||
*/
|
||||
void *sqlite3RenameTokenMap(Parse *pParse, void *pPtr, Token *pToken){
|
||||
RenameToken *pNew;
|
||||
|
||||
Reference in New Issue
Block a user