You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2013/05/31 13:21:15 UTC

svn commit: r1488164 - /httpd/httpd/trunk/docs/manual/mod/mod_session_dbd.xml

Author: minfrin
Date: Fri May 31 11:21:14 2013
New Revision: 1488164

URL: http://svn.apache.org/r1488164
Log:
mod_session_dbd: Update the sql query for sessions updates.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_session_dbd.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_session_dbd.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_session_dbd.xml?rev=1488164&r1=1488163&r2=1488164&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_session_dbd.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_session_dbd.xml Fri May 31 11:21:14 2013
@@ -77,7 +77,7 @@
 DBDriver pgsql
 DBDParams "dbname=apachesession user=apache password=xxxxx host=localhost"
 DBDPrepareSQL "delete from session where key = %s" deletesession
-DBDPrepareSQL "update session set value = %s, expiry = %lld where key = %s" updatesession
+DBDPrepareSQL "update session set value = %s, expiry = %lld, key = %s where key = %s" updatesession
 DBDPrepareSQL "insert into session (value, expiry, key) values (%s, %lld, %s)" insertsession
 DBDPrepareSQL "select value from session where key = %s and (expiry = 0 or expiry > %lld)" selectsession
 DBDPrepareSQL "delete from session where expiry != 0 and expiry < %lld" cleansession