]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Remove "const" keywords from the sqlite3_index_info structure definition.
authordrh <drh@noemail.net>
Fri, 21 Sep 2007 12:43:16 +0000 (12:43 +0000)
committerdrh <drh@noemail.net>
Fri, 21 Sep 2007 12:43:16 +0000 (12:43 +0000)
The use of this keyword is suspected to be causing problems for some
compilers. (CVS 4445)

FossilOrigin-Name: 005d780de6e9e377ee296ff576e58cf1b512f245

manifest
manifest.uuid
src/sqlite.h.in

index 800d31b1592fef3281921c14e3849e23f2d32294..7857dd6cced61f466c22d2f55bd9aa937b74b833 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Another\scomment\stypo.\sAlso\s#2660.\s(CVS\s4444)
-D 2007-09-21T04:28:16
+C Remove\s"const"\skeywords\sfrom\sthe\ssqlite3_index_info\sstructure\sdefinition.\nThe\suse\sof\sthis\skeyword\sis\ssuspected\sto\sbe\scausing\sproblems\sfor\ssome\ncompilers.\s(CVS\s4445)
+D 2007-09-21T12:43:17
 F Makefile.in cbfb898945536a8f9ea8b897e1586dd1fdbcc5db
 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -130,7 +130,7 @@ F src/random.c 4a22746501bf36b0a088c66e38dde5daba6a35da
 F src/select.c 4706a6115da1bdc09a2be5991168a6cc2c0df267
 F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
 F src/shell.c 82089379833e361ba8a2ae65316a2173785300c0
-F src/sqlite.h.in 4ebbcb5a784493b6afb36fd83101e9c2e6d56707
+F src/sqlite.h.in 38c150bfb76c1792a93c9897ee774b5a20f0f3da
 F src/sqlite3ext.h a93f59cdee3638dc0c9c086f80df743a4e68c3cb
 F src/sqliteInt.h ab7d3169cbfa911335fd94a61f22f052a9f5adeb
 F src/sqliteLimit.h 1bcbbdfa856f8b71b561abb31edb864b0eca1d12
@@ -580,7 +580,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 02c8d60bea36825c1c763bbf2c6107869915aafd
-R 26f60cec43fbbd2fed153e354fa71efb
-U danielk1977
-Z 0d7ecaf11718e90dcf428c6ef77ca563
+P 0c1e6f69cd55ced4af5dcfbeff04820ba0d5b051
+R d221fe17dbb1bc5aa1e2a7f9106dccf9
+U drh
+Z 4f0e3e4d1c3098ab0e3fee9b7e54dbbb
index 6c4365d5f124fa80cb6050b6b7bd1353c7335922..c4d180c3554d66663db13b4da208fabf7962201d 100644 (file)
@@ -1 +1 @@
-0c1e6f69cd55ced4af5dcfbeff04820ba0d5b051
\ No newline at end of file
+005d780de6e9e377ee296ff576e58cf1b512f245
\ No newline at end of file
index 225e9816d6697bc3b7569ba8d475a53e9a310dfb..c3c1dcaf3599f4fcdba47afebcc4fd1e8d946b3c 100644 (file)
@@ -30,7 +30,7 @@
 ** the version number) and changes its name to "sqlite3.h" as
 ** part of the build process.
 **
-** @(#) $Id: sqlite.h.in,v 1.262 2007/09/21 04:27:03 danielk1977 Exp $
+** @(#) $Id: sqlite.h.in,v 1.263 2007/09/21 12:43:17 drh Exp $
 */
 #ifndef _SQLITE3_H_
 #define _SQLITE3_H_
@@ -3083,24 +3083,24 @@ struct sqlite3_module {
 */
 struct sqlite3_index_info {
   /* Inputs */
-  const int nConstraint;     /* Number of entries in aConstraint */
-  const struct sqlite3_index_constraint {
+  int nConstraint;           /* Number of entries in aConstraint */
+  struct sqlite3_index_constraint {
      int iColumn;              /* Column on left-hand side of constraint */
      unsigned char op;         /* Constraint operator */
      unsigned char usable;     /* True if this constraint is usable */
      int iTermOffset;          /* Used internally - xBestIndex should ignore */
-  } *const aConstraint;      /* Table of WHERE clause constraints */
-  const int nOrderBy;        /* Number of terms in the ORDER BY clause */
-  const struct sqlite3_index_orderby {
+  } *aConstraint;            /* Table of WHERE clause constraints */
+  int nOrderBy;              /* Number of terms in the ORDER BY clause */
+  struct sqlite3_index_orderby {
      int iColumn;              /* Column number */
      unsigned char desc;       /* True for DESC.  False for ASC. */
-  } *const aOrderBy;         /* The ORDER BY clause */
+  } *aOrderBy;               /* The ORDER BY clause */
 
   /* Outputs */
   struct sqlite3_index_constraint_usage {
     int argvIndex;           /* if >0, constraint is part of argv to xFilter */
     unsigned char omit;      /* Do not code a test for this constraint */
-  } *const aConstraintUsage;
+  } *aConstraintUsage;
   int idxNum;                /* Number used to identify the index */
   char *idxStr;              /* String, possibly obtained from sqlite3_malloc */
   int needToFreeIdxStr;      /* Free idxStr using sqlite3_free() if true */