Changes sqlite3TempInMemory() to take a const parameter. (CVS 6576)

FossilOrigin-Name: aa29a14ca040db25dadbca787aa75be3b7588415
diff --git a/src/main.c b/src/main.c
index 1a0c2b0..37b63e6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,7 @@
 ** other files are for internal use by SQLite and should not be
 ** accessed by users of the library.
 **
-** $Id: main.c,v 1.543 2009/04/30 09:10:38 danielk1977 Exp $
+** $Id: main.c,v 1.544 2009/04/30 12:25:10 drh Exp $
 */
 #include "sqliteInt.h"
 
@@ -1184,7 +1184,7 @@
 **   2                     0                  memory    (return 1)
 **   3                     any                memory    (return 1)
 */
-int sqlite3TempInMemory(sqlite3 *db){
+int sqlite3TempInMemory(const sqlite3 *db){
 #if SQLITE_TEMP_STORE==1
   return ( db->temp_store==2 );
 #endif
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 758afaf..afdb4b3 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
 *************************************************************************
 ** Internal interface definitions for SQLite.
 **
-** @(#) $Id: sqliteInt.h,v 1.863 2009/04/30 09:10:38 danielk1977 Exp $
+** @(#) $Id: sqliteInt.h,v 1.864 2009/04/30 12:25:10 drh Exp $
 */
 #ifndef _SQLITEINT_H_
 #define _SQLITEINT_H_
@@ -2765,7 +2765,7 @@
 int sqlite3Reprepare(Vdbe*);
 void sqlite3ExprListCheckLength(Parse*, ExprList*, const char*);
 CollSeq *sqlite3BinaryCompareCollSeq(Parse *, Expr *, Expr *);
-int sqlite3TempInMemory(sqlite3 *);
+int sqlite3TempInMemory(const sqlite3*);