diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2004-01-08 14:25:01 +0000 | 
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2004-01-08 14:25:01 +0000 | 
| commit | a4ea8eb44ec63e407007abea957221e92a081a31 (patch) | |
| tree | 23566b703ee020fcee70beb3bc38d3e11c37e14c /ext/sqlite/libsqlite/src/auth.c | |
| parent | 2cf3cb6407aa108f21149782245c61e7e393ec59 (diff) | |
| download | php-git-a4ea8eb44ec63e407007abea957221e92a081a31.tar.gz | |
Upgrade bundled libsqlite to 2.8.9
Diffstat (limited to 'ext/sqlite/libsqlite/src/auth.c')
| -rw-r--r-- | ext/sqlite/libsqlite/src/auth.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/ext/sqlite/libsqlite/src/auth.c b/ext/sqlite/libsqlite/src/auth.c index 547cd18f14..06b8126ae0 100644 --- a/ext/sqlite/libsqlite/src/auth.c +++ b/ext/sqlite/libsqlite/src/auth.c @@ -89,7 +89,7 @@ static void sqliteAuthBadReturnCode(Parse *pParse, int rc){    sprintf(zBuf, "(%d)", rc);    sqliteSetString(&pParse->zErrMsg, "illegal return value ", zBuf,      " from the authorization function - should be SQLITE_OK, " -    "SQLITE_IGNORE, or SQLITE_DENY", 0); +    "SQLITE_IGNORE, or SQLITE_DENY", (char*)0);    pParse->nErr++;    pParse->rc = SQLITE_MISUSE;  } @@ -151,10 +151,10 @@ void sqliteAuthRead(    }else if( rc==SQLITE_DENY ){      if( db->nDb>2 || pExpr->iDb!=0 ){        sqliteSetString(&pParse->zErrMsg,"access to ", zDBase, ".", -          pTab->zName, ".", zCol, " is prohibited", 0); +          pTab->zName, ".", zCol, " is prohibited", (char*)0);      }else{        sqliteSetString(&pParse->zErrMsg,"access to ", pTab->zName, ".", -                      zCol, " is prohibited", 0); +                      zCol, " is prohibited", (char*)0);      }      pParse->nErr++;      pParse->rc = SQLITE_AUTH; @@ -184,7 +184,7 @@ int sqliteAuthCheck(    }    rc = db->xAuth(db->pAuthArg, code, zArg1, zArg2, zArg3, pParse->zAuthContext);    if( rc==SQLITE_DENY ){ -    sqliteSetString(&pParse->zErrMsg, "not authorized", 0); +    sqliteSetString(&pParse->zErrMsg, "not authorized", (char*)0);      pParse->rc = SQLITE_AUTH;      pParse->nErr++;    }else if( rc!=SQLITE_OK && rc!=SQLITE_IGNORE ){ | 
