shopsuite-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ShopSuite-dev] fixed ShopDB::login


From: DAVILEAL
Subject: Re: [ShopSuite-dev] fixed ShopDB::login
Date: Tue, 20 Nov 2001 15:03:23 +0100

> login contained nasty bug: c++ string class function data() returned
> internal char *, but it didn't have to be NULL-terminated.
> It was responsible for nasty bugs like:
>        Can't log in to the data base: ERROR: Missing '=' after 
> so8859-14' in conninfo
> 
> I changed login() to use asprintf instead of c++ string class for
> creating `char *dbstring'.
> 
> this version is also smaller that previous one.

OK. Agreed.



P.S.: I have woody, as you know. So postgresql is upgraded to 7.1.3. I 
have browsed the doc/ and found an example of trigger + notify. I will 
send you the prototype of shop.psql (trigger-notify) tomorrow.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]