aboutsummaryrefslogtreecommitdiff
path: root/src/trigger.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2004-05-10 10:34:51 +0000
committerdanielk1977 <danielk1977@noemail.net>2004-05-10 10:34:51 +0000
commit6f8a503d71977f70bb203ee738dfbf5a646851e4 (patch)
treeee420ba1c4afc856c7b2585b33a8e20371680252 /src/trigger.c
parent24b03fd055b993519961b0cffb2a79a4942fb3c7 (diff)
downloadsqlite-6f8a503d71977f70bb203ee738dfbf5a646851e4.tar.gz
sqlite-6f8a503d71977f70bb203ee738dfbf5a646851e4.zip
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338)
FossilOrigin-Name: 2242423e31a5e81e89ffcc99e62307c5cc0120d5
Diffstat (limited to 'src/trigger.c')
-rw-r--r--src/trigger.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/trigger.c b/src/trigger.c
index d15225583..985b0b43c 100644
--- a/src/trigger.c
+++ b/src/trigger.c
@@ -63,7 +63,7 @@ void sqlite3BeginTrigger(
** 4. That we are not trying to create an INSTEAD OF trigger on a table.
** 5. That we are not trying to create a BEFORE or AFTER trigger on a view.
*/
- if( sqlite_malloc_failed ) goto trigger_cleanup;
+ if( sqlite3_malloc_failed ) goto trigger_cleanup;
assert( pTableName->nSrc==1 );
if( db->init.busy
&& sqlite3FixInit(&sFix, pParse, db->init.iDb, "trigger", pName)
@@ -133,7 +133,7 @@ void sqlite3BeginTrigger(
nt->name = zName;
zName = 0;
nt->table = sqliteStrDup(pTableName->a[0].zName);
- if( sqlite_malloc_failed ) goto trigger_cleanup;
+ if( sqlite3_malloc_failed ) goto trigger_cleanup;
nt->iDb = iDb;
nt->iTabDb = tab->iDb;
nt->op = op;
@@ -234,10 +234,10 @@ triggerfinish_cleanup:
** the effect of copying all Expr.token.z values into memory obtained
** from sqliteMalloc(). As initially created, the Expr.token.z values
** all point to the input string that was fed to the parser. But that
-** string is ephemeral - it will go away as soon as the sqlite_exec()
+** string is ephemeral - it will go away as soon as the sqlite3_exec()
** call that started the parser exits. This routine makes a persistent
** copy of all the Expr.token.z strings so that the TriggerStep structure
-** will be valid even after the sqlite_exec() call returns.
+** will be valid even after the sqlite3_exec() call returns.
*/
static void sqlitePersistTriggerStep(TriggerStep *p){
if( p->target.z ){
@@ -393,7 +393,7 @@ void sqlite3DropTrigger(Parse *pParse, SrcList *pName){
int nName;
sqlite *db = pParse->db;
- if( sqlite_malloc_failed ) goto drop_trigger_cleanup;
+ if( sqlite3_malloc_failed ) goto drop_trigger_cleanup;
assert( pName->nSrc==1 );
zDb = pName->a[0].zDatabase;
zName = pName->a[0].zName;