diff options
author | drh <drh@noemail.net> | 2008-01-25 15:04:48 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-01-25 15:04:48 +0000 |
commit | ca4241140cc7eeb7ac9ffb2072ead9c67d2939c3 (patch) | |
tree | 0c0d7573357d933e37bb64b69b155698ce142f40 /src/sqliteInt.h | |
parent | cdf3020ca387a32b8633de152e0f75c60e141dcd (diff) | |
download | sqlite-ca4241140cc7eeb7ac9ffb2072ead9c67d2939c3.tar.gz sqlite-ca4241140cc7eeb7ac9ffb2072ead9c67d2939c3.zip |
Error messages says "no such view" instead of "no such table" when
trying to DROP a VIEW that does not exist. (CVS 4750)
FossilOrigin-Name: 50815a82e0ec9a5c1399f5fe6ef416434b55a821
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index f8393fe01..9d0ba4991 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.655 2008/01/23 14:51:50 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.656 2008/01/25 15:04:50 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -1776,7 +1776,7 @@ int sqlite3ExprCodeExprList(Parse*, ExprList*, int); void sqlite3ExprIfTrue(Parse*, Expr*, int, int); void sqlite3ExprIfFalse(Parse*, Expr*, int, int); Table *sqlite3FindTable(sqlite3*,const char*, const char*); -Table *sqlite3LocateTable(Parse*,const char*, const char*); +Table *sqlite3LocateTable(Parse*,int isView,const char*, const char*); Index *sqlite3FindIndex(sqlite3*,const char*, const char*); void sqlite3UnlinkAndDeleteTable(sqlite3*,int,const char*); void sqlite3UnlinkAndDeleteIndex(sqlite3*,int,const char*); |