/ Check-in [9960ba57]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not use the symbol "interrupt" since that is a reserved word in OpenWatcom. Ticket #2159. (CVS 3579)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9960ba576827f8ced6eac101313a481f2a2f4b69
User & Date: drh 2007-01-09 14:37:18
Context
2007-01-09
15:02
Updates tests and documentation to justify the behavior observed in ticket #2158. No changes to code. (CVS 3580) check-in: e1f7cf06 user: drh tags: trunk
14:37
Do not use the symbol "interrupt" since that is a reserved word in OpenWatcom. Ticket #2159. (CVS 3579) check-in: 9960ba57 user: drh tags: trunk
14:01
When an automatic re-prepare occurs, take care not to reset the internal schema symbol table. Ticket #2156. This change also includes some debugging enhancements. (CVS 3578) check-in: 43fe7fc1 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqlite3ext.h.

    11     11   *************************************************************************
    12     12   ** This header file defines the SQLite interface for use by
    13     13   ** shared libraries that want to be imported as extensions into
    14     14   ** an SQLite instance.  Shared libraries that intend to be loaded
    15     15   ** as extensions by SQLite should #include this file instead of 
    16     16   ** sqlite3.h.
    17     17   **
    18         -** @(#) $Id: sqlite3ext.h,v 1.7 2006/09/22 23:38:21 shess Exp $
           18  +** @(#) $Id: sqlite3ext.h,v 1.8 2007/01/09 14:37:18 drh Exp $
    19     19   */
    20     20   #ifndef _SQLITE3EXT_H_
    21     21   #define _SQLITE3EXT_H_
    22     22   #include "sqlite3.h"
    23     23   
    24     24   typedef struct sqlite3_api_routines sqlite3_api_routines;
    25     25   
................................................................................
    88     88     int  (*finalize)(sqlite3_stmt*pStmt);
    89     89     void  (*free)(void*);
    90     90     void  (*free_table)(char**result);
    91     91     int  (*get_autocommit)(sqlite3*);
    92     92     void * (*get_auxdata)(sqlite3_context*,int);
    93     93     int  (*get_table)(sqlite3*,const char*,char***,int*,int*,char**);
    94     94     int  (*global_recover)(void);
    95         -  void  (*interrupt)(sqlite3*);
           95  +  void  (*interruptx)(sqlite3*);
    96     96     sqlite_int64  (*last_insert_rowid)(sqlite3*);
    97     97     const char * (*libversion)(void);
    98     98     int  (*libversion_number)(void);
    99     99     void *(*malloc)(int);
   100    100     char * (*mprintf)(const char*,...);
   101    101     int  (*open)(const char*,sqlite3**);
   102    102     int  (*open16)(const void*,sqlite3**);
................................................................................
   218    218   #define sqlite3_finalize               sqlite3_api->finalize
   219    219   #define sqlite3_free                   sqlite3_api->free
   220    220   #define sqlite3_free_table             sqlite3_api->free_table
   221    221   #define sqlite3_get_autocommit         sqlite3_api->get_autocommit
   222    222   #define sqlite3_get_auxdata            sqlite3_api->get_auxdata
   223    223   #define sqlite3_get_table              sqlite3_api->get_table
   224    224   #define sqlite3_global_recover         sqlite3_api->global_recover
   225         -#define sqlite3_interrupt              sqlite3_api->interrupt
          225  +#define sqlite3_interrupt              sqlite3_api->interruptx
   226    226   #define sqlite3_last_insert_rowid      sqlite3_api->last_insert_rowid
   227    227   #define sqlite3_libversion             sqlite3_api->libversion
   228    228   #define sqlite3_libversion_number      sqlite3_api->libversion_number
   229    229   #define sqlite3_malloc                 sqlite3_api->malloc
   230    230   #define sqlite3_mprintf                sqlite3_api->mprintf
   231    231   #define sqlite3_open                   sqlite3_api->open
   232    232   #define sqlite3_open16                 sqlite3_api->open16