Re: [PATCH] Support for MS-SQL and Sybase via FreeTDS

Alejandro Guerrieri <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Ok, I've downloaded Sybase SQL Anywhere 11 for Mac and did a few tests.

I can now officially confirm that my patch works for Sybase as well :)

I've only one small change on my dlr patch (already updated on my  
blog), because the ending ";" on the insert query caused problems on  
sybase. Other than that, my FreeTDS patch works perfect with Sybase.

Regards,
--
Alejandro Guerrieri
[email protected]



On 30/04/2009, at 15:36, Alexander Malysh wrote:

>
> Am 30.04.2009 um 15:06 schrieb Alejandro Guerrieri:
>
>> Of course the freetds dependency only applies if you use the --with- 
>> mssql switch (I know you know ;) ).
>
> yep, I know ;)
> Ok, seems MS-SQL support is possible only with FreeTDS... But you  
> wrote about Sybase support as well. Does this patch also adds Sybase
> support? I just don't see any config switch for sybase or I'm  
> missing something?
>
>> Speaking of dependencies, just a note: when running the ./ 
>> bootstrap.sh (to rebuild the configure script and other stuff) I've  
>> noticed the gettext development packages are needed. Maybe we  
>> should put a note somewhere about it? (Or maybe it is and I've  
>> missed it)
>
> maybe in README ;)
>
>>
>> Regards,
>> --
>> Alejandro Guerrieri
>> [email protected]
>>
>>>>
>>>> P.S. I'm not against FreeTDS but try to avoid avoidable  
>>>> dependencies ;)
>>>>
>>>> Am 28.04.2009 um 22:08 schrieb Alejandro Guerrieri:
>>>>
>>>>> Hi,
>>>>>
>>>>> I've createad a patch that implements dbpool support for MS-SQL  
>>>>> and Sybase DB's by using the ct-lib layer on FreeTDS libraries.  
>>>>> I've also implemented it on Sqlbox and works like a charm (I've  
>>>>> tried on OS X 10.5 and Linux Fedora Core 10 32-bit). I've only  
>>>>> tested it with MS-SQL Express on Windows XP, but it should  
>>>>> theoretically work with any ct-lib compatible DB Engine.
>>>>>
>>>>> Here's the patch with full description, installation  
>>>>> instructions and sample configuration.
>>>>>
>>>>> http://www.blogalex.com/archives/99
>>>>>
>>>>> Yes, I'll write the userguide patch if this has any chances of  
>>>>> getting into the main tree ;)
>>>>>
>>>>> Regards,
>>>>> --
>>>>> Alejandro Guerrieri
>>>>> [email protected]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.