1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Remove unnecessary parser error count increments. Let the sqlite3ErrorMsg()

take care of doing that.

FossilOrigin-Name: 3f3b0f683af2fbee83811536f6bef770ff919385
This commit is contained in:
drh
2015-04-17 18:22:53 +00:00
parent c50c8f4043
commit 97ab32bcd3
6 changed files with 29 additions and 14 deletions

View File

@@ -193,7 +193,6 @@ void sqlite3BeginTrigger(
/* Do not create a trigger on a system table */
if( sqlite3StrNICmp(pTab->zName, "sqlite_", 7)==0 ){
sqlite3ErrorMsg(pParse, "cannot create trigger on system table");
pParse->nErr++;
goto trigger_cleanup;
}