[dev] [cvs] commit: framework/SessionHandler/SessionHandler pgsql.php
Jan Schneider
jan at horde.org
Wed Oct 12 14:20:48 PDT 2005
Zitat von Jan Schneider <jan at horde.org>:
> IIRC we even have an open ticket for this.
This should of course read: "another open ticket".
> Zitat von Chuck Hagenbuch <chuck at horde.org>:
>
>> chuck 2005-10-12 10:53:02 PDT
>>
>> Modified files:
>> SessionHandler/SessionHandler pgsql.php
>> Log:
>> This patch modified read() to only do a SELECT FOR UPDATE on the
>> session id. If the row exists, this will lock it for the duration of
>> the transaction.
>>
>> It changes write() to do a SELECT on the session id to determine if
>> there are any rows with that id. If there aren't any, it does an
>> INSERT. If there is a row it does an UPDATE. This is more closely
>> akin to the MySQL REPLACE INTO from mysql.php.
>>
>> Revision Changes Path
>> 1.25 +74 -47 framework/SessionHandler/SessionHandler/pgsql.php
>>
>> Chora Links:
>>
>> http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/pgsql.php?r1=1.24&r2=1.25&ty=u
>>
>> --
>> To unsubscribe, mail: cvs-unsubscribe at lists.horde.org
>>
>>
>
>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
>
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list