1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Allow quoted trigger names. Ticket #468. (CVS 1109)

FossilOrigin-Name: 54aa0fb236d17b53b194a667d68c71007c8e7687
This commit is contained in:
drh
2003-10-03 00:13:38 +00:00
parent 319e4e7484
commit 191c0323c0
4 changed files with 50 additions and 9 deletions

View File

@@ -83,6 +83,7 @@ void sqliteBeginTrigger(
}
zName = sqliteStrNDup(pName->z, pName->n);
sqliteDequote(zName);
if( sqliteHashFind(&(db->aDb[iDb].trigHash), zName,pName->n+1) ){
sqliteErrorMsg(pParse, "trigger %T already exists", pName);
goto trigger_cleanup;