Microsoft KB Archive/46267

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:23, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q46267 to Microsoft KB Archive/46267 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

INF: dbopen() Failure Can Abort SQL Server Program ID Number: Q46267

1.10 1.11 4.20 OS/2

Summary:

Under certain conditions, the DB-LIBRARY (db-lib) function dbopen() aborts application programs when an invalid user name and password are passed to it as parameters.

What the dbopen() function does on a login failure depends on what the error handler routine specifies on its RETURN statement.

RETURN(INT_EXIT) aborts the program. The other options are INT_CANCEL, which returns to the caller with FAIL status, and INT_CONTINUE, which retries once and then aborts. These codes are documented in the “Microsoft SQL Server Programmer’s Reference” (page 99 of the version 1.1 manual, page 112 of the version 1.11 manual, and page 167 of the version 4.2 manual). If no error handler is registered, the effect is the same as using RETURN(INT_CANCEL).

Additional reference words: 1.10 1.11 4.20 dblib