aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-09-28 15:58:09 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-09-28 15:58:09 +0000
commit0b315ce875985af58a7d7d8640c3074c85de5387 (patch)
treef9ac42ea9861c4ab17e3b5aee08b692c7cd1e648 /src/main.c
parente3e73709fb31335c1d086fdb542b3f9553298b87 (diff)
downloadellinika-0b315ce875985af58a7d7d8640c3074c85de5387.tar.gz
ellinika-0b315ce875985af58a7d7d8640c3074c85de5387.tar.bz2
Updated
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@174 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f3637a3..4d0f2cf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -188,6 +188,10 @@ pending_fixup()
"WHERE p.word = d.word AND p.type != 'CLOSED'");
sql_query("UPDATE pending_links p, dict d SET p.type='CLOSED' "
"WHERE p.word = d.word");
+ /* SQL92:
+ UPDATE pending_links SET type='CLOSED'
+ WHERE originator in (SELECT d.ident from dict d, pending_links p
+ WHERE p.word=d.word) */
if (!preserve_flag)
sql_query("DELETE FROM pending_links WHERE type = 'CLOSED'");

Return to:

Send suggestions and report system problems to the System administrator.