Further simplifications of the code for the LIMIT clause on an UPDATE or DELETE.  Added a few test cases to wherelimit.test. (CVS 5797)

FossilOrigin-Name: 282c6a46b25f4e4278fd4c8b0b1cde1de28d8f51
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index f13a739..caf6232 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
 *************************************************************************
 ** Internal interface definitions for SQLite.
 **
-** @(#) $Id: sqliteInt.h,v 1.780 2008/10/10 04:34:16 shane Exp $
+** @(#) $Id: sqliteInt.h,v 1.781 2008/10/10 18:25:46 shane Exp $
 */
 #ifndef _SQLITEINT_H_
 #define _SQLITEINT_H_
@@ -2162,7 +2162,7 @@
 int sqlite3IsReadOnly(Parse*, Table*, int);
 void sqlite3OpenTable(Parse*, int iCur, int iDb, Table*, int);
 #if defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) && !defined(SQLITE_OMIT_SUBQUERY)
-Expr *sqlite3LimitWhere(Parse *, SrcList *, Expr *, ExprList *, Expr *, Expr *);
+Expr *sqlite3LimitWhere(Parse *, SrcList *, Expr *, ExprList *, Expr *, Expr *, char *);
 #endif
 void sqlite3DeleteFrom(Parse*, SrcList*, Expr*);
 void sqlite3Update(Parse*, SrcList*, ExprList*, Expr*, int);