diff options
author | Wes Morgan <wmorgan@ffpir.org> | 2008-02-22 23:02:48 +0000 |
---|---|---|
committer | Wes Morgan <wmorgan@ffpir.org> | 2008-02-22 23:02:48 +0000 |
commit | 772d96847acaf7f9e62787548d543fc3f0262991 (patch) | |
tree | 83b245c4ed3620a5b87f2bcbe5a91f17aa2bb607 | |
parent | 6544d9624d72cfba3746a8b0588fcbb36223499d (diff) | |
download | php-openid-772d96847acaf7f9e62787548d543fc3f0262991.zip php-openid-772d96847acaf7f9e62787548d543fc3f0262991.tar.gz php-openid-772d96847acaf7f9e62787548d543fc3f0262991.tar.bz2 |
[project @ add_field_names_to_set_assoc_in_mysqlstore]
-rw-r--r-- | Auth/OpenID/MySQLStore.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Auth/OpenID/MySQLStore.php b/Auth/OpenID/MySQLStore.php index e87773d..8ae32b2 100644 --- a/Auth/OpenID/MySQLStore.php +++ b/Auth/OpenID/MySQLStore.php @@ -42,7 +42,8 @@ class Auth_OpenID_MySQLStore extends Auth_OpenID_SQLStore { ") ENGINE=InnoDB"; $this->sql['set_assoc'] = - "REPLACE INTO %s VALUES (?, ?, !, ?, ?, ?)"; + "REPLACE INTO %s (server_url, handle, secret, issued,\n". + " lifetime, assoc_type) VALUES (?, ?, !, ?, ?, ?)"; $this->sql['get_assocs'] = "SELECT handle, secret, issued, lifetime, assoc_type FROM %s ". |