Ignore:
Timestamp:
Feb 12, 2000, 12:54:25 AM (26 years ago)
Author:
bird
Message:

Preformance and corrections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/db.h

    r2759 r2761  
    1 /* $Id: db.h,v 1.3 2000-02-11 18:35:54 bird Exp $ */
     1/* $Id: db.h,v 1.4 2000-02-11 23:54:25 bird Exp $ */
    22/*
    33 * DB - contains all database routines
     
    1919*   Defined Constants                                                          *
    2020*******************************************************************************/
    21 #define NBR_FUNCTIONS   20
    22 #define NBR_AUTHORS     20
     21#define NBR_FUNCTIONS       20
     22#define NBR_AUTHORS         20
     23#define ALIAS_NULL          -1
     24#define ALIAS_DONTMIND      -2
     25
    2326
    2427/*******************************************************************************
     
    3639        long  cRefCodes;
    3740        long  alRefCode[NBR_FUNCTIONS];
     41        signed long  lImpDll; /* -1 is SQL-NULL, -2 is do not mind, >= 0 ref to dll. */
    3842
    3943        /* parameters */
     
    5862        signed long   alRefCode[NBR_FUNCTIONS];
    5963        signed long   alDllRefCode[NBR_FUNCTIONS];
     64        signed long   alAliasFn[NBR_FUNCTIONS]; /* -1 is SQL-NULL, -2 is do not mind, >= 0 ref to function. */
    6065    } FNFINDBUF, *PFNFINDBUF;
    6166
     
    8691                                                   BOOL fIgnoreOrdinal);
    8792    BOOL            _System dbFindFunction(const char *pszFunctionName,
    88                                            PFNFINDBUF pFnFindBuf);
     93                                           PFNFINDBUF pFnFindBuf,
     94                                           signed long lDll);
    8995    signed long     _System dbFindAuthor(const char *pszAuthor);
    9096    signed long     _System dbGetFunctionState(signed long lRefCode);
    9197    unsigned long   _System dbUpdateFunction(PFNDESC pFnDesc,
     98                                             signed long lDll,
    9299                                             char *pszError);
    93100    unsigned long   _System dbCreateHistory(char *pszError);
Note: See TracChangeset for help on using the changeset viewer.