phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-developers] mssql-support


From: Sigurd Nes
Subject: Re: [Phpgroupware-developers] mssql-support
Date: Mon, 15 Nov 2004 07:30:50 +0100
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)

Sigurd Nes wrote:
I notice from the irc-log (date=20041113) that someone (kino) has
problem with the mssql-support.

Solution:
Just replace the class.db_mssql.inc.php with the one found in patch #3488
https://savannah.gnu.org/patch/?func=detailitem&item_id=3488

You should also apply the patch #3489  - db_addslashes

You will still have trouble with the installation due to a mssql related
bug in class.schema_proc.inc.php

On line 446 add

else
{
    $sBufNullable = ' NOT NULL';
}

This should be:
else
{
   $sBufNullable = ' NULL';
}

I believe there are also some problems with default values for
table-columns.

there is also  problems when columns is defined as type = auto when
inserting ID's during setup.

A workaround is to set these (affected) columns to int - and change them
back after installation.

At last: In general (especially important for mssql) - all addslashes()
should be changed to $db->db_addslashes()

Sigurd



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

Sigurd




reply via email to

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