List Info

Thread: Re: cvs: pear /MDB2 package.php package_ibase.php package_mssql.php packag




Re: cvs: pear /MDB2 package.php package_ibase.php package_mssql.php packag
user name
2007-02-24 07:53:42
Lorenzo Alberton wrote:

> Anyway, I've already told you that I think that a
> fallback mechanism should be implemented because not
> everyone created the tables and indices within MDB2.
> I just realized that I can check if the index exists
> with an extra query, and eventually falling back
> to the original name without suffix, thus avoiding
> the extra parameter... I hadn't thought about that.
> 
> If you don't have a better solution, I'll revert
> my latest changes and implement the "extra
query"
> workaround.

Yeah, it might not have been thought out perfectly. But like
I said, 
users that do not care for this behavior should just disable
the option 
by setting the paramter to %s.

> BTW: what do you think about this one?
> http://pear.php.net/bu
gs/10024

I have added a comment.

regards,
Lukas

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


Re: cvs: pear /MDB2 package.php package_ibase.php package_mssql.php packag
user name
2007-02-25 05:38:20
Lukas Kahwe Smith wrote:
>> Anyway, I've already told you that I think that a
>> fallback mechanism should be implemented because
not
>> everyone created the tables and indices within
MDB2.
>> I just realized that I can check if the index
exists
>> with an extra query, and eventually falling back
>> to the original name without suffix, thus avoiding
>> the extra parameter... I hadn't thought about
that.
>>
>> If you don't have a better solution, I'll revert
>> my latest changes and implement the "extra
query"
>> workaround.

done. Please test.

> Yeah, it might not have been thought out perfectly. But
like I said, 
> users that do not care for this behavior should just
disable the option 
> by setting the paramter to %s.

that still doesn't cover the (frequent?) case
of having indices created sometimes with MDB2
and sometimes manually. The new code should take
care of this transparently.

Best regards,
-- 
Lorenzo Alberton
http://pear.php.net/us
er/quipo
____________________________________________________________
_______
Quipo Free Internet - 2 email, 150 Mb di spazio web e molto
di pił.
ADSL, Hardware & Software Online Store

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )