The ALTER TABLE fix of check-in [7e5ad8e0ab7ee91a] is no longer needed due

to the changes at check-in [4cf8721f5ceb1fda].  But, we keep the defense
in place as an assert() for extra safety.

FossilOrigin-Name: 230556e859536bbadf0daf8133a9a01ef4f03148b3296723e37bad66e3fc3d82
This commit is contained in:
drh
2020-04-07 01:18:23 +00:00
parent b3120fdf5b
commit 2d99f95721
4 changed files with 10 additions and 9 deletions
+1
View File
@@ -1787,6 +1787,7 @@ void sqlite3ExprListSetName(
int dequote /* True to cause the name to be dequoted */
){
assert( pList!=0 || pParse->db->mallocFailed!=0 );
assert( pParse->eParseMode!=PARSE_MODE_UNMAP || dequote==0 );
if( pList ){
struct ExprList_item *pItem;
assert( pList->nExpr>0 );