Re: [Firebird-devel] isc_arg_string in status vector

2022-03-02 Thread Adriano dos Santos Fernandes
On 3/2/22 05:17, Jiří Činčura wrote: >> But before attachment is done that does not happen and strings are >> returned as is (for example, error about non-existent file in Windows >> ANSI encoding). >> >> To convert charsets, database must be opened currently. > > That's sad. I'm facing exactly

Re: [Firebird-devel] Statement::verifyAccess of internal requests

2022-03-02 Thread Dmitry Yemanov
01.03.2022 21:33, Adriano dos Santos Fernandes wrote: Do we have any good reason to make this method do for internal requests everything it does for user's statement? Or could we start it with this? void Statement::verifyAccess(thread_db* tdbb) { if (flags & FLAG_INTERNAL)

Re: [Firebird-devel] Statement::verifyAccess of internal requests

2022-03-02 Thread Alex Peshkoff via Firebird-devel
On 3/1/22 21:33, Adriano dos Santos Fernandes wrote: Hi! Do we have any good reason to make this method do for internal requests everything it does for user's statement? Or could we start it with this? void Statement::verifyAccess(thread_db* tdbb) { if (flags & FLAG_INTERNAL)

Re: [Firebird-devel] Knowing whether fbclient supports isc_dpb_utf8_filename

2022-03-02 Thread Jiří Činčura
>isc_get_client_version() returns string with FB_BUILD_SUFFIX as last part. > It have value "Firebird 2.1" for FB 2.1, "Firebird 4.0" for FB 4 and so on. Thanks. That and small regex will do just fine. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web

Re: [Firebird-devel] isc_arg_string in status vector

2022-03-02 Thread Jiří Činčura
> But before attachment is done that does not happen and strings are > returned as is (for example, error about non-existent file in Windows > ANSI encoding). > > To convert charsets, database must be opened currently. That's sad. I'm facing exactly that now with isc_create_database. :( -- Mgr.