Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Alex Peshkoff
On 04/03/2016 05:04 PM, Dimitry Sibiryakov wrote: > Hello, All. > > While working on unicode file names (repo aafemt/firebird, branch > unicode), I've stuck > on comparisons of file names (during databases.conf handling for example). > On Windows it is supposed to be case insensitive,

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Dmitry Yemanov
04.04.2016 12:47, Alex Peshkoff wrote: > Method 3 is good when talking about comparison, but for all other usages > we will have conversion overhead almost for nothing. What other usages do you have in mind? File is opened usually once, conversion is OK here. Monitoring may deal with UTF8, loggi

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Alex Peshkoff
On 04/04/2016 12:56 PM, Dmitry Yemanov wrote: > 04.04.2016 12:47, Alex Peshkoff wrote: > >> Method 3 is good when talking about comparison, but for all other usages >> we will have conversion overhead almost for nothing. > What other usages do you have in mind? File is opened usually once, > conver

Re: [Firebird-devel] Firebird 2.5 Patch to compile with Visual Studio 2015

2016-04-04 Thread marius adrian popa
I have updated the patch https://gerrit.libreoffice.org/23738 with mod_loader changes for vc14 https://github.com/FirebirdSQL/firebird/commit/d520ac3fcdd48fa62155f02453aa8a6865e1cd72 removed external/firebird/firebird-vs2013.patch.1 is not needed anymore in 2.5.5 (applied upstream) On Fri, Apr

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Dimitry Sibiryakov
04.04.2016 11:47, Alex Peshkoff wrote: > If we store all strings in uppercase > this will end with creating of DB.FDB instead db.fdb. Or I miss > something here? Yes. That's how Firebird already works for ages. > Method 3 is good when talking about comparison, but for all other usages > we wil

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Alex Peshkoff
On 04/04/2016 07:00 PM, Dimitry Sibiryakov wrote: > 04.04.2016 11:47, Alex Peshkoff wrote: >> If we store all strings in uppercase >> this will end with creating of DB.FDB instead db.fdb. Or I miss >> something here? > Yes. That's how Firebird already works for ages. What a joke! That's what w

[Firebird-devel] [FB-Tracker] Created: (CORE-5184) Assertion in cloop dispatcher when trying to save exception information in status interface

2016-04-04 Thread Alexander Peshkov (JIRA)
Assertion in cloop dispatcher when trying to save exception information in status interface --- Key: CORE-5184 URL: http://tracker.firebirdsql.org/browse/CORE-5184

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Dimitry Sibiryakov
04.04.2016 11:56, Dmitry Yemanov wrote: > File is opened usually once, conversion is OK here. File management routines accept wchar_t, no conversion is required. -- WBR, SD. -- Firebird-Devel mailing list, web int

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Dmitry Yemanov
04.04.2016 19:53, Dimitry Sibiryakov wrote: > 04.04.2016 11:56, Dmitry Yemanov wrote: >> File is opened usually once, conversion is OK here. > > File management routines accept wchar_t, no conversion is required. I thought you were speaking about UTF8. Dmitry

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Dimitry Sibiryakov
04.04.2016 20:35, Dmitry Yemanov wrote: > I thought you were speaking about UTF8. You answered about "Method 3" which was changing PathName to keep wchar_t inside on Windows. -- WBR, SD. -- Firebird-Devel mailin

Re: [Firebird-devel] Case-insensitive PathName comparison on Windows

2016-04-04 Thread Anthonys Lists
On 04/04/2016 17:00, Dimitry Sibiryakov wrote: > 04.04.2016 11:47, Alex Peshkoff wrote: >> If we store all strings in uppercase >> this will end with creating of DB.FDB instead db.fdb. Or I miss >> something here? > Yes. That's how Firebird already works for ages. > >> Method 3 is good when tal