Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-06

Limit concurrent connections to Firebird DB

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Anybody know how I can limit concurrent connections to a Firebird DB via a FPC/Lazarus application. I am currently using FBLib as my database component, but info on any sql component will do.

Interbase used to have a Licensing API build into the database. Did Firebird inherit that?

Regards,
Graeme.

There's no place like 127.0.0.1
Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 8 lines
Hi, Anybody know how I can limit concurrent connections to a Firebird DB via a FPC/Lazarus application. I am currently using FBLib as my database component, but info on any sql component will do. Interbase used to have a Licensing API build into the database. Did Firebird inherit that?

Obviously not, since it is open source.

There is no way to limit this, unless you recode the Firebird Server. In your own program, you can simply keep a count of the number of connection components...

Michael.