diff options
Diffstat (limited to 'src/auth.c')
-rw-r--r-- | src/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.c b/src/auth.c index 33420f583..3a4f73a23 100644 --- a/src/auth.c +++ b/src/auth.c @@ -175,10 +175,10 @@ void sqlite3AuthRead( if( iCol>=0 ){ assert( iCol<pTab->nCol ); - zCol = pTab->aCol[iCol].zName; + zCol = pTab->aCol[iCol].zCnName; }else if( pTab->iPKey>=0 ){ assert( pTab->iPKey<pTab->nCol ); - zCol = pTab->aCol[pTab->iPKey].zName; + zCol = pTab->aCol[pTab->iPKey].zCnName; }else{ zCol = "ROWID"; } |