On 03/16/2016 08:17 PM, Dimitry Sibiryakov wrote:
> 16.03.2016 16:14, Александр Пешков wrote:
>> it works another way - not like you describe
>
> Ok, can you, please, point me why attached program doesn't work with
> vanilla FB3?..
>
Because it's buggy. isc_spb_utf8_filename should not be present in spb
for start - style of filenames definition is predefined when you attach
to service.
ISC_SCHAR qry[] = {isc_action_svc_db_stats,
isc_spb_dbname, 8, 0,
0xD0, 0x90, 0xD0, 0x91, 0xD0, 0x92, 0xD0, 0x93,
// new_dbname[0], new_dbname[1], new_dbname[2],
new_dbname[3],
// new_dbname[4], new_dbname[5], new_dbname[6],
new_dbname[7],
// isc_spb_dbname, 4, 0,
// '�','�','�','�',
isc_spb_options, isc_spb_sts_hdr_pages, 0, 0, 0
// isc_spb_utf8_filename, 0
};
In this way it works for me - but it will be very good idea to try on
non-utf8 OS. My kernel does not let create files in CP1251 (very
non-standard build, typically kernel does it).
I suppose this answers most of your questions from prev email except
probably:
> Another funny thing: isc_spb_dbname in isc_action_svc_db_stats
> block is not recognized
> as a string at all. Is it intended to be a backward compatibility bug?
No - it's our as always wonderful diagnostics. Any unrecognised tag
(isc_spb_utf8_filename in your case) causes a message that service has
no parameters. A candidate for fix.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel