From 1636c00bfbf5626bf6e94b4a68155685aa1dc9d3 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 1 Dec 2008 15:41:10 +0000 Subject: [PATCH] Error in loading a date in names table svn: r11380 --- src/plugins/Sql.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/Sql.py b/src/plugins/Sql.py index 71e63a2b9..223df4b7e 100644 --- a/src/plugins/Sql.py +++ b/src/plugins/Sql.py @@ -128,7 +128,6 @@ def export_name(db, handle, data): db.query("""INSERT into names ( private, - date, first_name, surname, suffix, @@ -141,9 +140,9 @@ def export_name(db, handle, data): sort_as, display_as, call - ) values (?, ?, ?, ?, ?, ?, ?, + ) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);""", - private, date, first_name, surname, suffix, title, + private, first_name, surname, suffix, title, name_type[0], name_type[1], prefix, patronymic, group_as, sort_as, display_as, call) export_date(db, handle, date) @@ -214,7 +213,6 @@ def exportData(database, filename, option_box=None, callback=None): db.query("""CREATE TABLE names ( private BOOLEAN, - date LONG, first_name TEXT, surname TEXT, suffix TEXT,