Re: [Firebird-devel] isc_spb_version Call Without Global User?

2022-05-04 Thread Scott Morgan via Firebird-devel
On 5/4/22 08:29, Mark Rotteveel wrote: On 03-05-2022 18:56, Dimitry Sibiryakov wrote: Scott Morgan via Firebird-devel wrote 03.05.2022 18:29: What can you do to get the server's info if you only have per-DB user accounts?    Use isc_dpb_expected_db with your database name to inform Fir

[Firebird-devel] isc_spb_version Call Without Global User?

2022-05-03 Thread Scott Morgan via Firebird-devel
Just having a look at moving some old C API based code to work with FB4 and I'm lost on getting the server's version info if there aren't any global users created (e.g. SYSDBA) The isc_spb_version service call requires a user/password. If I do create a global user in security4.fdb, that works,

Re: [Firebird-devel] Tips for a strange bug in firebird integrated into LibreOffice

2021-09-03 Thread Scott Morgan via Firebird-devel
On 03/09/2021 11:49, Mike Kaganski wrote: > By the way: is there a way to work with isql using UTF-8 on Windows? Try using Windows Terminal, which is slowly being worked up to replace the old command terminal. It does properly support UTF8 (still need the 'chcp 65001'), and a few other good thing

[Firebird-devel] ibase.h vs interface.h

2021-01-07 Thread Scott Morgan via Firebird-devel
Just looking for some clarification: When writing c and C++ apps, what is the recommended API? If the answer is both, are there any trade-offs to be aware of? Scott Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Cancel isc_attach_database Before Timeout?

2020-09-21 Thread Scott Morgan via Firebird-devel
On 21/09/2020 16:31, Dimitry Sibiryakov wrote: > 21.09.2020 17:28, Scott Morgan via Firebird-devel wrote: >> Not as such, but it's relying on undefined behaviour (exiting an app >> whilst worker threads are still active) > >   On Windows it is defined behavior. Cal

Re: [Firebird-devel] Cancel isc_attach_database Before Timeout?

2020-09-21 Thread Scott Morgan via Firebird-devel
On 21/09/2020 16:15, Alex Peshkoff via Firebird-devel wrote: > On 2020-09-21 16:43, Scott Morgan via Firebird-devel wrote: > >> Would it do anything in a normal client situation? >> > > No. And looks like nothing is needed. Do you have any problems on client > when c

Re: [Firebird-devel] Cancel isc_attach_database Before Timeout?

2020-09-21 Thread Scott Morgan via Firebird-devel
On 21/09/2020 14:10, Alex Peshkoff via Firebird-devel wrote: > as long as you are going ti quit application fb_shutdown() will be fine > Reading here: https://firebirdsql.org/rlsnotesh/rnfb25-apiods-api.html#rnfb25-apiods-api-shtdn > Currently operational only for the embedded engine and > In

Re: [Firebird-devel] Cancel isc_attach_database Before Timeout?

2020-09-21 Thread Scott Morgan via Firebird-devel
On 21/09/2020 13:52, Dimitry Sibiryakov wrote: > 21.09.2020 13:14, Scott Morgan via Firebird-devel wrote: >> So, to be safe, is there a way to cancel the isc_attach_database call? > >   fb_cancel_operation(fb_cancel_abort) in ordinary cases, > I assume you just pass NULL as

[Firebird-devel] Cancel isc_attach_database Before Timeout?

2020-09-21 Thread Scott Morgan via Firebird-devel
Doing some work on FlameRobin, looking at it's DB connection code. Basically, it sets up a worker thread to run the isc_attach_database call, the main GUI thread showing an interface while it waits. The problem is, a user can cancel the connection attempt, as they are fickle like that. What to do

[Firebird-devel] Web site cert issue

2020-02-14 Thread Scott Morgan via Firebird-devel
Not sure if this is the right list for it, but the https://firebirdsql.org/ cert has expired. Somebody needs to kick the Let's Encrypt updater? Scott Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel