Subject | Re: Attempting Recovery With Services API |
---|---|
Author | inoffensive_2009 |
Post date | 2008-11-19T23:00:58Z |
--- In firebird-support@yahoogroups.com, "inoffensive_2009"
<larryl_hoo@...> wrote:
The service passed to isc_service_attach is an empty string, not
NULL.
I took the time to write a piece of code that would parse the SPB
string. This is being passed a version of 2, a current version of 2.
The first SPB cluster is the user name, with a parameter of 28, and
the correct character count.
The second cluster in the SPB string is the password, with a
parameter type of 29. The count and string also look ok.
But this is an embedded server, why should any of this cause an
error?
I'm just trying to get a database recovery, looking at two
different methods to find the path of least resistance.
What am I doing that's making is this so hard?
As always, I appreciate your assistance.
Larry
<larryl_hoo@...> wrote:
>< Snip >
> Hi Folks:
> Because this is an embedded application, I pass a NULL service toOops, typing without sleeping for a day.
> isc_service_attach() and the sbp buffer has the parameters for a
> partner user and a password.
>
> is "Service" the saem as "Server"? of am I missing soemthng.
The service passed to isc_service_attach is an empty string, not
NULL.
I took the time to write a piece of code that would parse the SPB
string. This is being passed a version of 2, a current version of 2.
The first SPB cluster is the user name, with a parameter of 28, and
the correct character count.
The second cluster in the SPB string is the password, with a
parameter type of 29. The count and string also look ok.
But this is an embedded server, why should any of this cause an
error?
I'm just trying to get a database recovery, looking at two
different methods to find the path of least resistance.
What am I doing that's making is this so hard?
As always, I appreciate your assistance.
Larry