aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-rw-r--r--data/dict.02
-rw-r--r--src/trans.h6
3 files changed, 16 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 537f7f7..4e18846 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2004-06-21 Sergey Poznyakoff <gray@Mirddin.farlep.net>
+
+ Initial implementation of incremental updates.
+
+ * data/db.struct (antonym,xref): Replaced by 'links'
+ (pending_links): New table. Keeps unresolved links.
+ * data/dict.0: Updated
+ * cgi-bin/dict.cgi.in: Reflect changes to the database
+ structure.
+ * src/main.c: Use pending_links for resolving antonym and
+ cross-reference links.
+ * src/sql.c (sql_num_tuples): New (kludgy) function.
+ * src/trans.h: Updated
+
2004-06-21 Sergey Poznyakoff <gray@Noldor.runasimi.org>
* xtrans/LINGUA.html.xtrans (Endtag: ITEM): Removed incorrect
diff --git a/data/dict.0 b/data/dict.0
index 6707459..f3b93bc 100644
--- a/data/dict.0
+++ b/data/dict.0
@@ -49,7 +49,7 @@ NODE μαθαίνω
POS μετ.
MEANING узнавать
MEANING учить
-XREF μαθήτης
+XREF μαθητής
END
NODE λοιπόν
diff --git a/src/trans.h b/src/trans.h
index e342a5d..e36fea4 100644
--- a/src/trans.h
+++ b/src/trans.h
@@ -44,11 +44,6 @@ struct descr {
u_char *value;
};
-struct xref {
- unsigned long index;
- u_char *value;
-};
-
extern RAD_LIST *node_list;
extern struct node *create_node(RAD_LIST *hdr, RAD_LIST *descr);
@@ -58,6 +53,7 @@ void open_input(int argc, char **argv);
int parse(int argc, char **argv);
int sql_query(char *fmt, ...);
int sql_query_n(unsigned long *pret, char *fmt, ...);
+size_t sql_num_tuples();
extern char *sql_database;
extern char *sql_host;

Return to:

Send suggestions and report system problems to the System administrator.