Fixed my previous checkin, which was pruning the users entire icon db on startup everytime
* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::retainIconForPageURL): Bind the PageURL to argument 1, as SQL bindings
are indexed to 1, not 0
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16029
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-24 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Alice
+
+ Fixed my previous checkin, which was pruning the users entire icon db on startup everytime
+
+ * loader/icon/IconDatabase.cpp:
+ (WebCore::IconDatabase::retainIconForPageURL): Bind the PageURL to argument 1, as SQL bindings
+ are indexed to 1, not 0
+
2006-08-24 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin.
m_preparedPageRetainInsertStatement->prepare();
}
m_preparedPageRetainInsertStatement->reset();
- m_preparedPageRetainInsertStatement->bindText16(0, pageURL);
+ m_preparedPageRetainInsertStatement->bindText16(1, pageURL);
if (m_preparedPageRetainInsertStatement->step() != SQLITE_DONE)
LOG_ERROR("Failed to record icon retention in temporary table for IconURL %s", pageURL.ascii().data());
return;