aboutsummaryrefslogtreecommitdiff
path: root/src/datacache
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-07-07 20:53:11 +0200
committerChristian Grothoff <christian@grothoff.org>2018-07-07 20:53:24 +0200
commit5cf1f3d86bdb95f6df41405df063061d03eb9bcf (patch)
tree5558266fae3db72001ab4abac6cf2056858591ad /src/datacache
parent362715ec0e3940f6ab747d787c66c8e07f88eafa (diff)
downloadgnunet-5cf1f3d86bdb95f6df41405df063061d03eb9bcf.tar.gz
gnunet-5cf1f3d86bdb95f6df41405df063061d03eb9bcf.zip
add missing index
Diffstat (limited to 'src/datacache')
-rw-r--r--src/datacache/plugin_datacache_sqlite.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_sqlite.c b/src/datacache/plugin_datacache_sqlite.c
index 4684e514c..dc4236a8b 100644
--- a/src/datacache/plugin_datacache_sqlite.c
+++ b/src/datacache/plugin_datacache_sqlite.c
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/ 17*/
@@ -749,7 +749,8 @@ libgnunet_plugin_datacache_sqlite_init (void *cls)
749 " value BLOB NOT NULL," 749 " value BLOB NOT NULL,"
750 " path BLOB DEFAULT '')"); 750 " path BLOB DEFAULT '')");
751 SQLITE3_EXEC (dbh, "CREATE INDEX idx_hashidx ON ds091 (key,type,expire)"); 751 SQLITE3_EXEC (dbh, "CREATE INDEX idx_hashidx ON ds091 (key,type,expire)");
752 SQLITE3_EXEC (dbh, "CREATE INDEX idx_expire ON ds091 (prox,expire)"); 752 SQLITE3_EXEC (dbh, "CREATE INDEX idx_prox_expire ON ds091 (prox,expire)");
753 SQLITE3_EXEC (dbh, "CREATE INDEX idx_expire_only ON ds091 (expire)");
753 plugin = GNUNET_new (struct Plugin); 754 plugin = GNUNET_new (struct Plugin);
754 plugin->env = env; 755 plugin->env = env;
755 plugin->dbh = dbh; 756 plugin->dbh = dbh;