Re: [Firebird-devel] win32 path_utils.cpp

2013-03-30 Thread Александр Пешков
Суббота, 30 марта 2013, 8:02 +01:00 от Mark Rotteveel : >On 30-3-2013 02:47, Adriano dos Santos Fernandes wrote: >> Hi! >> >> Looks like the functions on this file does not work correctly with the >> slash "/" separator. >> >> On the Windows kernel (but not always on cmd or GUI), this is a valid

[Firebird-devel] Monolithic ibase.h

2013-03-30 Thread Dimitry Sibiryakov
Hello, All. In my application I need to use Firebird and ODBC at the same time. In a CPP file I included ibase.h and sql.h to get declarations of ISC_TIMESTAMP and SQL_NUMERIC_STRUCT, but got compilation errors about conflicting macros such as SQL_TIMESTAMP. This is not a problem I ca

Re: [Firebird-devel] (Double) Metaphone?

2013-03-30 Thread Doychin Bondzhev
On 30.3.2013 г. 12:32 ч., Dimitry Sibiryakov wrote: 30.03.2013 11:27, m. Th. wrote: Do you actually read the source? No, I actually learn languages. So, I have no idea how to transliterate Russian "щ" or "ы" or Czech "ř". Hi, In Bulgaria we have transliteration rules which we use to t

Re: [Firebird-devel] autoconf/automake/libtool warnings

2013-03-30 Thread Treeve Jelbert
On Monday 25 March 2013 13:08:22 marius adrian popa wrote: > rename is done , please test for any breakings that works. the only remaining warnig is libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. it all builds ok > > On Mon, Mar 11, 2013 at 12:49 PM, Treeve Jelbert wro

Re: [Firebird-devel] (Double) Metaphone?

2013-03-30 Thread Mark Rotteveel
On 30-3-2013 10:02, m. Th. wrote: > MSSQL has it (see this for neat conversion from C++ to T-SQL) > > http://www.sqlmag.com/article/tsql3/double-metaphone-sounds-great-26094 Microsoft SQL Server doesn't have a double metaphone implementation. That article shows how you can implement it yourself.

Re: [Firebird-devel] (Double) Metaphone?

2013-03-30 Thread Dimitry Sibiryakov
30.03.2013 11:52, Paul Reeves wrote: > Yes, my initial reaction is that there needs to be a way of loading the > function according to the character set, otherwise it is limited to data > stored in the latin alphabet. But the principal is good. That's why I suggested him to implement such funct

Re: [Firebird-devel] (Double) Metaphone?

2013-03-30 Thread Paul Reeves
On Saturday 30 March 2013 11:32:07 Dimitry Sibiryakov wrote: > 30.03.2013 11:27, m. Th. wrote: > > Do you actually read the source? > >No, I actually learn languages. So, I have no idea how to transliterate > Russian "щ" or "ы" or Czech "ř". Yes, my initial reaction is that there needs to be a

Re: [Firebird-devel] (Double) Metaphone?

2013-03-30 Thread Dimitry Sibiryakov
30.03.2013 11:27, m. Th. wrote: > Do you actually read the source? No, I actually learn languages. So, I have no idea how to transliterate Russian "щ" or "ы" or Czech "ř". -- WBR, SD. -- Own the Future-Intel(R)

Re: [Firebird-devel] (Double) Metaphone?

2013-03-30 Thread m. Th.
On 30/3/2013 11:52 ??, Dimitry Sibiryakov wrote: It works with ASCII letters only, so looks like it is completely useless for languages different from English. From the source found at http://aspell.net/metaphone/dmetaph.cpp ... case 'Ç':

Re: [Firebird-devel] (Double) Metaphone?

2013-03-30 Thread Dimitry Sibiryakov
30.03.2013 10:02, m. Th. wrote: > Comments? It works with ASCII letters only, so looks like it is completely useless for languages different from English. Try to make an UDF with this function and demonstrate the results. -- WBR, SD. --

[Firebird-devel] (Double) Metaphone?

2013-03-30 Thread m. Th.
Hi, More and more lately it feels the need to have an aproximate (phonetic) search on character fields. In fact it is a common feature nowadays (thanks, Google) and the users want to see it also in their applications. PostgreSQL has it (see this for a neat implementation) http://www.postgres

Re: [Firebird-devel] win32 path_utils.cpp

2013-03-30 Thread Mark Rotteveel
On 30-3-2013 02:47, Adriano dos Santos Fernandes wrote: > Hi! > > Looks like the functions on this file does not work correctly with the > slash "/" separator. > > On the Windows kernel (but not always on cmd or GUI), this is a valid > path separator, and IMO Firebird should accept and work with it