aboutsummaryrefslogtreecommitdiff
path: root/src/fkey.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-08-18 14:33:11 +0000
committerdrh <drh@noemail.net>2016-08-18 14:33:11 +0000
commit69c338263abbd1bf5aa2621daddda708feb80beb (patch)
treea0809a7c156ee213bed6fe65597bbba2ccac32b2 /src/fkey.c
parent8c2b1fde584b096460c95f9e3abf8b5dc452b5d0 (diff)
downloadsqlite-69c338263abbd1bf5aa2621daddda708feb80beb.tar.gz
sqlite-69c338263abbd1bf5aa2621daddda708feb80beb.zip
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to
distinguish it from all of the other "zName" variables scattered throughout the code. FossilOrigin-Name: 92a22f01343a898455fd61c3b8e7d7c954f5b569
Diffstat (limited to 'src/fkey.c')
-rw-r--r--src/fkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fkey.c b/src/fkey.c
index 25d9f8491..609c3c601 100644
--- a/src/fkey.c
+++ b/src/fkey.c
@@ -871,7 +871,7 @@ void sqlite3FkCheck(
if( (db->flags&SQLITE_ForeignKeys)==0 ) return;
iDb = sqlite3SchemaToIndex(db, pTab->pSchema);
- zDb = db->aDb[iDb].zName;
+ zDb = db->aDb[iDb].zDbSName;
/* Loop through all the foreign key constraints for which pTab is the
** child table (the table that the foreign key definition is part of). */