Fix a series of issues that prevented SoupCookieJarSQLite from working:
authorXan Lopez <xan@gnome.org>
Thu, 19 Feb 2009 14:00:52 +0000 (14:00 +0000)
committerXan Lopez <xan@src.gnome.org>
Thu, 19 Feb 2009 14:00:52 +0000 (14:00 +0000)
commit5c50bdc1d16c3f997bc58439700349664db7670d
treebd7135f487c9331b8b76149d61b5bf2c1443d092
parente63e35dbfc58c97955d71da2be8bb49b976034a0
Fix a series of issues that prevented SoupCookieJarSQLite from working:

2009-02-19  Xan Lopez  <xan@gnome.org>

        * libsoup/soup-cookie-jar-sqlite.c:
        (callback):
        (try_create_table):
        (exec_query_with_try_create_table):
        (load):
        (changed):

        Fix a series of issues that prevented SoupCookieJarSQLite from working:

        - Try to create cookies table on errors. The table was never created before.
        - Store max_age in a gulong, not int.
        - Parse correctly boolean values from query. It's 0/1, not FALSE/TRUE.
- The host is stored as host in the table, not as domain.

        #572409

svn path=/trunk/; revision=1241
ChangeLog
libsoup/soup-cookie-jar-sqlite.c