zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #05388
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 463: Some fixes for lp:~rainct/zeitgeist/961974
------------------------------------------------------------
revno: 463
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Thu 2012-04-05 14:59:44 +0200
message:
Some fixes for lp:~rainct/zeitgeist/961974
modified:
src/db-reader.vala
src/table-lookup.vala
--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/db-reader.vala'
--- src/db-reader.vala 2012-04-05 12:12:49 +0000
+++ src/db-reader.vala 2012-04-05 12:59:44 +0000
@@ -465,7 +465,8 @@
// for (int i=0; i<related_uris.length; i++)
// related_uris[i] = temp_related_uris[i];
- database.assert_query_success (rc, "Error in find_related_uris");
+ database.assert_query_success (rc, "Error in find_related_uris",
+ Sqlite.DONE);
var uri_counter = new HashTable<string, RelatedUri?>(
str_hash, str_equal);
=== modified file 'src/table-lookup.vala'
--- src/table-lookup.vala 2012-04-05 12:12:49 +0000
+++ src/table-lookup.vala 2012-04-05 12:59:44 +0000
@@ -94,7 +94,8 @@
insertion_stmt.reset ();
insertion_stmt.bind_text (1, name);
rc = insertion_stmt.step ();
- database.assert_query_success (rc, "Error in id_for_string");
+ database.assert_query_success (rc, "Error in id_for_string",
+ Sqlite.DONE);
id = (int) db.last_insert_rowid ();
@@ -127,7 +128,8 @@
value_to_id.insert (text, id);
rc = retrieval_stmt.step ();
}
- database.assert_query_success (rc, "Error in get_value");
+ database.assert_query_success (rc, "Error in get_value",
+ Sqlite.DONE);
if (text == null)
{
critical ("Error getting data from table: %d, %s\n",