Date: 06/30/00
- Next message: Adam Thompson: "Re: [phplib] database abstraction"
- Previous message: Björn Schotte: "Re: [phplib] database abstraction"
- In reply to: John Bafford: "[phplib] PHPLib sessions - problem with ac_store() in ct_sql.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This has already been fixed in the CVS version. This is the second
incident of this in a week - perhaps Kristian could release a 7.3c or
something like that?
Anyway, if you use the CVSWEB interface (right off the homepage, at
http://phplib.netuse.de) you can download the updated ct_sql.inc which
includes a workaround for this issue.
Let me know if I'm mis-understanding your complaint.
-Adam Thompson
athompso <email protected>
----- Original Message -----
From: "John Bafford" <dshadow <email protected>>
To: <phplib <email protected>>
Sent: Friday, June 30, 2000 4:37 PM
Subject: [phplib] PHPLib sessions - problem with ac_store() in
ct_sql.inc
> I tracked the problem down to ac_store() in ct_sql.inc. The problem
also
> exists with PHPLib 7.3; the code for functions is unchanged between
the
> two versions.
>
> I am using mySQL. This problem may or may not exist with other
databases.
>
> This is the problem:
>
> ac_store() does an update, counts the number of affected rows, and if
the
> number of affected rows is zero, does an insert query.
>
> This fails when the update causes no rows to be updated.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Adam Thompson: "Re: [phplib] database abstraction"
- Previous message: Björn Schotte: "Re: [phplib] database abstraction"
- In reply to: John Bafford: "[phplib] PHPLib sessions - problem with ac_store() in ct_sql.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

