phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-developers] Bugs noticed when porting to sybase


From: Miles Lott
Subject: Re: [Phpgroupware-developers] Bugs noticed when porting to sybase
Date: Thu, 28 Mar 2002 06:37:11 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2

I would think that any changes you make would be in
either class.db_sybase.inc.php or by creating a new
class.schema_proc_sybase.inc.php.

As for the version, currentver is created by setup
reading from the phpgw_applications table.  If you
set that to 'version' then the api will never upgrade.
In any event, since this does work for almost
everyone, I would look elsewhere for the problem -
what was it again?

address@hidden wrote:

Hi!

Porting phpgroupware is going on.

I have a question that is maybe a bug report.
In setup/inc/class.setup_detection.inc.php, there is a variable called $setup_info['phpgwapi']['currentver']. I could not find where it is supposed to be initialized.

I initialized it in phpgwapi/setup/setup.inc with the same value as $setup_info['phpgwapi']['version'].

It works better, but I would like to know if I fixed a bug or if I just made a bad hack.


Another hack I need to do for sybase is to remove all ";" at the end of the queries. I do it easily with regex and it works well. But is it the right place to do that? Could there be something like $db->termination that would be set to ";" for mysql and "" for sybase?

Yves
--
homepage - http://ymettier.free.fr                   -
gtktalog - http://www.freesoftware.fsf.org/gtktalog  -
cardpics - http://www.freesoftware.fsf.org/cardpics/ -

--------------
Profitez de l'offre spéciale Tiscali Liberty Surf !
50% de temps en plus pendant 3 mois sur tous les forfaits Internet.

http://register.libertysurf.fr/subscribe_fr/signup.php3



_______________________________________________
Phpgroupware-developers mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/phpgroupware-developers






reply via email to

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