1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

:-) (CVS 36)

FossilOrigin-Name: d3c31defbaf25f470d0977c39325890ab8bad054
This commit is contained in:
drh
2000-06-02 01:51:20 +00:00
parent 3143701663
commit eec553b695
8 changed files with 38 additions and 31 deletions

View File

@@ -41,7 +41,7 @@
** But other routines are also provided to help in building up
** a program instruction by instruction.
**
** $Id: vdbe.c,v 1.8 2000/06/02 01:36:16 drh Exp $
** $Id: vdbe.c,v 1.9 2000/06/02 01:51:20 drh Exp $
*/
#include "sqliteInt.h"
@@ -1328,6 +1328,11 @@ int sqliteVdbeExec(
sqliteSetString(pzErrMsg,"table ", pOp->p3, " is locked", 0);
break;
}
case SQLITE_PERM: {
sqliteSetString(pzErrMsg, pOp->p2 ? "write" : "read",
" permission denied for table ", pOp->p3, 0);
break;
}
case SQLITE_READONLY: {
sqliteSetString(pzErrMsg,"table ", pOp->p3,
" is already opened for reading", 0);