From 8192068592d352e35e7339fad8d3604251ae919d Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Wed, 20 Jan 2021 22:03:28 -0700 Subject: [PATCH] Add (name) index to articles-overview.db3 --- Rocksolid_Light/rocksolid/newsportal.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index 1868c76..342bb81 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -1219,6 +1219,8 @@ function rslight_db_open($database, $table='overview') { $stmt->execute(); $stmt = $dbh->query('CREATE INDEX IF NOT EXISTS id_newsgroup_number on overview(newsgroup,number)'); $stmt->execute(); + $stmt = $dbh->query('CREATE INDEX IF NOT EXISTS id_name on overview(name)'); + $stmt->execute(); return($dbh); }