Documentation
¶
Overview ¶
Package sqlite is an in-process implementation of a self-contained, serverless, zero-configuration, transactional SQL database engine. (Work In Progress)
/****************************************************************************** ** This file is an amalgamation of many separate C source files from SQLite ** version 3.19.3. By combining all the individual C code files into this ** single large file, the entire code can be compiled as a single translation ** unit. This allows many compilers to do optimizations that would not be ** possible if the files were compiled separately. Performance improvements ** of 5% or more are commonly seen when SQLite is compiled as a single ** translation unit. ** ** This file is all you need to compile SQLite. To use SQLite in other ** programs, you need this file and the "sqlite3.h" header file that defines ** the programming interface to the SQLite library. (If you do not have ** the "sqlite3.h" header file at hand, you will find a copy embedded within ** the text of this file. Search for "Begin file sqlite3.h" to find the start ** of the embedded sqlite3.h header file.) Additional code files may be needed ** if you want a wrapper to interface SQLite with your choice of programming ** language. The code for the "sqlite3" command-line shell is also in a ** separate file. This file contains only code for the core SQLite library. */
Index ¶
- Constants
- Variables
- func X_start(tls *crt.TLS, _argc int32, _argv **int8)
- func Xmain(tls *crt.TLS, _argc int32, _argv **int8) (r0 int32)
- func Xsqlite3PendingByte() int32
- func Xsqlite3_aggregate_context(tls *crt.TLS, _p *Xsqlite3_context, _nByte int32) (r0 unsafe.Pointer)
- func Xsqlite3_aggregate_count(tls *crt.TLS, _p *Xsqlite3_context) (r0 int32)
- func Xsqlite3_auto_extension(tls *crt.TLS, _xInit func(*crt.TLS)) (r0 int32)
- func Xsqlite3_backup_finish(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)
- func Xsqlite3_backup_pagecount(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)
- func Xsqlite3_backup_remaining(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)
- func Xsqlite3_backup_step(tls *crt.TLS, _p *Xsqlite3_backup, _nPage int32) (r0 int32)
- func Xsqlite3_bind_blob(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData unsafe.Pointer, ...) (r0 int32)
- func Xsqlite3_bind_blob64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData unsafe.Pointer, ...) (r0 int32)
- func Xsqlite3_bind_double(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _rValue float64) (r0 int32)
- func Xsqlite3_bind_int(tls *crt.TLS, _p unsafe.Pointer, _i int32, _iValue int32) (r0 int32)
- func Xsqlite3_bind_int64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _iValue int64) (r0 int32)
- func Xsqlite3_bind_null(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 int32)
- func Xsqlite3_bind_parameter_count(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_bind_parameter_index(tls *crt.TLS, _pStmt unsafe.Pointer, _zName *int8) (r0 int32)
- func Xsqlite3_bind_parameter_name(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 *int8)
- func Xsqlite3_bind_text(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData *int8, _nData int32, ...) (r0 int32)
- func Xsqlite3_bind_text16(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData unsafe.Pointer, ...) (r0 int32)
- func Xsqlite3_bind_text64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData *int8, _nData uint64, ...) (r0 int32)
- func Xsqlite3_bind_value(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _pValue *XMem) (r0 int32)
- func Xsqlite3_bind_zeroblob(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _n int32) (r0 int32)
- func Xsqlite3_bind_zeroblob64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _n uint64) (r0 int32)
- func Xsqlite3_blob_bytes(tls *crt.TLS, _pBlob unsafe.Pointer) (r0 int32)
- func Xsqlite3_blob_close(tls *crt.TLS, _pBlob unsafe.Pointer) (r0 int32)
- func Xsqlite3_blob_open(tls *crt.TLS, _db *Xsqlite3, _zDb *int8, _zTable *int8, _zColumn *int8, ...) (r0 int32)
- func Xsqlite3_blob_read(tls *crt.TLS, _pBlob unsafe.Pointer, _z unsafe.Pointer, _n int32, ...) (r0 int32)
- func Xsqlite3_blob_reopen(tls *crt.TLS, _pBlob unsafe.Pointer, _iRow int64) (r0 int32)
- func Xsqlite3_blob_write(tls *crt.TLS, _pBlob unsafe.Pointer, _z unsafe.Pointer, _n int32, ...) (r0 int32)
- func Xsqlite3_busy_handler(tls *crt.TLS, _db *Xsqlite3, ...) (r0 int32)
- func Xsqlite3_busy_timeout(tls *crt.TLS, _db *Xsqlite3, _ms int32) (r0 int32)
- func Xsqlite3_cancel_auto_extension(tls *crt.TLS, _xInit func(*crt.TLS)) (r0 int32)
- func Xsqlite3_changes(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_clear_bindings(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_close(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_close_v2(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_collation_needed(tls *crt.TLS, _db *Xsqlite3, _pCollNeededArg unsafe.Pointer, ...) (r0 int32)
- func Xsqlite3_collation_needed16(tls *crt.TLS, _db *Xsqlite3, _pCollNeededArg unsafe.Pointer, ...) (r0 int32)
- func Xsqlite3_column_blob(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 unsafe.Pointer)
- func Xsqlite3_column_bytes(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 int32)
- func Xsqlite3_column_bytes16(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 int32)
- func Xsqlite3_column_count(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_column_decltype(tls *crt.TLS, _pStmt unsafe.Pointer, _N int32) (r0 *int8)
- func Xsqlite3_column_decltype16(tls *crt.TLS, _pStmt unsafe.Pointer, _N int32) (r0 unsafe.Pointer)
- func Xsqlite3_column_double(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 float64)
- func Xsqlite3_column_int(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 int32)
- func Xsqlite3_column_int64(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 int64)
- func Xsqlite3_column_name(tls *crt.TLS, _pStmt unsafe.Pointer, _N int32) (r0 *int8)
- func Xsqlite3_column_name16(tls *crt.TLS, _pStmt unsafe.Pointer, _N int32) (r0 unsafe.Pointer)
- func Xsqlite3_column_text(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 *uint8)
- func Xsqlite3_column_text16(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 unsafe.Pointer)
- func Xsqlite3_column_type(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32) (r0 int32)
- func Xsqlite3_commit_hook(tls *crt.TLS, _db *Xsqlite3, _xCallback func(*crt.TLS, unsafe.Pointer) int32, ...) (r0 unsafe.Pointer)
- func Xsqlite3_compileoption_get(tls *crt.TLS, _N int32) (r0 *int8)
- func Xsqlite3_compileoption_used(tls *crt.TLS, _zOptName *int8) (r0 int32)
- func Xsqlite3_complete(tls *crt.TLS, _zSql *int8) (r0 int32)
- func Xsqlite3_complete16(tls *crt.TLS, _zSql unsafe.Pointer) (r0 int32)
- func Xsqlite3_config(tls *crt.TLS, _op int32, args ...interface{}) (r0 int32)
- func Xsqlite3_create_collation(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _enc int32, _pCtx unsafe.Pointer, ...) (r0 int32)
- func Xsqlite3_create_collation16(tls *crt.TLS, _db *Xsqlite3, _zName unsafe.Pointer, _enc int32, ...) (r0 int32)
- func Xsqlite3_create_collation_v2(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _enc int32, _pCtx unsafe.Pointer, ...) (r0 int32)
- func Xsqlite3_create_function(tls *crt.TLS, _db *Xsqlite3, _zFunc *int8, _nArg int32, _enc int32, ...) (r0 int32)
- func Xsqlite3_create_function16(tls *crt.TLS, _db *Xsqlite3, _zFunctionName unsafe.Pointer, _nArg int32, ...) (r0 int32)
- func Xsqlite3_create_function_v2(tls *crt.TLS, _db *Xsqlite3, _zFunc *int8, _nArg int32, _enc int32, ...) (r0 int32)
- func Xsqlite3_create_module(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _pModule *Xsqlite3_module, ...) (r0 int32)
- func Xsqlite3_create_module_v2(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _pModule *Xsqlite3_module, ...) (r0 int32)
- func Xsqlite3_data_count(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_db_cacheflush(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_db_config(tls *crt.TLS, _db *Xsqlite3, _op int32, args ...interface{}) (r0 int32)
- func Xsqlite3_db_filename(tls *crt.TLS, _db *Xsqlite3, _zDbName *int8) (r0 *int8)
- func Xsqlite3_db_readonly(tls *crt.TLS, _db *Xsqlite3, _zDbName *int8) (r0 int32)
- func Xsqlite3_db_release_memory(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_db_status(tls *crt.TLS, _db *Xsqlite3, _op int32, _pCurrent *int32, _pHighwater *int32, ...) (r0 int32)
- func Xsqlite3_declare_vtab(tls *crt.TLS, _db *Xsqlite3, _zCreateTable *int8) (r0 int32)
- func Xsqlite3_enable_load_extension(tls *crt.TLS, _db *Xsqlite3, _onoff int32) (r0 int32)
- func Xsqlite3_enable_shared_cache(tls *crt.TLS, _enable int32) (r0 int32)
- func Xsqlite3_errcode(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_errmsg(tls *crt.TLS, _db *Xsqlite3) (r0 *int8)
- func Xsqlite3_errmsg16(tls *crt.TLS, _db *Xsqlite3) (r0 unsafe.Pointer)
- func Xsqlite3_errstr(tls *crt.TLS, _rc int32) (r0 *int8)
- func Xsqlite3_exec(tls *crt.TLS, _db *Xsqlite3, _zSql *int8, ...) (r0 int32)
- func Xsqlite3_expanded_sql(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 *int8)
- func Xsqlite3_expired(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_extended_errcode(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_extended_result_codes(tls *crt.TLS, _db *Xsqlite3, _onoff int32) (r0 int32)
- func Xsqlite3_file_control(tls *crt.TLS, _db *Xsqlite3, _zDbName *int8, _op int32, _pArg unsafe.Pointer) (r0 int32)
- func Xsqlite3_finalize(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_free(tls *crt.TLS, _p unsafe.Pointer)
- func Xsqlite3_free_table(tls *crt.TLS, _azResult **int8)
- func Xsqlite3_get_autocommit(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_get_auxdata(tls *crt.TLS, _pCtx *Xsqlite3_context, _iArg int32) (r0 unsafe.Pointer)
- func Xsqlite3_get_table(tls *crt.TLS, _db *Xsqlite3, _zSql *int8, _pazResult ***int8, _pnRow *int32, ...) (r0 int32)
- func Xsqlite3_global_recover(tls *crt.TLS) (r0 int32)
- func Xsqlite3_initialize(tls *crt.TLS) (r0 int32)
- func Xsqlite3_interrupt(tls *crt.TLS, _db *Xsqlite3)
- func Xsqlite3_last_insert_rowid(tls *crt.TLS, _db *Xsqlite3) (r0 int64)
- func Xsqlite3_libversion(tls *crt.TLS) (r0 *int8)
- func Xsqlite3_libversion_number(tls *crt.TLS) (r0 int32)
- func Xsqlite3_limit(tls *crt.TLS, _db *Xsqlite3, _limitId int32, _newLimit int32) (r0 int32)
- func Xsqlite3_load_extension(tls *crt.TLS, _db *Xsqlite3, _zFile *int8, _zProc *int8, _pzErrMsg **int8) (r0 int32)
- func Xsqlite3_log(tls *crt.TLS, _iErrCode int32, _zFormat *int8, args ...interface{})
- func Xsqlite3_malloc(tls *crt.TLS, _n int32) (r0 unsafe.Pointer)
- func Xsqlite3_malloc64(tls *crt.TLS, _n uint64) (r0 unsafe.Pointer)
- func Xsqlite3_memory_alarm(tls *crt.TLS, _xCallback func(*crt.TLS, unsafe.Pointer, int64, int32), ...) (r0 int32)
- func Xsqlite3_memory_highwater(tls *crt.TLS, _resetFlag int32) (r0 int64)
- func Xsqlite3_memory_used(tls *crt.TLS) (r0 int64)
- func Xsqlite3_mprintf(tls *crt.TLS, _zFormat *int8, args ...interface{}) (r0 *int8)
- func Xsqlite3_msize(tls *crt.TLS, _p unsafe.Pointer) (r0 uint64)
- func Xsqlite3_mutex_enter(tls *crt.TLS, _p *Xsqlite3_mutex)
- func Xsqlite3_mutex_free(tls *crt.TLS, _p *Xsqlite3_mutex)
- func Xsqlite3_mutex_held(tls *crt.TLS, _p *Xsqlite3_mutex) (r0 int32)
- func Xsqlite3_mutex_leave(tls *crt.TLS, _p *Xsqlite3_mutex)
- func Xsqlite3_mutex_notheld(tls *crt.TLS, _p *Xsqlite3_mutex) (r0 int32)
- func Xsqlite3_mutex_try(tls *crt.TLS, _p *Xsqlite3_mutex) (r0 int32)
- func Xsqlite3_next_stmt(tls *crt.TLS, _pDb *Xsqlite3, _pStmt unsafe.Pointer) (r0 unsafe.Pointer)
- func Xsqlite3_open(tls *crt.TLS, _zFilename *int8, _ppDb **Xsqlite3) (r0 int32)
- func Xsqlite3_open16(tls *crt.TLS, _zFilename unsafe.Pointer, _ppDb **Xsqlite3) (r0 int32)
- func Xsqlite3_open_v2(tls *crt.TLS, _filename *int8, _ppDb **Xsqlite3, _flags int32, _zVfs *int8) (r0 int32)
- func Xsqlite3_os_end(tls *crt.TLS) (r0 int32)
- func Xsqlite3_os_init(tls *crt.TLS) (r0 int32)
- func Xsqlite3_overload_function(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _nArg int32) (r0 int32)
- func Xsqlite3_prepare(tls *crt.TLS, _db *Xsqlite3, _zSql *int8, _nBytes int32, ...) (r0 int32)
- func Xsqlite3_prepare16(tls *crt.TLS, _db *Xsqlite3, _zSql unsafe.Pointer, _nBytes int32, ...) (r0 int32)
- func Xsqlite3_prepare16_v2(tls *crt.TLS, _db *Xsqlite3, _zSql unsafe.Pointer, _nBytes int32, ...) (r0 int32)
- func Xsqlite3_prepare_v2(tls *crt.TLS, _db *Xsqlite3, _zSql *int8, _nBytes int32, ...) (r0 int32)
- func Xsqlite3_profile(tls *crt.TLS, _db *Xsqlite3, ...) (r0 unsafe.Pointer)
- func Xsqlite3_progress_handler(tls *crt.TLS, _db *Xsqlite3, _nOps int32, ...)
- func Xsqlite3_randomness(tls *crt.TLS, _N int32, _pBuf unsafe.Pointer)
- func Xsqlite3_realloc(tls *crt.TLS, _pOld unsafe.Pointer, _n int32) (r0 unsafe.Pointer)
- func Xsqlite3_realloc64(tls *crt.TLS, _pOld unsafe.Pointer, _n uint64) (r0 unsafe.Pointer)
- func Xsqlite3_release_memory(tls *crt.TLS, _n int32) (r0 int32)
- func Xsqlite3_reset(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_reset_auto_extension(tls *crt.TLS)
- func Xsqlite3_result_blob(tls *crt.TLS, _pCtx *Xsqlite3_context, _z unsafe.Pointer, _n int32, ...)
- func Xsqlite3_result_blob64(tls *crt.TLS, _pCtx *Xsqlite3_context, _z unsafe.Pointer, _n uint64, ...)
- func Xsqlite3_result_double(tls *crt.TLS, _pCtx *Xsqlite3_context, _rVal float64)
- func Xsqlite3_result_error(tls *crt.TLS, _pCtx *Xsqlite3_context, _z *int8, _n int32)
- func Xsqlite3_result_error16(tls *crt.TLS, _pCtx *Xsqlite3_context, _z unsafe.Pointer, _n int32)
- func Xsqlite3_result_error_code(tls *crt.TLS, _pCtx *Xsqlite3_context, _errCode int32)
- func Xsqlite3_result_error_nomem(tls *crt.TLS, _pCtx *Xsqlite3_context)
- func Xsqlite3_result_error_toobig(tls *crt.TLS, _pCtx *Xsqlite3_context)
- func Xsqlite3_result_int(tls *crt.TLS, _pCtx *Xsqlite3_context, _iVal int32)
- func Xsqlite3_result_int64(tls *crt.TLS, _pCtx *Xsqlite3_context, _iVal int64)
- func Xsqlite3_result_null(tls *crt.TLS, _pCtx *Xsqlite3_context)
- func Xsqlite3_result_subtype(tls *crt.TLS, _pCtx *Xsqlite3_context, _eSubtype uint32)
- func Xsqlite3_result_text(tls *crt.TLS, _pCtx *Xsqlite3_context, _z *int8, _n int32, ...)
- func Xsqlite3_result_text16(tls *crt.TLS, _pCtx *Xsqlite3_context, _z unsafe.Pointer, _n int32, ...)
- func Xsqlite3_result_text16be(tls *crt.TLS, _pCtx *Xsqlite3_context, _z unsafe.Pointer, _n int32, ...)
- func Xsqlite3_result_text16le(tls *crt.TLS, _pCtx *Xsqlite3_context, _z unsafe.Pointer, _n int32, ...)
- func Xsqlite3_result_text64(tls *crt.TLS, _pCtx *Xsqlite3_context, _z *int8, _n uint64, ...)
- func Xsqlite3_result_value(tls *crt.TLS, _pCtx *Xsqlite3_context, _pValue *XMem)
- func Xsqlite3_result_zeroblob(tls *crt.TLS, _pCtx *Xsqlite3_context, _n int32)
- func Xsqlite3_result_zeroblob64(tls *crt.TLS, _pCtx *Xsqlite3_context, _n uint64) (r0 int32)
- func Xsqlite3_rollback_hook(tls *crt.TLS, _db *Xsqlite3, _xCallback func(*crt.TLS, unsafe.Pointer), ...) (r0 unsafe.Pointer)
- func Xsqlite3_set_authorizer(tls *crt.TLS, _db *Xsqlite3, ...) (r0 int32)
- func Xsqlite3_set_auxdata(tls *crt.TLS, _pCtx *Xsqlite3_context, _iArg int32, _pAux unsafe.Pointer, ...)
- func Xsqlite3_set_last_insert_rowid(tls *crt.TLS, _db *Xsqlite3, _iRowid int64)
- func Xsqlite3_shutdown(tls *crt.TLS) (r0 int32)
- func Xsqlite3_sleep(tls *crt.TLS, _ms int32) (r0 int32)
- func Xsqlite3_snprintf(tls *crt.TLS, _n int32, _zBuf *int8, _zFormat *int8, args ...interface{}) (r0 *int8)
- func Xsqlite3_soft_heap_limit(tls *crt.TLS, _n int32)
- func Xsqlite3_soft_heap_limit64(tls *crt.TLS, _n int64) (r0 int64)
- func Xsqlite3_sourceid(tls *crt.TLS) (r0 *int8)
- func Xsqlite3_sql(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 *int8)
- func Xsqlite3_status(tls *crt.TLS, _op int32, _pCurrent *int32, _pHighwater *int32, ...) (r0 int32)
- func Xsqlite3_status64(tls *crt.TLS, _op int32, _pCurrent *int64, _pHighwater *int64, ...) (r0 int32)
- func Xsqlite3_step(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_stmt_busy(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_stmt_readonly(tls *crt.TLS, _pStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_stmt_status(tls *crt.TLS, _pStmt unsafe.Pointer, _op int32, _resetFlag int32) (r0 int32)
- func Xsqlite3_strglob(tls *crt.TLS, _zGlobPattern *int8, _zString *int8) (r0 int32)
- func Xsqlite3_stricmp(tls *crt.TLS, _zLeft *int8, _zRight *int8) (r0 int32)
- func Xsqlite3_strlike(tls *crt.TLS, _zPattern *int8, _zStr *int8, _esc uint32) (r0 int32)
- func Xsqlite3_strnicmp(tls *crt.TLS, _zLeft *int8, _zRight *int8, _N int32) (r0 int32)
- func Xsqlite3_system_errno(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_table_column_metadata(tls *crt.TLS, _db *Xsqlite3, _zDbName *int8, _zTableName *int8, ...) (r0 int32)
- func Xsqlite3_test_control(tls *crt.TLS, _op int32, args ...interface{}) (r0 int32)
- func Xsqlite3_thread_cleanup(tls *crt.TLS)
- func Xsqlite3_threadsafe(tls *crt.TLS) (r0 int32)
- func Xsqlite3_total_changes(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_trace(tls *crt.TLS, _db *Xsqlite3, _xTrace func(*crt.TLS, unsafe.Pointer, *int8), ...) (r0 unsafe.Pointer)
- func Xsqlite3_trace_v2(tls *crt.TLS, _db *Xsqlite3, _mTrace uint32, ...) (r0 int32)
- func Xsqlite3_transfer_bindings(tls *crt.TLS, _pFromStmt unsafe.Pointer, _pToStmt unsafe.Pointer) (r0 int32)
- func Xsqlite3_update_hook(tls *crt.TLS, _db *Xsqlite3, ...) (r0 unsafe.Pointer)
- func Xsqlite3_uri_boolean(tls *crt.TLS, _zFilename *int8, _zParam *int8, _bDflt int32) (r0 int32)
- func Xsqlite3_uri_int64(tls *crt.TLS, _zFilename *int8, _zParam *int8, _bDflt int64) (r0 int64)
- func Xsqlite3_uri_parameter(tls *crt.TLS, _zFilename *int8, _zParam *int8) (r0 *int8)
- func Xsqlite3_user_data(tls *crt.TLS, _p *Xsqlite3_context) (r0 unsafe.Pointer)
- func Xsqlite3_value_blob(tls *crt.TLS, _pVal *XMem) (r0 unsafe.Pointer)
- func Xsqlite3_value_bytes(tls *crt.TLS, _pVal *XMem) (r0 int32)
- func Xsqlite3_value_bytes16(tls *crt.TLS, _pVal *XMem) (r0 int32)
- func Xsqlite3_value_double(tls *crt.TLS, _pVal *XMem) (r0 float64)
- func Xsqlite3_value_free(tls *crt.TLS, _pOld *XMem)
- func Xsqlite3_value_int(tls *crt.TLS, _pVal *XMem) (r0 int32)
- func Xsqlite3_value_int64(tls *crt.TLS, _pVal *XMem) (r0 int64)
- func Xsqlite3_value_numeric_type(tls *crt.TLS, _pVal *XMem) (r0 int32)
- func Xsqlite3_value_subtype(tls *crt.TLS, _pVal *XMem) (r0 uint32)
- func Xsqlite3_value_text(tls *crt.TLS, _pVal *XMem) (r0 *uint8)
- func Xsqlite3_value_text16(tls *crt.TLS, _pVal *XMem) (r0 unsafe.Pointer)
- func Xsqlite3_value_text16be(tls *crt.TLS, _pVal *XMem) (r0 unsafe.Pointer)
- func Xsqlite3_value_text16le(tls *crt.TLS, _pVal *XMem) (r0 unsafe.Pointer)
- func Xsqlite3_value_type(tls *crt.TLS, _pVal *XMem) (r0 int32)
- func Xsqlite3_vfs_register(tls *crt.TLS, _pVfs *Xsqlite3_vfs, _makeDflt int32) (r0 int32)
- func Xsqlite3_vfs_unregister(tls *crt.TLS, _pVfs *Xsqlite3_vfs) (r0 int32)
- func Xsqlite3_vmprintf(tls *crt.TLS, _zFormat *int8, _ap []interface{}) (r0 *int8)
- func Xsqlite3_vsnprintf(tls *crt.TLS, _n int32, _zBuf *int8, _zFormat *int8, _ap []interface{}) (r0 *int8)
- func Xsqlite3_vtab_config(tls *crt.TLS, _db *Xsqlite3, _op int32, args ...interface{}) (r0 int32)
- func Xsqlite3_vtab_on_conflict(tls *crt.TLS, _db *Xsqlite3) (r0 int32)
- func Xsqlite3_wal_autocheckpoint(tls *crt.TLS, _db *Xsqlite3, _nFrame int32) (r0 int32)
- func Xsqlite3_wal_checkpoint(tls *crt.TLS, _db *Xsqlite3, _zDb *int8) (r0 int32)
- func Xsqlite3_wal_checkpoint_v2(tls *crt.TLS, _db *Xsqlite3, _zDb *int8, _eMode int32, _pnLog *int32, ...) (r0 int32)
- func Xsqlite3_wal_hook(tls *crt.TLS, _db *Xsqlite3, ...) (r0 unsafe.Pointer)
- type TAggInfo_col
- type TAggInfo_func
- type TBenignMallocHooks
- type TCte
- type TEncName
- type TExprList_item
- type THavingToWhereCtx
- type TIdList_item
- type TIdxCover
- type TInLoop
- type TMem0Global
- type TOp2
- type TOpenMode
- type TPCacheGlobal
- type TReusableSpace
- type TRowSetChunk
- type TRowSetEntry
- type TSqlite3Config
- type TSrcCount
- type TSrcList_item
- type TSublist
- type TVdbe
- type TWalSegment
- type T_ht
- type TcompareInfo
- type Tflock
- type Tsqlite3AutoExtList
- type Tsqlite3PrngType
- type Tsqlite3StatType
- type Tsqlite3_index_constraint
- type Tsqlite3_index_constraint_usage
- type Tsqlite3_index_orderby
- type TunixFileId
- type TunixShm
- type Tunix_syscall
- type TyColCache
- type XAggInfo
- type XAuthContext
- type XAutoincInfo
- type XAuxData
- type XBitvec
- type XBtCursor
- type XBtLock
- type XBtShared
- type XBtree
- type XBtreePayload
- type XCellArray
- type XCellInfo
- type XCollSeq
- type XColumn
- type XCountCtx
- type XDateTime
- type XDb
- type XDbFixer
- type XDistinctCtx
- type XExpr
- type XExprList
- type XExprSpan
- type XFKey
- type XFileChunk
- type XFuncDef
- type XFuncDefHash
- type XFuncDestructor
- type XHash
- type XHashElem
- type XIdList
- type XIdxExprTrans
- type XIncrMerger
- type XIncrblob
- type XIndex
- type XInitData
- type XIntegrityCk
- type XKeyInfo
- type XMem
- type XMemJournal
- type XMemPage
- type XMergeEngine
- type XModule
- type XNameContext
- type XPCache
- type XPCache1
- type XPGroup
- type XPager
- type XPagerSavepoint
- type XParse
- type XPgHdr
- type XPgHdr1
- type XPmaReader
- type XPmaWriter
- type XPragmaName
- type XPragmaVtab
- type XPragmaVtabCursor
- type XPrintfArguments
- type XRowSet
- type XSQLiteThread
- type XSavepoint
- type XSchema
- type XScratchFreeslot
- type XSelect
- type XSelectDest
- type XSortCtx
- type XSortSubtask
- type XSorterFile
- type XSorterRecord
- type XSrcList
- type XStat4Accum
- type XStrAccum
- type XSubProgram
- type XSubstContext
- type XSumCtx
- type XTabResult
- type XTable
- type XTableLock
- type XToken
- type XTrigger
- type XTriggerPrg
- type XTriggerStep
- type XUnixUnusedFd
- type XUnpackedRecord
- type XVTable
- type XVdbeCursor
- type XVdbeFrame
- type XVdbeOp
- type XVdbeOpIter
- type XVdbeOpList
- type XVdbeSorter
- type XVtabCtx
- type XWal
- type XWalCkptInfo
- type XWalIndexHdr
- type XWalIterator
- type XWalWriter
- type XWalker
- type XWhereAndInfo
- type XWhereClause
- type XWhereInfo
- type XWhereLevel
- type XWhereLoop
- type XWhereLoopBuilder
- type XWhereMaskSet
- type XWhereOrCost
- type XWhereOrInfo
- type XWhereOrSet
- type XWherePath
- type XWhereScan
- type XWhereTerm
- type XWith
- type XYYMINORTYPE
- type XanalysisInfo
- type Xet_info
- type Xsqlite3
- type Xsqlite3_api_routines
- type Xsqlite3_backup
- type Xsqlite3_context
- type Xsqlite3_debug_mutex
- type Xsqlite3_file
- type Xsqlite3_index_info
- type Xsqlite3_io_methods
- type Xsqlite3_mem_methods
- type Xsqlite3_module
- type Xsqlite3_mutex
- type Xsqlite3_mutex_methods
- type Xsqlite3_pcache_methods2
- type Xsqlite3_pcache_page
- type Xsqlite3_vfs
- type Xsqlite3_vtab
- type Xsqlite3_vtab_cursor
- type XunixFile
- type XunixInodeInfo
- type XunixShmNode
- type Xva_list
- type XyyParser
- type XyyStackEntry
Constants ¶
const ( XFTS5_TOKENIZE_AUX = 8 XFTS5_TOKENIZE_DOCUMENT = 4 XFTS5_TOKENIZE_PREFIX = 2 XFTS5_TOKENIZE_QUERY = 1 XFTS5_TOKEN_COLOCATED = 1 XFULLY_WITHIN = 2 XNOT_WITHIN = 0 XPARTLY_WITHIN = 1 XSQLITE3_TEXT = 3 XSQLITE_ABORT = 4 XSQLITE_ABORT_ROLLBACK = 516 XSQLITE_ACCESS_EXISTS = 0 XSQLITE_ACCESS_READ = 2 XSQLITE_ACCESS_READWRITE = 1 XSQLITE_ALTER_TABLE = 26 XSQLITE_ANALYZE = 28 XSQLITE_ANY = 5 XSQLITE_ATTACH = 24 XSQLITE_AUTH = 23 XSQLITE_AUTH_USER = 279 XSQLITE_BLOB = 4 XSQLITE_BUSY = 5 XSQLITE_BUSY_RECOVERY = 261 XSQLITE_BUSY_SNAPSHOT = 517 XSQLITE_CANTOPEN = 14 XSQLITE_CANTOPEN_CONVPATH = 1038 XSQLITE_CANTOPEN_FULLPATH = 782 XSQLITE_CANTOPEN_ISDIR = 526 XSQLITE_CANTOPEN_NOTEMPDIR = 270 XSQLITE_CHECKPOINT_FULL = 1 XSQLITE_CHECKPOINT_PASSIVE = 0 XSQLITE_CHECKPOINT_RESTART = 2 XSQLITE_CHECKPOINT_TRUNCATE = 3 XSQLITE_CONFIG_COVERING_INDEX_SCAN = 20 XSQLITE_CONFIG_GETMALLOC = 5 XSQLITE_CONFIG_GETMUTEX = 11 XSQLITE_CONFIG_GETPCACHE = 15 XSQLITE_CONFIG_GETPCACHE2 = 19 XSQLITE_CONFIG_HEAP = 8 XSQLITE_CONFIG_LOG = 16 XSQLITE_CONFIG_LOOKASIDE = 13 XSQLITE_CONFIG_MALLOC = 4 XSQLITE_CONFIG_MEMSTATUS = 9 XSQLITE_CONFIG_MMAP_SIZE = 22 XSQLITE_CONFIG_MULTITHREAD = 2 XSQLITE_CONFIG_MUTEX = 10 XSQLITE_CONFIG_PAGECACHE = 7 XSQLITE_CONFIG_PCACHE = 14 XSQLITE_CONFIG_PCACHE2 = 18 XSQLITE_CONFIG_PCACHE_HDRSZ = 24 XSQLITE_CONFIG_PMASZ = 25 XSQLITE_CONFIG_SCRATCH = 6 XSQLITE_CONFIG_SERIALIZED = 3 XSQLITE_CONFIG_SINGLETHREAD = 1 XSQLITE_CONFIG_SQLLOG = 21 XSQLITE_CONFIG_STMTJRNL_SPILL = 26 XSQLITE_CONFIG_URI = 17 XSQLITE_CONFIG_WIN32_HEAPSIZE = 23 XSQLITE_CONSTRAINT = 19 XSQLITE_CONSTRAINT_CHECK = 275 XSQLITE_CONSTRAINT_COMMITHOOK = 531 XSQLITE_CONSTRAINT_FOREIGNKEY = 787 XSQLITE_CONSTRAINT_FUNCTION = 1043 XSQLITE_CONSTRAINT_NOTNULL = 1299 XSQLITE_CONSTRAINT_PRIMARYKEY = 1555 XSQLITE_CONSTRAINT_ROWID = 2579 XSQLITE_CONSTRAINT_TRIGGER = 1811 XSQLITE_CONSTRAINT_UNIQUE = 2067 XSQLITE_CONSTRAINT_VTAB = 2323 XSQLITE_COPY = 0 XSQLITE_CORRUPT = 11 XSQLITE_CORRUPT_VTAB = 267 XSQLITE_CREATE_INDEX = 1 XSQLITE_CREATE_TABLE = 2 XSQLITE_CREATE_TEMP_INDEX = 3 XSQLITE_CREATE_TEMP_TABLE = 4 XSQLITE_CREATE_TEMP_TRIGGER = 5 XSQLITE_CREATE_TEMP_VIEW = 6 XSQLITE_CREATE_TRIGGER = 7 XSQLITE_CREATE_VIEW = 8 XSQLITE_CREATE_VTABLE = 29 XSQLITE_DBCONFIG_ENABLE_FKEY = 1002 XSQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER = 1004 XSQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION = 1005 XSQLITE_DBCONFIG_ENABLE_TRIGGER = 1003 XSQLITE_DBCONFIG_LOOKASIDE = 1001 XSQLITE_DBCONFIG_MAINDBNAME = 1000 XSQLITE_DBCONFIG_NO_CKPT_ON_CLOSE = 1006 XSQLITE_DBSTATUS_CACHE_HIT = 7 XSQLITE_DBSTATUS_CACHE_MISS = 8 XSQLITE_DBSTATUS_CACHE_USED = 1 XSQLITE_DBSTATUS_CACHE_USED_SHARED = 11 XSQLITE_DBSTATUS_CACHE_WRITE = 9 XSQLITE_DBSTATUS_DEFERRED_FKS = 10 XSQLITE_DBSTATUS_LOOKASIDE_HIT = 4 XSQLITE_DBSTATUS_LOOKASIDE_MISS_FULL = 6 XSQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE = 5 XSQLITE_DBSTATUS_LOOKASIDE_USED = 0 XSQLITE_DBSTATUS_MAX = 11 XSQLITE_DBSTATUS_SCHEMA_USED = 2 XSQLITE_DBSTATUS_STMT_USED = 3 XSQLITE_DELETE = 9 XSQLITE_DENY = 1 XSQLITE_DETACH = 25 XSQLITE_DETERMINISTIC = 2048 XSQLITE_DONE = 101 XSQLITE_DROP_INDEX = 10 XSQLITE_DROP_TABLE = 11 XSQLITE_DROP_TEMP_INDEX = 12 XSQLITE_DROP_TEMP_TABLE = 13 XSQLITE_DROP_TEMP_TRIGGER = 14 XSQLITE_DROP_TEMP_VIEW = 15 XSQLITE_DROP_TRIGGER = 16 XSQLITE_DROP_VIEW = 17 XSQLITE_DROP_VTABLE = 30 XSQLITE_EMPTY = 16 XSQLITE_ERROR = 1 XSQLITE_EXTERN = 0 XSQLITE_FAIL = 3 XSQLITE_FCNTL_BUSYHANDLER = 15 XSQLITE_FCNTL_CHUNK_SIZE = 6 XSQLITE_FCNTL_COMMIT_PHASETWO = 22 XSQLITE_FCNTL_FILE_POINTER = 7 XSQLITE_FCNTL_GET_LOCKPROXYFILE = 2 XSQLITE_FCNTL_HAS_MOVED = 20 XSQLITE_FCNTL_JOURNAL_POINTER = 28 XSQLITE_FCNTL_LAST_ERRNO = 4 XSQLITE_FCNTL_LOCKSTATE = 1 XSQLITE_FCNTL_MMAP_SIZE = 18 XSQLITE_FCNTL_OVERWRITE = 11 XSQLITE_FCNTL_PDB = 30 XSQLITE_FCNTL_PERSIST_WAL = 10 XSQLITE_FCNTL_POWERSAFE_OVERWRITE = 13 XSQLITE_FCNTL_PRAGMA = 14 XSQLITE_FCNTL_RBU = 26 XSQLITE_FCNTL_SET_LOCKPROXYFILE = 3 XSQLITE_FCNTL_SIZE_HINT = 5 XSQLITE_FCNTL_SYNC = 21 XSQLITE_FCNTL_SYNC_OMITTED = 8 XSQLITE_FCNTL_TEMPFILENAME = 16 XSQLITE_FCNTL_TRACE = 19 XSQLITE_FCNTL_VFSNAME = 12 XSQLITE_FCNTL_VFS_POINTER = 27 XSQLITE_FCNTL_WAL_BLOCK = 24 XSQLITE_FCNTL_WIN32_AV_RETRY = 9 XSQLITE_FCNTL_WIN32_GET_HANDLE = 29 XSQLITE_FCNTL_WIN32_SET_HANDLE = 23 XSQLITE_FCNTL_ZIPVFS = 25 XSQLITE_FLOAT = 2 XSQLITE_FORMAT = 24 XSQLITE_FULL = 13 XSQLITE_FUNCTION = 31 XSQLITE_GET_LOCKPROXYFILE = 2 XSQLITE_IGNORE = 2 XSQLITE_INDEX_CONSTRAINT_EQ = 2 XSQLITE_INDEX_CONSTRAINT_GE = 32 XSQLITE_INDEX_CONSTRAINT_GLOB = 66 XSQLITE_INDEX_CONSTRAINT_GT = 4 XSQLITE_INDEX_CONSTRAINT_LE = 8 XSQLITE_INDEX_CONSTRAINT_LIKE = 65 XSQLITE_INDEX_CONSTRAINT_LT = 16 XSQLITE_INDEX_CONSTRAINT_MATCH = 64 XSQLITE_INDEX_CONSTRAINT_REGEXP = 67 XSQLITE_INDEX_SCAN_UNIQUE = 1 XSQLITE_INSERT = 18 XSQLITE_INTEGER = 1 XSQLITE_INTERNAL = 2 XSQLITE_INTERRUPT = 9 XSQLITE_IOCAP_ATOMIC = 1 XSQLITE_IOCAP_ATOMIC16K = 64 XSQLITE_IOCAP_ATOMIC1K = 4 XSQLITE_IOCAP_ATOMIC2K = 8 XSQLITE_IOCAP_ATOMIC32K = 128 XSQLITE_IOCAP_ATOMIC4K = 16 XSQLITE_IOCAP_ATOMIC512 = 2 XSQLITE_IOCAP_ATOMIC64K = 256 XSQLITE_IOCAP_ATOMIC8K = 32 XSQLITE_IOCAP_IMMUTABLE = 8192 XSQLITE_IOCAP_POWERSAFE_OVERWRITE = 4096 XSQLITE_IOCAP_SAFE_APPEND = 512 XSQLITE_IOCAP_SEQUENTIAL = 1024 XSQLITE_IOCAP_UNDELETABLE_WHEN_OPEN = 2048 XSQLITE_IOERR = 10 XSQLITE_IOERR_ACCESS = 3338 XSQLITE_IOERR_AUTH = 7178 XSQLITE_IOERR_BLOCKED = 2826 XSQLITE_IOERR_CHECKRESERVEDLOCK = 3594 XSQLITE_IOERR_CLOSE = 4106 XSQLITE_IOERR_CONVPATH = 6666 XSQLITE_IOERR_DELETE = 2570 XSQLITE_IOERR_DELETE_NOENT = 5898 XSQLITE_IOERR_DIR_CLOSE = 4362 XSQLITE_IOERR_DIR_FSYNC = 1290 XSQLITE_IOERR_FSTAT = 1802 XSQLITE_IOERR_FSYNC = 1034 XSQLITE_IOERR_GETTEMPPATH = 6410 XSQLITE_IOERR_LOCK = 3850 XSQLITE_IOERR_MMAP = 6154 XSQLITE_IOERR_NOMEM = 3082 XSQLITE_IOERR_RDLOCK = 2314 XSQLITE_IOERR_READ = 266 XSQLITE_IOERR_SEEK = 5642 XSQLITE_IOERR_SHMLOCK = 5130 XSQLITE_IOERR_SHMMAP = 5386 XSQLITE_IOERR_SHMOPEN = 4618 XSQLITE_IOERR_SHMSIZE = 4874 XSQLITE_IOERR_SHORT_READ = 522 XSQLITE_IOERR_TRUNCATE = 1546 XSQLITE_IOERR_UNLOCK = 2058 XSQLITE_IOERR_VNODE = 6922 XSQLITE_IOERR_WRITE = 778 XSQLITE_LAST_ERRNO = 4 XSQLITE_LIMIT_ATTACHED = 7 XSQLITE_LIMIT_COLUMN = 2 XSQLITE_LIMIT_COMPOUND_SELECT = 4 XSQLITE_LIMIT_EXPR_DEPTH = 3 XSQLITE_LIMIT_FUNCTION_ARG = 6 XSQLITE_LIMIT_LENGTH = 0 XSQLITE_LIMIT_LIKE_PATTERN_LENGTH = 8 XSQLITE_LIMIT_SQL_LENGTH = 1 XSQLITE_LIMIT_TRIGGER_DEPTH = 10 XSQLITE_LIMIT_VARIABLE_NUMBER = 9 XSQLITE_LIMIT_VDBE_OP = 5 XSQLITE_LIMIT_WORKER_THREADS = 11 XSQLITE_LOCKED = 6 XSQLITE_LOCKED_SHAREDCACHE = 262 XSQLITE_LOCK_EXCLUSIVE = 4 XSQLITE_LOCK_NONE = 0 XSQLITE_LOCK_PENDING = 3 XSQLITE_LOCK_RESERVED = 2 XSQLITE_LOCK_SHARED = 1 XSQLITE_MISMATCH = 20 XSQLITE_MISUSE = 21 XSQLITE_MUTEX_FAST = 0 XSQLITE_MUTEX_RECURSIVE = 1 XSQLITE_MUTEX_STATIC_APP1 = 8 XSQLITE_MUTEX_STATIC_APP2 = 9 XSQLITE_MUTEX_STATIC_APP3 = 10 XSQLITE_MUTEX_STATIC_LRU = 6 XSQLITE_MUTEX_STATIC_LRU2 = 7 XSQLITE_MUTEX_STATIC_MASTER = 2 XSQLITE_MUTEX_STATIC_MEM = 3 XSQLITE_MUTEX_STATIC_MEM2 = 4 XSQLITE_MUTEX_STATIC_OPEN = 4 XSQLITE_MUTEX_STATIC_PMEM = 7 XSQLITE_MUTEX_STATIC_PRNG = 5 XSQLITE_MUTEX_STATIC_VFS1 = 11 XSQLITE_MUTEX_STATIC_VFS2 = 12 XSQLITE_MUTEX_STATIC_VFS3 = 13 XSQLITE_NOLFS = 22 XSQLITE_NOMEM = 7 XSQLITE_NOTADB = 26 XSQLITE_NOTFOUND = 12 XSQLITE_NOTICE = 27 XSQLITE_NOTICE_RECOVER_ROLLBACK = 539 XSQLITE_NOTICE_RECOVER_WAL = 283 XSQLITE_NULL = 5 XSQLITE_OK = 0 XSQLITE_OK_LOAD_PERMANENTLY = 256 XSQLITE_OPEN_AUTOPROXY = 32 XSQLITE_OPEN_CREATE = 4 XSQLITE_OPEN_DELETEONCLOSE = 8 XSQLITE_OPEN_EXCLUSIVE = 16 XSQLITE_OPEN_FULLMUTEX = 65536 XSQLITE_OPEN_MAIN_DB = 256 XSQLITE_OPEN_MAIN_JOURNAL = 2048 XSQLITE_OPEN_MASTER_JOURNAL = 16384 XSQLITE_OPEN_MEMORY = 128 XSQLITE_OPEN_NOMUTEX = 32768 XSQLITE_OPEN_PRIVATECACHE = 262144 XSQLITE_OPEN_READONLY = 1 XSQLITE_OPEN_READWRITE = 2 XSQLITE_OPEN_SHAREDCACHE = 131072 XSQLITE_OPEN_SUBJOURNAL = 8192 XSQLITE_OPEN_TEMP_DB = 512 XSQLITE_OPEN_TEMP_JOURNAL = 4096 XSQLITE_OPEN_TRANSIENT_DB = 1024 XSQLITE_OPEN_URI = 64 XSQLITE_OPEN_WAL = 524288 XSQLITE_PERM = 3 XSQLITE_PRAGMA = 19 XSQLITE_PROTOCOL = 15 XSQLITE_RANGE = 25 XSQLITE_READ = 20 XSQLITE_READONLY = 8 XSQLITE_READONLY_CANTLOCK = 520 XSQLITE_READONLY_DBMOVED = 1032 XSQLITE_READONLY_RECOVERY = 264 XSQLITE_READONLY_ROLLBACK = 776 XSQLITE_RECURSIVE = 33 XSQLITE_REINDEX = 27 XSQLITE_REPLACE = 5 XSQLITE_ROLLBACK = 1 XSQLITE_ROW = 100 XSQLITE_SAVEPOINT = 32 XSQLITE_SCANSTAT_EST = 2 XSQLITE_SCANSTAT_EXPLAIN = 4 XSQLITE_SCANSTAT_NAME = 3 XSQLITE_SCANSTAT_NLOOP = 0 XSQLITE_SCANSTAT_NVISIT = 1 XSQLITE_SCANSTAT_SELECTID = 5 XSQLITE_SCHEMA = 17 XSQLITE_SELECT = 21 XSQLITE_SET_LOCKPROXYFILE = 3 XSQLITE_SHM_EXCLUSIVE = 8 XSQLITE_SHM_LOCK = 2 XSQLITE_SHM_NLOCK = 8 XSQLITE_SHM_SHARED = 4 XSQLITE_SHM_UNLOCK = 1 XSQLITE_SOURCE_ID = "2017-06-08 14:26:16 0ee482a1e0eae22e08edc8978c9733a96603d4509645f348ebf55b579e89636b" XSQLITE_STATUS_MALLOC_COUNT = 9 XSQLITE_STATUS_MALLOC_SIZE = 5 XSQLITE_STATUS_MEMORY_USED = 0 XSQLITE_STATUS_PAGECACHE_OVERFLOW = 2 XSQLITE_STATUS_PAGECACHE_SIZE = 7 XSQLITE_STATUS_PAGECACHE_USED = 1 XSQLITE_STATUS_PARSER_STACK = 6 XSQLITE_STATUS_SCRATCH_OVERFLOW = 4 XSQLITE_STATUS_SCRATCH_SIZE = 8 XSQLITE_STATUS_SCRATCH_USED = 3 XSQLITE_STMTSTATUS_AUTOINDEX = 3 XSQLITE_STMTSTATUS_FULLSCAN_STEP = 1 XSQLITE_STMTSTATUS_SORT = 2 XSQLITE_STMTSTATUS_VM_STEP = 4 XSQLITE_SYNC_DATAONLY = 16 XSQLITE_SYNC_FULL = 3 XSQLITE_SYNC_NORMAL = 2 XSQLITE_TESTCTRL_ALWAYS = 13 XSQLITE_TESTCTRL_ASSERT = 12 XSQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS = 10 XSQLITE_TESTCTRL_BITVEC_TEST = 8 XSQLITE_TESTCTRL_BYTEORDER = 22 XSQLITE_TESTCTRL_EXPLAIN_STMT = 19 XSQLITE_TESTCTRL_FAULT_INSTALL = 9 XSQLITE_TESTCTRL_FIRST = 5 XSQLITE_TESTCTRL_IMPOSTER = 25 XSQLITE_TESTCTRL_ISINIT = 23 XSQLITE_TESTCTRL_ISKEYWORD = 16 XSQLITE_TESTCTRL_LAST = 25 XSQLITE_TESTCTRL_LOCALTIME_FAULT = 18 XSQLITE_TESTCTRL_NEVER_CORRUPT = 20 XSQLITE_TESTCTRL_ONCE_RESET_THRESHOLD = 19 XSQLITE_TESTCTRL_OPTIMIZATIONS = 15 XSQLITE_TESTCTRL_PENDING_BYTE = 11 XSQLITE_TESTCTRL_PRNG_RESET = 7 XSQLITE_TESTCTRL_PRNG_RESTORE = 6 XSQLITE_TESTCTRL_PRNG_SAVE = 5 XSQLITE_TESTCTRL_RESERVE = 14 XSQLITE_TESTCTRL_SCRATCHMALLOC = 17 XSQLITE_TESTCTRL_SORTER_MMAP = 24 XSQLITE_TESTCTRL_VDBE_COVERAGE = 21 XSQLITE_TEXT = 3 XSQLITE_TOOBIG = 18 XSQLITE_TRACE_CLOSE = 8 XSQLITE_TRACE_PROFILE = 2 XSQLITE_TRACE_ROW = 4 XSQLITE_TRACE_STMT = 1 XSQLITE_TRANSACTION = 22 XSQLITE_TRANSIENT = -1 XSQLITE_UPDATE = 23 XSQLITE_UTF16 = 4 XSQLITE_UTF16BE = 3 XSQLITE_UTF16LE = 2 XSQLITE_UTF16_ALIGNED = 8 XSQLITE_UTF8 = 1 XSQLITE_VERSION = "3.19.3" XSQLITE_VERSION_NUMBER = 3019003 XSQLITE_VTAB_CONSTRAINT_SUPPORT = 1 XSQLITE_WARNING = 28 XSQLITE_WARNING_AUTOINDEX = 284 X_LP64 = 1 X_STDC_PREDEF_H = 1 X__ATOMIC_ACQUIRE = 2 X__ATOMIC_ACQ_REL = 4 X__ATOMIC_CONSUME = 1 X__ATOMIC_HLE_ACQUIRE = 65536 X__ATOMIC_HLE_RELEASE = 131072 X__ATOMIC_RELAXED = 0 X__ATOMIC_RELEASE = 3 X__ATOMIC_SEQ_CST = 5 X__BIGGEST_ALIGNMENT__ = 16 X__BYTE_ORDER__ = 1234 X__CHAR_BIT__ = 8 X__DBL_DECIMAL_DIG__ = 17 X__DBL_DIG__ = 15 X__DBL_HAS_DENORM__ = 1 X__DBL_HAS_INFINITY__ = 1 X__DBL_HAS_QUIET_NAN__ = 1 X__DBL_MANT_DIG__ = 53 X__DBL_MAX_10_EXP__ = 308 X__DBL_MAX_EXP__ = 1024 X__DBL_MIN_10_EXP__ = -307 X__DBL_MIN_EXP__ = -1021 X__DEC128_MANT_DIG__ = 34 X__DEC128_MAX_EXP__ = 6145 X__DEC128_MIN_EXP__ = -6142 X__DEC32_MANT_DIG__ = 7 X__DEC32_MAX_EXP__ = 97 X__DEC32_MIN_EXP__ = -94 X__DEC64_MANT_DIG__ = 16 X__DEC64_MAX_EXP__ = 385 X__DEC64_MIN_EXP__ = -382 X__DECIMAL_BID_FORMAT__ = 1 X__DECIMAL_DIG__ = 21 X__DEC_EVAL_METHOD__ = 2 X__FINITE_MATH_ONLY__ = 0 X__FLOAT_WORD_ORDER__ = 1234 X__FLT_DECIMAL_DIG__ = 9 X__FLT_DENORM_MIN__ = 1e-45 X__FLT_DIG__ = 6 X__FLT_EPSILON__ = 1.1920929e-07 X__FLT_EVAL_METHOD__ = 0 X__FLT_HAS_DENORM__ = 1 X__FLT_HAS_INFINITY__ = 1 X__FLT_HAS_QUIET_NAN__ = 1 X__FLT_MANT_DIG__ = 24 X__FLT_MAX_10_EXP__ = 38 X__FLT_MAX_EXP__ = 128 X__FLT_MAX__ = 3.4028235e+38 X__FLT_MIN_10_EXP__ = -37 X__FLT_MIN_EXP__ = -125 X__FLT_MIN__ = 1.1754944e-38 X__FLT_RADIX__ = 2 X__FUNCTION__ = 0 X__FXSR__ = 1 X__GXX_ABI_VERSION = 1010 X__INT16_MAX__ = 32767 X__INT32_MAX__ = 2147483647 X__INT32_TYPE__ = 0 X__INT64_MAX__ = 9223372036854775807 X__INT8_MAX__ = 127 X__INTMAX_MAX__ = 9223372036854775807 X__INTPTR_MAX__ = 9223372036854775807 X__INT_FAST16_MAX__ = 9223372036854775807 X__INT_FAST32_MAX__ = 9223372036854775807 X__INT_FAST64_MAX__ = 9223372036854775807 X__INT_FAST8_MAX__ = 127 X__INT_LEAST16_MAX__ = 32767 X__INT_LEAST32_MAX__ = 2147483647 X__INT_LEAST32_TYPE__ = 0 X__INT_LEAST64_MAX__ = 9223372036854775807 X__INT_LEAST8_MAX__ = 127 X__INT_MAX__ = 2147483647 X__LDBL_DENORM_MIN__ = 0 X__LDBL_DIG__ = 18 X__LDBL_EPSILON__ = 1.0842021724855044e-19 X__LDBL_HAS_DENORM__ = 1 X__LDBL_HAS_INFINITY__ = 1 X__LDBL_HAS_QUIET_NAN__ = 1 X__LDBL_MANT_DIG__ = 64 X__LDBL_MAX_10_EXP__ = 4932 X__LDBL_MAX_EXP__ = 16384 X__LDBL_MAX__ = 0 X__LDBL_MIN_10_EXP__ = -4931 X__LDBL_MIN_EXP__ = -16381 X__LDBL_MIN__ = 0 X__LONG_LONG_MAX__ = 9223372036854775807 X__LONG_MAX__ = 9223372036854775807 X__LP64__ = 1 X__MMX__ = 1 X__NO_INLINE__ = 1 X__ORDER_BIG_ENDIAN__ = 4321 X__ORDER_LITTLE_ENDIAN__ = 1234 X__ORDER_PDP_ENDIAN__ = 3412 X__PIC__ = 2 X__PIE__ = 2 X__PRAGMA_REDEFINE_EXTNAME = 1 X__PTRDIFF_MAX__ = 9223372036854775807 X__SCHAR_MAX__ = 127 X__SEG_FS = 1 X__SEG_GS = 1 X__SHRT_MAX__ = 32767 X__SIG_ATOMIC_MAX__ = 2147483647 X__SIG_ATOMIC_MIN__ = -2147483648 X__SIG_ATOMIC_TYPE__ = 0 X__SIZEOF_DOUBLE__ = 8 X__SIZEOF_FLOAT128__ = 16 X__SIZEOF_FLOAT80__ = 16 X__SIZEOF_FLOAT__ = 4 X__SIZEOF_INT__ = 4 X__SIZEOF_LONG_DOUBLE__ = 16 X__SIZEOF_LONG_LONG__ = 8 X__SIZEOF_LONG__ = 8 X__SIZEOF_POINTER__ = 8 X__SIZEOF_PTRDIFF_T__ = 8 X__SIZEOF_SHORT__ = 2 X__SIZEOF_SIZE_T__ = 8 X__SIZEOF_WCHAR_T__ = 4 X__SIZEOF_WINT_T__ = 4 X__SIZE_MAX__ = 18446744073709551615 X__SSE2_MATH__ = 1 X__SSE2__ = 1 X__SSE_MATH__ = 1 X__SSE__ = 1 X__SSP_STRONG__ = 3 X__STDC_HOSTED__ = 1 X__STDC_IEC_559_COMPLEX__ = 1 X__STDC_IEC_559__ = 1 X__STDC_ISO_10646__ = 201505 X__STDC_NO_THREADS__ = 1 X__STDC_VERSION__ = 199901 X__STDC__ = 1 X__STRICT_ANSI__ = 1 X__UINT16_MAX__ = 65535 X__UINT32_MAX__ = 4294967295 X__UINT64_MAX__ = 18446744073709551615 X__UINT8_MAX__ = 255 X__UINTMAX_MAX__ = 18446744073709551615 X__UINTPTR_MAX__ = 18446744073709551615 X__UINT_FAST16_MAX__ = 18446744073709551615 X__UINT_FAST32_MAX__ = 18446744073709551615 X__UINT_FAST64_MAX__ = 18446744073709551615 X__UINT_FAST8_MAX__ = 255 X__UINT_LEAST16_MAX__ = 65535 X__UINT_LEAST32_MAX__ = 4294967295 X__UINT_LEAST64_MAX__ = 18446744073709551615 X__UINT_LEAST8_MAX__ = 255 X__VERSION__ = "6.2.0 20161005" X__WCHAR_MAX__ = 2147483647 X__WCHAR_MIN__ = -2147483648 X__WCHAR_TYPE__ = 0 X__WINT_MAX__ = 4294967295 X__WINT_MIN__ = 0 X__amd64 = 1 X__amd64__ = 1 X__code_model_small__ = 1 X__complex__ = 0 X__const = 0 X__inline = 0 X__k8 = 1 X__k8__ = 1 X__linux = 1 X__linux__ = 1 X__pic__ = 2 X__pie__ = 2 X__restrict = 0 X__unix = 1 X__unix__ = 1 X__volatile = 0 X__x86_64 = 1 X__x86_64__ = 1 )
Variables ¶
var X__stdfiles [3]unsafe.Pointer
var Xsqlite3SelectTrace int32
var Xsqlite3WhereTrace int32
var Xsqlite3_data_directory *int8
C comment
/* ** CAPI3REF: Name Of The Folder Holding Database Files ** ** ^(If this global variable is made to point to a string which is ** the name of a folder (a.k.a. directory), then all database files ** specified with a relative pathname and created or accessed by ** SQLite when using a built-in windows [sqlite3_vfs | VFS] will be assumed ** to be relative to that directory.)^ ^If this variable is a NULL ** pointer, then SQLite assumes that all database files specified ** with a relative pathname are relative to the current directory ** for the process. Only the windows VFS makes use of this global ** variable; it is ignored by the unix VFS. ** ** Changing the value of this variable while a database connection is ** open can result in a corrupt database. ** ** It is not safe to read or modify this variable in more than one ** thread at a time. It is not safe to read or modify this variable ** if a [database connection] is being used at the same time in a separate ** thread. ** It is intended that this variable be set once ** as part of process initialization and before any SQLite interface ** routines have been called and that this variable remain unchanged ** thereafter. ** ** ^The [data_store_directory pragma] may modify this variable and cause ** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore, ** the [data_store_directory pragma] always assumes that any string ** that this variable points to is held in memory obtained from ** [sqlite3_malloc] and the pragma may attempt to free that memory ** using [sqlite3_free]. ** Hence, if this variable is modified directly, either it should be ** made NULL or made to point to memory obtained from [sqlite3_malloc] ** or else the use of the [data_store_directory pragma] should be avoided. */
var Xsqlite3_temp_directory *int8
C comment
/*
** CAPI3REF: Name Of The Folder Holding Temporary Files
**
** ^(If this global variable is made to point to a string which is
** the name of a folder (a.k.a. directory), then all temporary files
** created by SQLite when using a built-in [sqlite3_vfs | VFS]
** will be placed in that directory.)^ ^If this variable
** is a NULL pointer, then SQLite performs a search for an appropriate
** temporary file directory.
**
** Applications are strongly discouraged from using this global variable.
** It is required to set a temporary folder on Windows Runtime (WinRT).
** But for all other platforms, it is highly recommended that applications
** neither read nor write this variable. This global variable is a relic
** that exists for backwards compatibility of legacy applications and should
** be avoided in new projects.
**
** It is not safe to read or modify this variable in more than one
** thread at a time. It is not safe to read or modify this variable
** if a [database connection] is being used at the same time in a separate
** thread.
** It is intended that this variable be set once
** as part of process initialization and before any SQLite interface
** routines have been called and that this variable remain unchanged
** thereafter.
**
** ^The [temp_store_directory pragma] may modify this variable and cause
** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore,
** the [temp_store_directory pragma] always assumes that any string
** that this variable points to is held in memory obtained from
** [sqlite3_malloc] and the pragma may attempt to free that memory
** using [sqlite3_free].
** Hence, if this variable is modified directly, either it should be
** made NULL or made to point to memory obtained from [sqlite3_malloc]
** or else the use of the [temp_store_directory pragma] should be avoided.
** Except when requested by the [temp_store_directory pragma], SQLite
** does not free the memory that sqlite3_temp_directory points to. If
** the application wants that memory to be freed, it must do
** so itself, taking care to only do so after all [database connection]
** objects have been destroyed.
**
** <b>Note to Windows Runtime users:</b> The temporary directory must be set
** prior to calling [sqlite3_open] or [sqlite3_open_v2]. Otherwise, various
** features that require the use of temporary files may fail. Here is an
** example of how to do this using C++ with the Windows Runtime:
**
** <blockquote><pre>
** LPCWSTR zPath = Windows::Storage::ApplicationData::Current->
** TemporaryFolder->Path->Data();
** char zPathBuf[MAX_PATH + 1];
** memset(zPathBuf, 0, sizeof(zPathBuf));
** WideCharToMultiByte(CP_UTF8, 0, zPath, -1, zPathBuf, sizeof(zPathBuf),
** NULL, NULL);
** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
** </pre></blockquote>
*/
var Xsqlite3_version [7]int8
C comment
/* ** CAPI3REF: Run-Time Library Version Numbers ** KEYWORDS: sqlite3_version sqlite3_sourceid ** ** These interfaces provide the same information as the [SQLITE_VERSION], ** [SQLITE_VERSION_NUMBER], and [SQLITE_SOURCE_ID] C preprocessor macros ** but are associated with the library instead of the header file. ^(Cautious ** programmers might include assert() statements in their application to ** verify that values returned by these interfaces match the macros in ** the header, and thus ensure that the application is ** compiled with matching library and header files. ** ** <blockquote><pre> ** assert( sqlite3_libversion_number()==SQLITE_VERSION_NUMBER ); ** assert( strcmp(sqlite3_sourceid(),SQLITE_SOURCE_ID)==0 ); ** assert( strcmp(sqlite3_libversion(),SQLITE_VERSION)==0 ); ** </pre></blockquote>)^ ** ** ^The sqlite3_version[] string constant contains the text of [SQLITE_VERSION] ** macro. ^The sqlite3_libversion() function returns a pointer to the ** to the sqlite3_version[] string constant. The sqlite3_libversion() ** function is provided for use in DLLs since DLL users usually do not have ** direct access to string constants within the DLL. ^The ** sqlite3_libversion_number() function returns an integer equal to ** [SQLITE_VERSION_NUMBER]. ^The sqlite3_sourceid() function returns ** a pointer to a string constant whose value is the same as the ** [SQLITE_SOURCE_ID] C preprocessor macro. ** ** See also: [sqlite_version()] and [sqlite_source_id()]. */
var Xstderr unsafe.Pointer
var Xstdin unsafe.Pointer
var Xstdout unsafe.Pointer
Functions ¶
func Xsqlite3PendingByte ¶
func Xsqlite3PendingByte() int32
func Xsqlite3_aggregate_context ¶
func Xsqlite3_aggregate_context(tls *crt.TLS, _p *Xsqlite3_context, _nByte int32) (r0 unsafe.Pointer)
C comment
/* ** Allocate or return the aggregate context for a user function. A new ** context is allocated on the first call. Subsequent calls return the ** same context that was returned on prior calls. */
func Xsqlite3_aggregate_count ¶
func Xsqlite3_aggregate_count(tls *crt.TLS, _p *Xsqlite3_context) (r0 int32)
C comment
/* ** Return the number of times the Step function of an aggregate has been ** called. ** ** This function is deprecated. Do not use it for new code. It is ** provide only to avoid breaking legacy code. New aggregate function ** implementations should keep their own counts within their aggregate ** context. */
func Xsqlite3_auto_extension ¶
C comment
/* ** Register a statically linked extension that is automatically ** loaded by every new database connection. */
func Xsqlite3_backup_finish ¶
func Xsqlite3_backup_finish(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)
C comment
/* ** Release all resources associated with an sqlite3_backup* handle. */
func Xsqlite3_backup_pagecount ¶
func Xsqlite3_backup_pagecount(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)
C comment
/* ** Return the total number of pages in the source database as of the most ** recent call to sqlite3_backup_step(). */
func Xsqlite3_backup_remaining ¶
func Xsqlite3_backup_remaining(tls *crt.TLS, _p *Xsqlite3_backup) (r0 int32)
C comment
/* ** Return the number of pages still to be backed up as of the most recent ** call to sqlite3_backup_step(). */
func Xsqlite3_backup_step ¶
func Xsqlite3_backup_step(tls *crt.TLS, _p *Xsqlite3_backup, _nPage int32) (r0 int32)
C comment
/* ** Copy nPage pages from the source b-tree to the destination. */
func Xsqlite3_bind_blob ¶
func Xsqlite3_bind_blob(tls *crt.TLS, _pStmt unsafe.Pointer, _i int32, _zData unsafe.Pointer, _nData int32, _xDel func(*crt.TLS, unsafe.Pointer)) (r0 int32)
C comment
/* ** Bind a blob value to an SQL statement variable. */
func Xsqlite3_bind_blob64 ¶
func Xsqlite3_bind_double ¶
func Xsqlite3_bind_int ¶
func Xsqlite3_bind_int64 ¶
func Xsqlite3_bind_null ¶
func Xsqlite3_bind_parameter_count ¶
C comment
/* ** Return the number of wildcards that can be potentially bound to. ** This routine is added to support DBD::SQLite. */
func Xsqlite3_bind_parameter_index ¶
C comment
/* ** CAPI3REF: Index Of A Parameter With A Given Name ** METHOD: sqlite3_stmt ** ** ^Return the index of an SQL parameter given its name. ^The ** index value returned is suitable for use as the second ** parameter to [sqlite3_bind_blob|sqlite3_bind()]. ^A zero ** is returned if no matching parameter is found. ^The parameter ** name must be given in UTF-8 even if the original statement ** was prepared from UTF-16 text using [sqlite3_prepare16_v2()]. ** ** See also: [sqlite3_bind_blob|sqlite3_bind()], ** [sqlite3_bind_parameter_count()], and ** [sqlite3_bind_parameter_name()]. */
func Xsqlite3_bind_parameter_name ¶
C comment
/* ** Return the name of a wildcard parameter. Return NULL if the index ** is out of range or if the wildcard is unnamed. ** ** The result is always UTF-8. */
func Xsqlite3_bind_text ¶
func Xsqlite3_bind_text16 ¶
func Xsqlite3_bind_text64 ¶
func Xsqlite3_bind_zeroblob ¶
func Xsqlite3_blob_bytes ¶
C comment
/* ** Query a blob handle for the size of the data. ** ** The Incrblob.nByte field is fixed for the lifetime of the Incrblob ** so no mutex is required for access. */
func Xsqlite3_blob_close ¶
C comment
/* ** Close a blob handle that was previously created using ** sqlite3_blob_open(). */
func Xsqlite3_blob_open ¶
func Xsqlite3_blob_open(tls *crt.TLS, _db *Xsqlite3, _zDb *int8, _zTable *int8, _zColumn *int8, _iRow int64, _wrFlag int32, _ppBlob *unsafe.Pointer) (r0 int32)
C comment
/* ** Open a blob handle. */
func Xsqlite3_blob_read ¶
func Xsqlite3_blob_read(tls *crt.TLS, _pBlob unsafe.Pointer, _z unsafe.Pointer, _n int32, _iOffset int32) (r0 int32)
C comment
/* ** Read data from a blob handle. */
func Xsqlite3_blob_reopen ¶
C comment
/* ** Move an existing blob handle to point to a different row of the same ** database table. ** ** If an error occurs, or if the specified row does not exist or does not ** contain a blob or text value, then an error code is returned and the ** database handle error code and message set. If this happens, then all ** subsequent calls to sqlite3_blob_xxx() functions (except blob_close()) ** immediately return SQLITE_ABORT. */
func Xsqlite3_blob_write ¶
func Xsqlite3_blob_write(tls *crt.TLS, _pBlob unsafe.Pointer, _z unsafe.Pointer, _n int32, _iOffset int32) (r0 int32)
C comment
/* ** Write data to a blob handle. */
func Xsqlite3_busy_handler ¶
func Xsqlite3_busy_handler(tls *crt.TLS, _db *Xsqlite3, _xBusy func(*crt.TLS, unsafe.Pointer, int32) int32, _pArg unsafe.Pointer) (r0 int32)
C comment
/* ** This routine sets the busy callback for an Sqlite database to the ** given callback function with the given argument. */
func Xsqlite3_busy_timeout ¶
C comment
/* ** This routine installs a default busy handler that waits for the ** specified number of milliseconds before returning 0. */
func Xsqlite3_cancel_auto_extension ¶
C comment
/* ** Cancel a prior call to sqlite3_auto_extension. Remove xInit from the ** set of routines that is invoked for each new database connection, if it ** is currently on the list. If xInit is not on the list, then this ** routine is a no-op. ** ** Return 1 if xInit was found on the list and removed. Return 0 if xInit ** was not on the list. */
func Xsqlite3_changes ¶
C comment
/* ** Return the number of changes in the most recent call to sqlite3_exec(). */
func Xsqlite3_clear_bindings ¶
C comment
/* ** Set all the parameters in the compiled SQL statement to NULL. */
func Xsqlite3_close ¶
C comment
/* ** Two variations on the public interface for closing a database ** connection. The sqlite3_close() version returns SQLITE_BUSY and ** leaves the connection option if there are unfinalized prepared ** statements or unfinished sqlite3_backups. The sqlite3_close_v2() ** version forces the connection to become a zombie if there are ** unclosed resources, and arranges for deallocation when the last ** prepare statement or sqlite3_backup closes. */
func Xsqlite3_collation_needed ¶
func Xsqlite3_collation_needed(tls *crt.TLS, _db *Xsqlite3, _pCollNeededArg unsafe.Pointer, _xCollNeeded func(*crt.TLS, unsafe.Pointer, *Xsqlite3, int32, *int8)) (r0 int32)
C comment
/* ** Register a collation sequence factory callback with the database handle ** db. Replace any previously installed collation sequence factory. */
func Xsqlite3_collation_needed16 ¶
func Xsqlite3_collation_needed16(tls *crt.TLS, _db *Xsqlite3, _pCollNeededArg unsafe.Pointer, _xCollNeeded16 func(*crt.TLS, unsafe.Pointer, *Xsqlite3, int32, unsafe.Pointer)) (r0 int32)
C comment
/* ** Register a collation sequence factory callback with the database handle ** db. Replace any previously installed collation sequence factory. */
func Xsqlite3_column_blob ¶
C comment
/**************************** sqlite3_column_ ******************************* ** The following routines are used to access elements of the current row ** in the result set. */
func Xsqlite3_column_bytes ¶
func Xsqlite3_column_bytes16 ¶
func Xsqlite3_column_count ¶
C comment
/* ** Return the number of columns in the result set for the statement pStmt. */
func Xsqlite3_column_decltype ¶
C comment
/* ** Return the column declaration type (if applicable) of the 'i'th column ** of the result set of SQL statement pStmt. */
func Xsqlite3_column_double ¶
func Xsqlite3_column_int ¶
func Xsqlite3_column_int64 ¶
func Xsqlite3_column_name ¶
C comment
/* ** Return the name of the Nth column of the result set returned by SQL ** statement pStmt. */
func Xsqlite3_column_name16 ¶
func Xsqlite3_column_text ¶
func Xsqlite3_column_text16 ¶
func Xsqlite3_commit_hook ¶
func Xsqlite3_commit_hook(tls *crt.TLS, _db *Xsqlite3, _xCallback func(*crt.TLS, unsafe.Pointer) int32, _pArg unsafe.Pointer) (r0 unsafe.Pointer)
C comment
/* ** Register a function to be invoked when a transaction commits. ** If the invoked function returns non-zero, then the commit becomes a ** rollback. */
func Xsqlite3_compileoption_get ¶
C comment
/* ** Return the N-th compile-time option string. If N is out of range, ** return a NULL pointer. */
func Xsqlite3_compileoption_used ¶
C comment
/* ** Given the name of a compile-time option, return true if that option ** was used and false if not. ** ** The name can optionally begin with "SQLITE_" but the "SQLITE_" prefix ** is not required for a match. */
func Xsqlite3_complete ¶
C comment
/* ** Return TRUE if the given SQL string ends in a semicolon. ** ** Special handling is require for CREATE TRIGGER statements. ** Whenever the CREATE TRIGGER keywords are seen, the statement ** must end with ";END;". ** ** This implementation uses a state machine with 8 states: ** ** (0) INVALID We have not yet seen a non-whitespace character. ** ** (1) START At the beginning or end of an SQL statement. This routine ** returns 1 if it ends in the START state and 0 if it ends ** in any other state. ** ** (2) NORMAL We are in the middle of statement which ends with a single ** semicolon. ** ** (3) EXPLAIN The keyword EXPLAIN has been seen at the beginning of ** a statement. ** ** (4) CREATE The keyword CREATE has been seen at the beginning of a ** statement, possibly preceded by EXPLAIN and/or followed by ** TEMP or TEMPORARY ** ** (5) TRIGGER We are in the middle of a trigger definition that must be ** ended by a semicolon, the keyword END, and another semicolon. ** ** (6) SEMI We've seen the first semicolon in the ";END;" that occurs at ** the end of a trigger definition. ** ** (7) END We've seen the ";END" of the ";END;" that occurs at the end ** of a trigger definition. ** ** Transitions between states above are determined by tokens extracted ** from the input. The following tokens are significant: ** ** (0) tkSEMI A semicolon. ** (1) tkWS Whitespace. ** (2) tkOTHER Any other SQL token. ** (3) tkEXPLAIN The "explain" keyword. ** (4) tkCREATE The "create" keyword. ** (5) tkTEMP The "temp" or "temporary" keyword. ** (6) tkTRIGGER The "trigger" keyword. ** (7) tkEND The "end" keyword. ** ** Whitespace never causes a state transition and is always ignored. ** This means that a SQL string of all whitespace is invalid. ** ** If we compile with SQLITE_OMIT_TRIGGER, all of the computation needed ** to recognize the end of a trigger can be omitted. All we have to do ** is look for a semicolon that is not part of an string or comment. */
func Xsqlite3_complete16 ¶
C comment
/* ** This routine is the same as the sqlite3_complete() routine described ** above, except that the parameter is required to be UTF-16 encoded, not ** UTF-8. */
func Xsqlite3_config ¶
C comment
/* ** This API allows applications to modify the global configuration of ** the SQLite library at run-time. ** ** This routine should only be called when there are no outstanding ** database connections or memory allocations. This routine is not ** threadsafe. Failure to heed these warnings can lead to unpredictable ** behavior. */
func Xsqlite3_create_collation ¶
func Xsqlite3_create_collation(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _enc int32, _pCtx unsafe.Pointer, _xCompare func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, unsafe.Pointer) int32) (r0 int32)
C comment
/* ** Register a new collation sequence with the database handle db. */
func Xsqlite3_create_collation16 ¶
func Xsqlite3_create_collation16(tls *crt.TLS, _db *Xsqlite3, _zName unsafe.Pointer, _enc int32, _pCtx unsafe.Pointer, _xCompare func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, unsafe.Pointer) int32) (r0 int32)
C comment
/* ** Register a new collation sequence with the database handle db. */
func Xsqlite3_create_collation_v2 ¶
func Xsqlite3_create_collation_v2(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _enc int32, _pCtx unsafe.Pointer, _xCompare func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, unsafe.Pointer) int32, _xDel func(*crt.TLS, unsafe.Pointer)) (r0 int32)
C comment
/* ** Register a new collation sequence with the database handle db. */
func Xsqlite3_create_function ¶
func Xsqlite3_create_function(tls *crt.TLS, _db *Xsqlite3, _zFunc *int8, _nArg int32, _enc int32, _p unsafe.Pointer, _xSFunc func(*crt.TLS, *Xsqlite3_context, int32, **XMem), _xStep func(*crt.TLS, *Xsqlite3_context, int32, **XMem), _xFinal func(*crt.TLS, *Xsqlite3_context)) (r0 int32)
C comment
/* ** Create new user functions. */
func Xsqlite3_create_function16 ¶
func Xsqlite3_create_function16(tls *crt.TLS, _db *Xsqlite3, _zFunctionName unsafe.Pointer, _nArg int32, _eTextRep int32, _p unsafe.Pointer, _xSFunc func(*crt.TLS, *Xsqlite3_context, int32, **XMem), _xStep func(*crt.TLS, *Xsqlite3_context, int32, **XMem), _xFinal func(*crt.TLS, *Xsqlite3_context)) (r0 int32)
func Xsqlite3_create_function_v2 ¶
func Xsqlite3_create_function_v2(tls *crt.TLS, _db *Xsqlite3, _zFunc *int8, _nArg int32, _enc int32, _p unsafe.Pointer, _xSFunc func(*crt.TLS, *Xsqlite3_context, int32, **XMem), _xStep func(*crt.TLS, *Xsqlite3_context, int32, **XMem), _xFinal func(*crt.TLS, *Xsqlite3_context), _xDestroy func(*crt.TLS, unsafe.Pointer)) (r0 int32)
func Xsqlite3_create_module ¶
func Xsqlite3_create_module(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _pModule *Xsqlite3_module, _pAux unsafe.Pointer) (r0 int32)
C comment
/* ** External API function used to create a new virtual-table module. */
func Xsqlite3_create_module_v2 ¶
func Xsqlite3_create_module_v2(tls *crt.TLS, _db *Xsqlite3, _zName *int8, _pModule *Xsqlite3_module, _pAux unsafe.Pointer, _xDestroy func(*crt.TLS, unsafe.Pointer)) (r0 int32)
C comment
/* ** External API function used to create a new virtual-table module. */
func Xsqlite3_data_count ¶
C comment
/* ** Return the number of values available from the current row of the ** currently executing statement pStmt. */
func Xsqlite3_db_cacheflush ¶
C comment
/* ** Flush any dirty pages in the pager-cache for any attached database ** to disk. */
func Xsqlite3_db_config ¶
C comment
/* ** Configuration settings for an individual database connection */
func Xsqlite3_db_filename ¶
C comment
/* ** Return the filename of the database associated with a database ** connection. */
func Xsqlite3_db_readonly ¶
C comment
/* ** Return 1 if database is read-only or 0 if read/write. Return -1 if ** no such database exists. */
func Xsqlite3_db_release_memory ¶
C comment
/* ** Free up as much memory as we can from the given database ** connection. */
func Xsqlite3_db_status ¶
func Xsqlite3_db_status(tls *crt.TLS, _db *Xsqlite3, _op int32, _pCurrent *int32, _pHighwater *int32, _resetFlag int32) (r0 int32)
C comment
/* ** Query status information for a single database connection */
func Xsqlite3_declare_vtab ¶
C comment
/* ** This function is used to set the schema of a virtual table. It is only ** valid to call this function from within the xCreate() or xConnect() of a ** virtual table module. */
func Xsqlite3_enable_load_extension ¶
C comment
/* ** Enable or disable extension loading. Extension loading is disabled by ** default so as not to open security holes in older applications. */
func Xsqlite3_enable_shared_cache ¶
C comment
/* ** Enable or disable the shared pager and schema features. ** ** This routine has no effect on existing database connections. ** The shared cache setting effects only future calls to ** sqlite3_open(), sqlite3_open16(), or sqlite3_open_v2(). */
func Xsqlite3_errcode ¶
C comment
/* ** Return the most recent error code generated by an SQLite routine. If NULL is ** passed to this function, we assume a malloc() failed during sqlite3_open(). */
func Xsqlite3_errmsg ¶
C comment
/* ** Return UTF-8 encoded English language explanation of the most recent ** error. */
func Xsqlite3_errmsg16 ¶
C comment
/* ** Return UTF-16 encoded English language explanation of the most recent ** error. */
func Xsqlite3_errstr ¶
C comment
/* ** Return a string that describes the kind of error specified in the ** argument. For now, this simply calls the internal sqlite3ErrStr() ** function. */
func Xsqlite3_exec ¶
func Xsqlite3_exec(tls *crt.TLS, _db *Xsqlite3, _zSql *int8, _xCallback func(*crt.TLS, unsafe.Pointer, int32, **int8, **int8) int32, _pArg unsafe.Pointer, _pzErrMsg **int8) (r0 int32)
C comment
/* ** Execute SQL code. Return one of the SQLITE_ success/failure ** codes. Also write an error message into memory obtained from ** malloc() and make *pzErrMsg point to that message. ** ** If the SQL is a query, then for each row in the query result ** the xCallback() function is called. pArg becomes the first ** argument to xCallback(). If xCallback=NULL then no callback ** is invoked, even for queries. */
func Xsqlite3_expanded_sql ¶
C comment
/* ** Return the SQL associated with a prepared statement with ** bound parameters expanded. Space to hold the returned string is ** obtained from sqlite3_malloc(). The caller is responsible for ** freeing the returned string by passing it to sqlite3_free(). ** ** The SQLITE_TRACE_SIZE_LIMIT puts an upper bound on the size of ** expanded bound parameters. */
func Xsqlite3_expired ¶
C comment
/* ** Return TRUE (non-zero) of the statement supplied as an argument needs ** to be recompiled. A statement needs to be recompiled whenever the ** execution environment changes in a way that would alter the program ** that sqlite3_prepare() generates. For example, if new functions or ** collating sequences are registered or if an authorizer function is ** added or changed. */
func Xsqlite3_extended_result_codes ¶
C comment
/* ** Enable or disable the extended result codes. */
func Xsqlite3_file_control ¶
func Xsqlite3_file_control(tls *crt.TLS, _db *Xsqlite3, _zDbName *int8, _op int32, _pArg unsafe.Pointer) (r0 int32)
C comment
/* ** Invoke the xFileControl method on a particular database. */
func Xsqlite3_finalize ¶
C comment
/* ** The following routine destroys a virtual machine that is created by ** the sqlite3_compile() routine. The integer returned is an SQLITE_ ** success/failure code that describes the result of executing the virtual ** machine. ** ** This routine sets the error code and string returned by ** sqlite3_errcode(), sqlite3_errmsg() and sqlite3_errmsg16(). */
func Xsqlite3_free_table ¶
C comment
/* ** This routine frees the space the sqlite3_get_table() malloced. */
func Xsqlite3_get_autocommit ¶
C comment
/* ** Test to see whether or not the database connection is in autocommit ** mode. Return TRUE if it is and FALSE if not. Autocommit mode is on ** by default. Autocommit is disabled by a BEGIN statement and reenabled ** by the next COMMIT or ROLLBACK. */
func Xsqlite3_get_auxdata ¶
C comment
/* ** Return the auxiliary data pointer, if any, for the iArg'th argument to ** the user-function defined by pCtx. ** ** The left-most argument is 0. ** ** Undocumented behavior: If iArg is negative then access a cache of ** auxiliary data pointers that is available to all functions within a ** single prepared statement. The iArg values must match. */
func Xsqlite3_get_table ¶
func Xsqlite3_get_table(tls *crt.TLS, _db *Xsqlite3, _zSql *int8, _pazResult ***int8, _pnRow *int32, _pnColumn *int32, _pzErrMsg **int8) (r0 int32)
C comment
/* ** Query the database. But instead of invoking a callback for each row, ** malloc() for space to hold the result and return the entire results ** at the conclusion of the call. ** ** The result that is written to ***pazResult is held in memory obtained ** from malloc(). But the caller cannot free this memory directly. ** Instead, the entire table should be passed to sqlite3_free_table() when ** the calling procedure is finished using it. */
func Xsqlite3_global_recover ¶
C comment
/* ** This function is now an anachronism. It used to be used to recover from a ** malloc() failure, but SQLite now does this automatically. */
func Xsqlite3_initialize ¶
C comment
/* ** Initialize SQLite. ** ** This routine must be called to initialize the memory allocation, ** VFS, and mutex subsystems prior to doing any serious work with ** SQLite. But as long as you do not compile with SQLITE_OMIT_AUTOINIT ** this routine will be called automatically by key routines such as ** sqlite3_open(). ** ** This routine is a no-op except on its very first call for the process, ** or for the first call after a call to sqlite3_shutdown. ** ** The first thread to call this routine runs the initialization to ** completion. If subsequent threads call this routine before the first ** thread has finished the initialization process, then the subsequent ** threads must block until the first thread finishes with the initialization. ** ** The first thread might call this routine recursively. Recursive ** calls to this routine should not block, of course. Otherwise the ** initialization process would never complete. ** ** Let X be the first thread to enter this routine. Let Y be some other ** thread. Then while the initial invocation of this routine by X is ** incomplete, it is required that: ** ** * Calls to this routine from Y must block until the outer-most ** call by X completes. ** ** * Recursive calls to this routine from thread X return immediately ** without blocking. */
func Xsqlite3_interrupt ¶
C comment
/* ** Cause any pending operation to stop at its earliest opportunity. */
func Xsqlite3_libversion ¶
C comment
/* IMPLEMENTATION-OF: R-53536-42575 The sqlite3_libversion() function returns ** a pointer to the to the sqlite3_version[] string constant. */
func Xsqlite3_libversion_number ¶
C comment
/* IMPLEMENTATION-OF: R-35210-63508 The sqlite3_libversion_number() function ** returns an integer equal to SQLITE_VERSION_NUMBER. */
func Xsqlite3_limit ¶
C comment
/* ** Change the value of a limit. Report the old value. ** If an invalid limit index is supplied, report -1. ** Make no changes but still report the old value if the ** new limit is negative. ** ** A new lower limit does not shrink existing constructs. ** It merely prevents new constructs that exceed the limit ** from forming. */
func Xsqlite3_load_extension ¶
func Xsqlite3_load_extension(tls *crt.TLS, _db *Xsqlite3, _zFile *int8, _zProc *int8, _pzErrMsg **int8) (r0 int32)
C comment
/* ** CAPI3REF: Load An Extension ** METHOD: sqlite3 ** ** ^This interface loads an SQLite extension library from the named file. ** ** ^The sqlite3_load_extension() interface attempts to load an ** [SQLite extension] library contained in the file zFile. If ** the file cannot be loaded directly, attempts are made to load ** with various operating-system specific extensions added. ** So for example, if "samplelib" cannot be loaded, then names like ** "samplelib.so" or "samplelib.dylib" or "samplelib.dll" might ** be tried also. ** ** ^The entry point is zProc. ** ^(zProc may be 0, in which case SQLite will try to come up with an ** entry point name on its own. It first tries "sqlite3_extension_init". ** If that does not work, it constructs a name "sqlite3_X_init" where the ** X is consists of the lower-case equivalent of all ASCII alphabetic ** characters in the filename from the last "/" to the first following ** "." and omitting any initial "lib".)^ ** ^The sqlite3_load_extension() interface returns ** [SQLITE_OK] on success and [SQLITE_ERROR] if something goes wrong. ** ^If an error occurs and pzErrMsg is not 0, then the ** [sqlite3_load_extension()] interface shall attempt to ** fill *pzErrMsg with error message text stored in memory ** obtained from [sqlite3_malloc()]. The calling function ** should free this memory by calling [sqlite3_free()]. ** ** ^Extension loading must be enabled using ** [sqlite3_enable_load_extension()] or ** [sqlite3_db_config](db,[SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION],1,NULL) ** prior to calling this API, ** otherwise an error will be returned. ** ** <b>Security warning:</b> It is recommended that the ** [SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION] method be used to enable only this ** interface. The use of the [sqlite3_enable_load_extension()] interface ** should be avoided. This will keep the SQL function [load_extension()] ** disabled and prevent SQL injections from giving attackers ** access to extension loading capabilities. ** ** See also the [load_extension() SQL function]. */
func Xsqlite3_malloc ¶
C comment
/* ** This version of the memory allocation is for use by the application. ** First make sure the memory subsystem is initialized, then do the ** allocation. */
func Xsqlite3_memory_alarm ¶
func Xsqlite3_memory_alarm(tls *crt.TLS, _xCallback func(*crt.TLS, unsafe.Pointer, int64, int32), _pArg unsafe.Pointer, _iThreshold int64) (r0 int32)
C comment
/* ** Deprecated external interface. It used to set an alarm callback ** that was invoked when memory usage grew too large. Now it is a ** no-op. */
func Xsqlite3_memory_highwater ¶
C comment
/* ** Return the maximum amount of memory that has ever been ** checked out since either the beginning of this process ** or since the most recent reset. */
func Xsqlite3_mprintf ¶
C comment
/* ** Print into memory obtained from sqlite3_malloc()(). Omit the internal ** %-conversion extensions. */
func Xsqlite3_mutex_enter ¶
func Xsqlite3_mutex_enter(tls *crt.TLS, _p *Xsqlite3_mutex)
C comment
/* ** Obtain the mutex p. If some other thread already has the mutex, block ** until it can be obtained. */
func Xsqlite3_mutex_free ¶
func Xsqlite3_mutex_free(tls *crt.TLS, _p *Xsqlite3_mutex)
C comment
/* ** Free a dynamic mutex. */
func Xsqlite3_mutex_held ¶
func Xsqlite3_mutex_held(tls *crt.TLS, _p *Xsqlite3_mutex) (r0 int32)
C comment
/* ** The sqlite3_mutex_held() and sqlite3_mutex_notheld() routine are ** intended for use inside assert() statements. */
func Xsqlite3_mutex_leave ¶
func Xsqlite3_mutex_leave(tls *crt.TLS, _p *Xsqlite3_mutex)
C comment
/* ** The sqlite3_mutex_leave() routine exits a mutex that was previously ** entered by the same thread. The behavior is undefined if the mutex ** is not currently entered. If a NULL pointer is passed as an argument ** this function is a no-op. */
func Xsqlite3_mutex_notheld ¶
func Xsqlite3_mutex_notheld(tls *crt.TLS, _p *Xsqlite3_mutex) (r0 int32)
func Xsqlite3_mutex_try ¶
func Xsqlite3_mutex_try(tls *crt.TLS, _p *Xsqlite3_mutex) (r0 int32)
C comment
/* ** Obtain the mutex p. If successful, return SQLITE_OK. Otherwise, if another ** thread holds the mutex and it cannot be obtained, return SQLITE_BUSY. */
func Xsqlite3_next_stmt ¶
C comment
/* ** Return a pointer to the next prepared statement after pStmt associated ** with database connection pDb. If pStmt is NULL, return the first ** prepared statement for the database connection. Return NULL if there ** are no more. */
func Xsqlite3_open_v2 ¶
func Xsqlite3_os_end ¶
C comment
/* ** Shutdown the operating system interface. ** ** Some operating systems might need to do some cleanup in this routine, ** to release dynamically allocated objects. But not on unix. ** This routine is a no-op for unix. */
func Xsqlite3_os_init ¶
C comment
/* ** Initialize the operating system interface. ** ** This routine registers all VFS implementations for unix-like operating ** systems. This routine, and the sqlite3_os_end() routine that follows, ** should be the only routines in this file that are visible from other ** files. ** ** This routine is called once during SQLite initialization and by a ** single thread. The memory allocation and mutex subsystems have not ** necessarily been initialized when this routine is called, and so they ** should not be used. */
func Xsqlite3_overload_function ¶
C comment
/* ** Declare that a function has been overloaded by a virtual table. ** ** If the function already exists as a regular global function, then ** this routine is a no-op. If the function does not exist, then create ** a new one that always throws a run-time error. ** ** When virtual tables intend to provide an overloaded function, they ** should call this routine to make sure the global function exists. ** A global function must exist in order for name resolution to work ** properly. */
func Xsqlite3_prepare ¶
func Xsqlite3_prepare(tls *crt.TLS, _db *Xsqlite3, _zSql *int8, _nBytes int32, _ppStmt *unsafe.Pointer, _pzTail **int8) (r0 int32)
C comment
/* ** Two versions of the official API. Legacy and new use. In the legacy ** version, the original SQL text is not saved in the prepared statement ** and so if a schema change occurs, SQLITE_SCHEMA is returned by ** sqlite3_step(). In the new version, the original SQL text is retained ** and the statement is automatically recompiled if an schema change ** occurs. */
func Xsqlite3_prepare16 ¶
func Xsqlite3_prepare16(tls *crt.TLS, _db *Xsqlite3, _zSql unsafe.Pointer, _nBytes int32, _ppStmt *unsafe.Pointer, _pzTail *unsafe.Pointer) (r0 int32)
C comment
/* ** Two versions of the official API. Legacy and new use. In the legacy ** version, the original SQL text is not saved in the prepared statement ** and so if a schema change occurs, SQLITE_SCHEMA is returned by ** sqlite3_step(). In the new version, the original SQL text is retained ** and the statement is automatically recompiled if an schema change ** occurs. */
func Xsqlite3_prepare16_v2 ¶
func Xsqlite3_prepare_v2 ¶
func Xsqlite3_profile ¶
func Xsqlite3_profile(tls *crt.TLS, _db *Xsqlite3, _xProfile func(*crt.TLS, unsafe.Pointer, *int8, uint64), _pArg unsafe.Pointer) (r0 unsafe.Pointer)
C comment
/* ** Register a profile function. The pArg from the previously registered ** profile function is returned. ** ** A NULL profile function means that no profiling is executes. A non-NULL ** profile is a pointer to a function that is invoked at the conclusion of ** each SQL statement that is run. */
func Xsqlite3_progress_handler ¶
func Xsqlite3_progress_handler(tls *crt.TLS, _db *Xsqlite3, _nOps int32, _xProgress func(*crt.TLS, unsafe.Pointer) int32, _pArg unsafe.Pointer)
C comment
/* ** This routine sets the progress callback for an Sqlite database to the ** given callback function with the given argument. The progress callback will ** be invoked every nOps opcodes. */
func Xsqlite3_realloc ¶
C comment
/* ** The public interface to sqlite3Realloc. Make sure that the memory ** subsystem is initialized prior to invoking sqliteRealloc. */
func Xsqlite3_realloc64 ¶
func Xsqlite3_release_memory ¶
C comment
/* ** Attempt to release up to n bytes of non-essential memory currently ** held by SQLite. An example of non-essential memory is memory used to ** cache database pages that are not currently in use. */
func Xsqlite3_reset ¶
C comment
/* ** Terminate the current execution of an SQL statement and reset it ** back to its starting state so that it can be reused. A success code from ** the prior execution is returned. ** ** This routine sets the error code and string returned by ** sqlite3_errcode(), sqlite3_errmsg() and sqlite3_errmsg16(). */
func Xsqlite3_reset_auto_extension ¶
C comment
/* ** Reset the automatic extension loading mechanism. */
func Xsqlite3_result_blob ¶
func Xsqlite3_result_blob(tls *crt.TLS, _pCtx *Xsqlite3_context, _z unsafe.Pointer, _n int32, _xDel func(*crt.TLS, unsafe.Pointer))
C comment
/* ** CAPI3REF: Setting The Result Of An SQL Function ** METHOD: sqlite3_context ** ** These routines are used by the xFunc or xFinal callbacks that ** implement SQL functions and aggregates. See ** [sqlite3_create_function()] and [sqlite3_create_function16()] ** for additional information. ** ** These functions work very much like the [parameter binding] family of ** functions used to bind values to host parameters in prepared statements. ** Refer to the [SQL parameter] documentation for additional information. ** ** ^The sqlite3_result_blob() interface sets the result from ** an application-defined function to be the BLOB whose content is pointed ** to by the second parameter and which is N bytes long where N is the ** third parameter. ** ** ^The sqlite3_result_zeroblob(C,N) and sqlite3_result_zeroblob64(C,N) ** interfaces set the result of the application-defined function to be ** a BLOB containing all zero bytes and N bytes in size. ** ** ^The sqlite3_result_double() interface sets the result from ** an application-defined function to be a floating point value specified ** by its 2nd argument. ** ** ^The sqlite3_result_error() and sqlite3_result_error16() functions ** cause the implemented SQL function to throw an exception. ** ^SQLite uses the string pointed to by the ** 2nd parameter of sqlite3_result_error() or sqlite3_result_error16() ** as the text of an error message. ^SQLite interprets the error ** message string from sqlite3_result_error() as UTF-8. ^SQLite ** interprets the string from sqlite3_result_error16() as UTF-16 in native ** byte order. ^If the third parameter to sqlite3_result_error() ** or sqlite3_result_error16() is negative then SQLite takes as the error ** message all text up through the first zero character. ** ^If the third parameter to sqlite3_result_error() or ** sqlite3_result_error16() is non-negative then SQLite takes that many ** bytes (not characters) from the 2nd parameter as the error message. ** ^The sqlite3_result_error() and sqlite3_result_error16() ** routines make a private copy of the error message text before ** they return. Hence, the calling function can deallocate or ** modify the text after they return without harm. ** ^The sqlite3_result_error_code() function changes the error code ** returned by SQLite as a result of an error in a function. ^By default, ** the error code is SQLITE_ERROR. ^A subsequent call to sqlite3_result_error() ** or sqlite3_result_error16() resets the error code to SQLITE_ERROR. ** ** ^The sqlite3_result_error_toobig() interface causes SQLite to throw an ** error indicating that a string or BLOB is too long to represent. ** ** ^The sqlite3_result_error_nomem() interface causes SQLite to throw an ** error indicating that a memory allocation failed. ** ** ^The sqlite3_result_int() interface sets the return value ** of the application-defined function to be the 32-bit signed integer ** value given in the 2nd argument. ** ^The sqlite3_result_int64() interface sets the return value ** of the application-defined function to be the 64-bit signed integer ** value given in the 2nd argument. ** ** ^The sqlite3_result_null() interface sets the return value ** of the application-defined function to be NULL. ** ** ^The sqlite3_result_text(), sqlite3_result_text16(), ** sqlite3_result_text16le(), and sqlite3_result_text16be() interfaces ** set the return value of the application-defined function to be ** a text string which is represented as UTF-8, UTF-16 native byte order, ** UTF-16 little endian, or UTF-16 big endian, respectively. ** ^The sqlite3_result_text64() interface sets the return value of an ** application-defined function to be a text string in an encoding ** specified by the fifth (and last) parameter, which must be one ** of [SQLITE_UTF8], [SQLITE_UTF16], [SQLITE_UTF16BE], or [SQLITE_UTF16LE]. ** ^SQLite takes the text result from the application from ** the 2nd parameter of the sqlite3_result_text* interfaces. ** ^If the 3rd parameter to the sqlite3_result_text* interfaces ** is negative, then SQLite takes result text from the 2nd parameter ** through the first zero character. ** ^If the 3rd parameter to the sqlite3_result_text* interfaces ** is non-negative, then as many bytes (not characters) of the text ** pointed to by the 2nd parameter are taken as the application-defined ** function result. If the 3rd parameter is non-negative, then it ** must be the byte offset into the string where the NUL terminator would ** appear if the string where NUL terminated. If any NUL characters occur ** in the string at a byte offset that is less than the value of the 3rd ** parameter, then the resulting string will contain embedded NULs and the ** result of expressions operating on strings with embedded NULs is undefined. ** ^If the 4th parameter to the sqlite3_result_text* interfaces ** or sqlite3_result_blob is a non-NULL pointer, then SQLite calls that ** function as the destructor on the text or BLOB result when it has ** finished using that result. ** ^If the 4th parameter to the sqlite3_result_text* interfaces or to ** sqlite3_result_blob is the special constant SQLITE_STATIC, then SQLite ** assumes that the text or BLOB result is in constant space and does not ** copy the content of the parameter nor call a destructor on the content ** when it has finished using that result. ** ^If the 4th parameter to the sqlite3_result_text* interfaces ** or sqlite3_result_blob is the special constant SQLITE_TRANSIENT ** then SQLite makes a copy of the result into space obtained from ** from [sqlite3_malloc()] before it returns. ** ** ^The sqlite3_result_value() interface sets the result of ** the application-defined function to be a copy of the ** [unprotected sqlite3_value] object specified by the 2nd parameter. ^The ** sqlite3_result_value() interface makes a copy of the [sqlite3_value] ** so that the [sqlite3_value] specified in the parameter may change or ** be deallocated after sqlite3_result_value() returns without harm. ** ^A [protected sqlite3_value] object may always be used where an ** [unprotected sqlite3_value] object is required, so either ** kind of [sqlite3_value] object can be used with this interface. ** ** If these routines are called from within the different thread ** than the one containing the application-defined function that received ** the [sqlite3_context] pointer, the results are undefined. */
func Xsqlite3_result_blob64 ¶
func Xsqlite3_result_double ¶
func Xsqlite3_result_double(tls *crt.TLS, _pCtx *Xsqlite3_context, _rVal float64)
func Xsqlite3_result_error ¶
func Xsqlite3_result_error(tls *crt.TLS, _pCtx *Xsqlite3_context, _z *int8, _n int32)
func Xsqlite3_result_error16 ¶
func Xsqlite3_result_error_code ¶
func Xsqlite3_result_error_code(tls *crt.TLS, _pCtx *Xsqlite3_context, _errCode int32)
func Xsqlite3_result_error_nomem ¶
func Xsqlite3_result_error_nomem(tls *crt.TLS, _pCtx *Xsqlite3_context)
C comment
/* An SQLITE_NOMEM error. */
func Xsqlite3_result_error_toobig ¶
func Xsqlite3_result_error_toobig(tls *crt.TLS, _pCtx *Xsqlite3_context)
C comment
/* Force an SQLITE_TOOBIG error. */
func Xsqlite3_result_int ¶
func Xsqlite3_result_int(tls *crt.TLS, _pCtx *Xsqlite3_context, _iVal int32)
func Xsqlite3_result_int64 ¶
func Xsqlite3_result_int64(tls *crt.TLS, _pCtx *Xsqlite3_context, _iVal int64)
func Xsqlite3_result_null ¶
func Xsqlite3_result_null(tls *crt.TLS, _pCtx *Xsqlite3_context)
func Xsqlite3_result_subtype ¶
func Xsqlite3_result_subtype(tls *crt.TLS, _pCtx *Xsqlite3_context, _eSubtype uint32)
C comment
/* ** CAPI3REF: Setting The Subtype Of An SQL Function ** METHOD: sqlite3_context ** ** The sqlite3_result_subtype(C,T) function causes the subtype of ** the result from the [application-defined SQL function] with ** [sqlite3_context] C to be the value T. Only the lower 8 bits ** of the subtype T are preserved in current versions of SQLite; ** higher order bits are discarded. ** The number of subtype bytes preserved by SQLite might increase ** in future releases of SQLite. */
func Xsqlite3_result_text ¶
func Xsqlite3_result_text16 ¶
func Xsqlite3_result_text64 ¶
func Xsqlite3_result_value ¶
func Xsqlite3_result_value(tls *crt.TLS, _pCtx *Xsqlite3_context, _pValue *XMem)
C comment
/* SQLITE_OMIT_UTF16 */
func Xsqlite3_result_zeroblob ¶
func Xsqlite3_result_zeroblob(tls *crt.TLS, _pCtx *Xsqlite3_context, _n int32)
func Xsqlite3_result_zeroblob64 ¶
func Xsqlite3_result_zeroblob64(tls *crt.TLS, _pCtx *Xsqlite3_context, _n uint64) (r0 int32)
func Xsqlite3_rollback_hook ¶
func Xsqlite3_rollback_hook(tls *crt.TLS, _db *Xsqlite3, _xCallback func(*crt.TLS, unsafe.Pointer), _pArg unsafe.Pointer) (r0 unsafe.Pointer)
C comment
/* ** Register a callback to be invoked each time a transaction is rolled ** back by this database connection. */
func Xsqlite3_set_authorizer ¶
func Xsqlite3_set_authorizer(tls *crt.TLS, _db *Xsqlite3, _xAuth func(*crt.TLS, unsafe.Pointer, int32, *int8, *int8, *int8, *int8) int32, _pArg unsafe.Pointer) (r0 int32)
C comment
/* ** Set or clear the access authorization function. ** ** The access authorization function is be called during the compilation ** phase to verify that the user has read and/or write access permission on ** various fields of the database. The first argument to the auth function ** is a copy of the 3rd argument to this routine. The second argument ** to the auth function is one of these constants: ** ** SQLITE_CREATE_INDEX ** SQLITE_CREATE_TABLE ** SQLITE_CREATE_TEMP_INDEX ** SQLITE_CREATE_TEMP_TABLE ** SQLITE_CREATE_TEMP_TRIGGER ** SQLITE_CREATE_TEMP_VIEW ** SQLITE_CREATE_TRIGGER ** SQLITE_CREATE_VIEW ** SQLITE_DELETE ** SQLITE_DROP_INDEX ** SQLITE_DROP_TABLE ** SQLITE_DROP_TEMP_INDEX ** SQLITE_DROP_TEMP_TABLE ** SQLITE_DROP_TEMP_TRIGGER ** SQLITE_DROP_TEMP_VIEW ** SQLITE_DROP_TRIGGER ** SQLITE_DROP_VIEW ** SQLITE_INSERT ** SQLITE_PRAGMA ** SQLITE_READ ** SQLITE_SELECT ** SQLITE_TRANSACTION ** SQLITE_UPDATE ** ** The third and fourth arguments to the auth function are the name of ** the table and the column that are being accessed. The auth function ** should return either SQLITE_OK, SQLITE_DENY, or SQLITE_IGNORE. If ** SQLITE_OK is returned, it means that access is allowed. SQLITE_DENY ** means that the SQL statement will never-run - the sqlite3_exec() call ** will return with an error. SQLITE_IGNORE means that the SQL statement ** should run but attempts to read the specified column will return NULL ** and attempts to write the column will be ignored. ** ** Setting the auth function to NULL disables this hook. The default ** setting of the auth function is NULL. */
func Xsqlite3_set_auxdata ¶
func Xsqlite3_set_auxdata(tls *crt.TLS, _pCtx *Xsqlite3_context, _iArg int32, _pAux unsafe.Pointer, _xDelete func(*crt.TLS, unsafe.Pointer))
C comment
/* ** Set the auxiliary data pointer and delete function, for the iArg'th ** argument to the user-function defined by pCtx. Any previous value is ** deleted by calling the delete function specified when it was set. ** ** The left-most argument is 0. ** ** Undocumented behavior: If iArg is negative then make the data available ** to all functions within the current prepared statement using iArg as an ** access code. */
func Xsqlite3_set_last_insert_rowid ¶
C comment
/* ** Set the value returned by the sqlite3_last_insert_rowid() API function. */
func Xsqlite3_shutdown ¶
C comment
/* ** Undo the effects of sqlite3_initialize(). Must not be called while ** there are outstanding database connections or memory allocations or ** while any part of SQLite is otherwise in use in any thread. This ** routine is not threadsafe. But it is safe to invoke this routine ** on when SQLite is already shut down. If SQLite is already shut down ** when this routine is invoked, then this routine is a harmless no-op. */
func Xsqlite3_snprintf ¶
func Xsqlite3_soft_heap_limit ¶
C comment
/* ** CAPI3REF: Deprecated Soft Heap Limit Interface ** DEPRECATED ** ** This is a deprecated version of the [sqlite3_soft_heap_limit64()] ** interface. This routine is provided for historical compatibility ** only. All new applications should use the ** [sqlite3_soft_heap_limit64()] interface rather than this one. */
func Xsqlite3_soft_heap_limit64 ¶
C comment
/* ** Set the soft heap-size limit for the library. Passing a zero or ** negative value indicates no limit. */
func Xsqlite3_sourceid ¶
C comment
/* IMPLEMENTATION-OF: R-63124-39300 The sqlite3_sourceid() function returns a ** pointer to a string constant whose value is the same as the ** SQLITE_SOURCE_ID C preprocessor macro. */
func Xsqlite3_status ¶
func Xsqlite3_status(tls *crt.TLS, _op int32, _pCurrent *int32, _pHighwater *int32, _resetFlag int32) (r0 int32)
C comment
/* ** CAPI3REF: SQLite Runtime Status ** ** ^These interfaces are used to retrieve runtime status information ** about the performance of SQLite, and optionally to reset various ** highwater marks. ^The first argument is an integer code for ** the specific parameter to measure. ^(Recognized integer codes ** are of the form [status parameters | SQLITE_STATUS_...].)^ ** ^The current value of the parameter is returned into *pCurrent. ** ^The highest recorded value is returned in *pHighwater. ^If the ** resetFlag is true, then the highest record value is reset after ** *pHighwater is written. ^(Some parameters do not record the highest ** value. For those parameters ** nothing is written into *pHighwater and the resetFlag is ignored.)^ ** ^(Other parameters record only the highwater mark and not the current ** value. For these latter parameters nothing is written into *pCurrent.)^ ** ** ^The sqlite3_status() and sqlite3_status64() routines return ** SQLITE_OK on success and a non-zero [error code] on failure. ** ** If either the current value or the highwater mark is too large to ** be represented by a 32-bit integer, then the values returned by ** sqlite3_status() are undefined. ** ** See also: [sqlite3_db_status()] */
func Xsqlite3_status64 ¶
func Xsqlite3_status64(tls *crt.TLS, _op int32, _pCurrent *int64, _pHighwater *int64, _resetFlag int32) (r0 int32)
C comment
/* ** Query status information. */
func Xsqlite3_step ¶
C comment
/* ** This is the top-level implementation of sqlite3_step(). Call ** sqlite3Step() to do most of the work. If a schema error occurs, ** call sqlite3Reprepare() and try again. */
func Xsqlite3_stmt_busy ¶
C comment
/* ** Return true if the prepared statement is in need of being reset. */
func Xsqlite3_stmt_readonly ¶
C comment
/* ** Return true if the prepared statement is guaranteed to not modify the ** database. */
func Xsqlite3_stmt_status ¶
func Xsqlite3_stmt_status(tls *crt.TLS, _pStmt unsafe.Pointer, _op int32, _resetFlag int32) (r0 int32)
C comment
/* ** Return the value of a status counter for a prepared statement */
func Xsqlite3_strglob ¶
C comment
/* ** The sqlite3_strglob() interface. Return 0 on a match (like strcmp()) and ** non-zero if there is no match. */
func Xsqlite3_stricmp ¶
C comment
/* ** Some systems have stricmp(). Others have strcasecmp(). Because ** there is no consistency, we will define our own. ** ** IMPLEMENTATION-OF: R-30243-02494 The sqlite3_stricmp() and ** sqlite3_strnicmp() APIs allow applications and extensions to compare ** the contents of two buffers containing UTF-8 strings in a ** case-independent fashion, using the same definition of "case ** independence" that SQLite uses internally when comparing identifiers. */
func Xsqlite3_strlike ¶
C comment
/* ** The sqlite3_strlike() interface. Return 0 on a match and non-zero for ** a miss - like strcmp(). */
func Xsqlite3_strnicmp ¶
func Xsqlite3_system_errno ¶
C comment
/* ** CAPI3REF: Low-level system error code ** ** ^Attempt to return the underlying operating system error code or error ** number that caused the most recent I/O error or failure to open a file. ** The return value is OS-dependent. For example, on unix systems, after ** [sqlite3_open_v2()] returns [SQLITE_CANTOPEN], this interface could be ** called to get back the underlying "errno" that caused the problem, such ** as ENOSPC, EAUTH, EISDIR, and so forth. */
func Xsqlite3_table_column_metadata ¶
func Xsqlite3_table_column_metadata(tls *crt.TLS, _db *Xsqlite3, _zDbName *int8, _zTableName *int8, _zColumnName *int8, _pzDataType **int8, _pzCollSeq **int8, _pNotNull *int32, _pPrimaryKey *int32, _pAutoinc *int32) (r0 int32)
C comment
/* ** Return meta information about a specific column of a database table. ** See comment in sqlite3.h (sqlite.h.in) for details. */
func Xsqlite3_thread_cleanup ¶
C comment
/* ** This is a convenience routine that makes sure that all thread-specific ** data for this thread has been deallocated. ** ** SQLite no longer uses thread-specific data so this routine is now a ** no-op. It is retained for historical compatibility. */
func Xsqlite3_threadsafe ¶
C comment
/* IMPLEMENTATION-OF: R-20790-14025 The sqlite3_threadsafe() function returns ** zero if and only if SQLite was compiled with mutexing code omitted due to ** the SQLITE_THREADSAFE compile-time option being set to 0. */
func Xsqlite3_total_changes ¶
C comment
/* ** Return the number of changes since the database handle was opened. */
func Xsqlite3_trace ¶
func Xsqlite3_trace_v2 ¶
func Xsqlite3_trace_v2(tls *crt.TLS, _db *Xsqlite3, _mTrace uint32, _xTrace func(*crt.TLS, uint32, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) int32, _pArg unsafe.Pointer) (r0 int32)
C comment
/* Register a trace callback using the version-2 interface. */
func Xsqlite3_transfer_bindings ¶
func Xsqlite3_transfer_bindings(tls *crt.TLS, _pFromStmt unsafe.Pointer, _pToStmt unsafe.Pointer) (r0 int32)
C comment
/* ** Deprecated external interface. Internal/core SQLite code ** should call sqlite3TransferBindings. ** ** It is misuse to call this routine with statements from different ** database connections. But as this is a deprecated interface, we ** will not bother to check for that condition. ** ** If the two statements contain a different number of bindings, then ** an SQLITE_ERROR is returned. Nothing else can go wrong, so otherwise ** SQLITE_OK is returned. */
func Xsqlite3_update_hook ¶
func Xsqlite3_update_hook(tls *crt.TLS, _db *Xsqlite3, _xCallback func(*crt.TLS, unsafe.Pointer, int32, *int8, *int8, int64), _pArg unsafe.Pointer) (r0 unsafe.Pointer)
C comment
/* ** Register a callback to be invoked each time a row is updated, ** inserted or deleted using this database connection. */
func Xsqlite3_uri_parameter ¶
C comment
/* ** This is a utility routine, useful to VFS implementations, that checks ** to see if a database file was a URI that contained a specific query ** parameter, and if so obtains the value of the query parameter. ** ** The zFilename argument is the filename pointer passed into the xOpen() ** method of a VFS implementation. The zParam argument is the name of the ** query parameter we seek. This routine returns the value of the zParam ** parameter if it exists. If the parameter does not exist, this routine ** returns a NULL pointer. */
func Xsqlite3_user_data ¶
func Xsqlite3_user_data(tls *crt.TLS, _p *Xsqlite3_context) (r0 unsafe.Pointer)
C comment
/* ** Extract the user data from a sqlite3_context structure and return a ** pointer to it. */
func Xsqlite3_value_blob ¶
C comment
/**************************** sqlite3_value_ ******************************* ** The following routines extract information from a Mem or sqlite3_value ** structure. */
func Xsqlite3_value_free ¶
C comment
/* Destroy an sqlite3_value object previously obtained from ** sqlite3_value_dup(). */
func Xsqlite3_value_numeric_type ¶
C comment
/* ** Try to convert the type of a function argument or a result column ** into a numeric representation. Use either INTEGER or REAL whichever ** is appropriate. But only do the conversion if it is possible without ** loss of information and return the revised type of the argument. */
func Xsqlite3_value_subtype ¶
C comment
/* ** CAPI3REF: Finding The Subtype Of SQL Values ** METHOD: sqlite3_value ** ** The sqlite3_value_subtype(V) function returns the subtype for ** an [application-defined SQL function] argument V. The subtype ** information can be used to pass a limited amount of context from ** one SQL function to another. Use the [sqlite3_result_subtype()] ** routine to set the subtype for the return value of an SQL function. ** ** SQLite makes no use of subtype itself. It merely passes the subtype ** from the result of one [application-defined SQL function] into the ** input of another. */
func Xsqlite3_value_text16 ¶
func Xsqlite3_value_text16be ¶
func Xsqlite3_value_text16le ¶
func Xsqlite3_value_type ¶
C comment
/* SQLITE_OMIT_UTF16 */ /* EVIDENCE-OF: R-12793-43283 Every value in SQLite has one of five ** fundamental datatypes: 64-bit signed integer 64-bit IEEE floating ** point number string BLOB NULL */
func Xsqlite3_vfs_register ¶
func Xsqlite3_vfs_register(tls *crt.TLS, _pVfs *Xsqlite3_vfs, _makeDflt int32) (r0 int32)
C comment
/* ** Register a VFS with the system. It is harmless to register the same ** VFS multiple times. The new VFS becomes the default if makeDflt is ** true. */
func Xsqlite3_vfs_unregister ¶
func Xsqlite3_vfs_unregister(tls *crt.TLS, _pVfs *Xsqlite3_vfs) (r0 int32)
C comment
/* ** Unregister a VFS so that it is no longer accessible. */
func Xsqlite3_vmprintf ¶
C comment
/* ** Print into memory obtained from sqlite3_malloc(). Omit the internal ** %-conversion extensions. */
func Xsqlite3_vsnprintf ¶
func Xsqlite3_vsnprintf(tls *crt.TLS, _n int32, _zBuf *int8, _zFormat *int8, _ap []interface{}) (r0 *int8)
C comment
/* ** sqlite3_snprintf() works like snprintf() except that it ignores the ** current locale settings. This is important for SQLite because we ** are not able to use a "," as the decimal point in place of "." as ** specified by some locales. ** ** Oops: The first two arguments of sqlite3_snprintf() are backwards ** from the snprintf() standard. Unfortunately, it is too late to change ** this without breaking compatibility, so we just have to live with the ** mistake. ** ** sqlite3_vsnprintf() is the varargs version. */
func Xsqlite3_vtab_config ¶
C comment
/* ** Call from within the xCreate() or xConnect() methods to provide ** the SQLite core with additional information about the behavior ** of the virtual table being implemented. */
func Xsqlite3_vtab_on_conflict ¶
C comment
/* ** Return the ON CONFLICT resolution mode in effect for the virtual ** table update operation currently in progress. ** ** The results of this routine are undefined unless it is called from ** within an xUpdate method. */
func Xsqlite3_wal_autocheckpoint ¶
C comment
/* ** Configure an sqlite3_wal_hook() callback to automatically checkpoint ** a database after committing a transaction if there are nFrame or ** more frames in the log file. Passing zero or a negative value as the ** nFrame parameter disables automatic checkpoints entirely. ** ** The callback registered by this function replaces any existing callback ** registered using sqlite3_wal_hook(). Likewise, registering a callback ** using sqlite3_wal_hook() disables the automatic checkpoint mechanism ** configured by this function. */
func Xsqlite3_wal_checkpoint ¶
C comment
/* ** Checkpoint database zDb. If zDb is NULL, or if the buffer zDb points ** to contains a zero-length string, all attached databases are ** checkpointed. */
func Xsqlite3_wal_checkpoint_v2 ¶
func Xsqlite3_wal_checkpoint_v2(tls *crt.TLS, _db *Xsqlite3, _zDb *int8, _eMode int32, _pnLog *int32, _pnCkpt *int32) (r0 int32)
C comment
/* ** Checkpoint database zDb. */
func Xsqlite3_wal_hook ¶
func Xsqlite3_wal_hook(tls *crt.TLS, _db *Xsqlite3, _xCallback func(*crt.TLS, unsafe.Pointer, *Xsqlite3, *int8, int32) int32, _pArg unsafe.Pointer) (r0 unsafe.Pointer)
C comment
/* ** Register a callback to be invoked each time a transaction is written ** into the write-ahead-log by this database connection. */
Types ¶
type TAggInfo_col ¶
type TAggInfo_func ¶
type TBenignMallocHooks ¶
type TExprList_item ¶
type THavingToWhereCtx ¶
type TIdList_item ¶
type TMem0Global ¶
type TMem0Global struct {
Xmutex unsafe.Pointer
XalarmThreshold int64
XpScratchEnd unsafe.Pointer
XpScratchFree unsafe.Pointer
XnScratchFree uint32
XnearlyFull int32
} // t173 struct{mutex *struct{},alarmThreshold int64,pScratchEnd *struct{},pScratchFree *struct{},nScratchFree uint32,nearlyFull int32}
type TPCacheGlobal ¶
type TPCacheGlobal struct {
Xgrp XPGroup
XisInit int32
XseparateCache int32
XnInitPage int32
XszSlot int32
XnSlot int32
XnReserve int32
XpStart unsafe.Pointer
XpEnd unsafe.Pointer
Xmutex unsafe.Pointer
XpFree unsafe.Pointer
XnFreeSlot int32
XbUnderPressure int32
} // t209 struct{grp struct{mutex *struct{},nMaxPage uint32,nMinPage uint32,mxPinned uint32,nCurrentPage uint32,lru struct{page struct{pBuf *struct{},pExtra *struct{}},iKey uint32,isPinned uint8,isBulkLocal uint8,isAnchor uint8,pNext *struct{},pCache *struct{},pLruNext *struct{},pLruPrev *struct{}}},isInit int32,separateCache int32,nInitPage int32,szSlot int32,nSlot int32,nReserve int32,pStart *struct{},pEnd *struct{},mutex *struct{},pFree *struct{},nFreeSlot int32,bUnderPressure int32}
type TReusableSpace ¶
type TRowSetChunk ¶
type TRowSetChunk struct {
XpNextChunk unsafe.Pointer
XaEntry [42]TRowSetEntry
} // t215 struct{pNextChunk *struct{},aEntry [42]struct{v int64,pRight *struct{},pLeft *struct{}}}
type TRowSetEntry ¶
type TSqlite3Config ¶
type TSqlite3Config struct {
XbMemstat int32
XbCoreMutex int32
XbFullMutex int32
XbOpenUri int32
XbUseCis int32
XmxStrlen int32
XneverCorrupt int32
XszLookaside int32
XnLookaside int32
XnStmtSpill int32
Xm Xsqlite3_mem_methods
Xmutex Xsqlite3_mutex_methods
Xpcache2 Xsqlite3_pcache_methods2
XpHeap unsafe.Pointer
XnHeap int32
XmnReq int32
XmxReq int32
XszMmap int64
XmxMmap int64
XpScratch unsafe.Pointer
XszScratch int32
XnScratch int32
XpPage unsafe.Pointer
XszPage int32
XnPage int32
XmxParserStack int32
XszPma uint32
XisInit int32
XinProgress int32
XisMutexInit int32
XisMallocInit int32
XisPCacheInit int32
XnRefInitMutex int32
XpInitMutex unsafe.Pointer
XxLog func(*crt.TLS, unsafe.Pointer, int32, *int8)
XpLogArg unsafe.Pointer
XxTestCallback func(*crt.TLS, int32) int32
XbLocaltimeFault int32
XiOnceResetThreshold int32
} // t139 struct{bMemstat int32,bCoreMutex int32,bFullMutex int32,bOpenUri int32,bUseCis int32,mxStrlen int32,neverCorrupt int32,szLookaside int32,nLookaside int32,nStmtSpill int32,m struct{xMalloc *func(int32)*struct{},xFree *func(*struct{}),xRealloc *func(*struct{},int32)*struct{},xSize *func(*struct{})int32,xRoundup *func(int32)int32,xInit *func(*struct{})int32,xShutdown *func(*struct{}),pAppData *struct{}},mutex struct{xMutexInit *func()int32,xMutexEnd *func()int32,xMutexAlloc *func(int32)*struct{},xMutexFree *func(*struct{}),xMutexEnter *func(*struct{}),xMutexTry *func(*struct{})int32,xMutexLeave *func(*struct{}),xMutexHeld *func(*struct{})int32,xMutexNotheld *func(*struct{})int32},pcache2 struct{iVersion int32,pArg *struct{},xInit *func(*struct{})int32,xShutdown *func(*struct{}),xCreate *func(int32,int32,int32)*struct{},xCachesize *func(*struct{},int32),xPagecount *func(*struct{})int32,xFetch *func(*struct{},uint32,int32)*struct{},xUnpin *func(*struct{},*struct{},int32),xRekey *func(*struct{},*struct{},uint32,uint32),xTruncate *func(*struct{},uint32),xDestroy *func(*struct{}),xShrink *func(*struct{})},pHeap *struct{},nHeap int32,mnReq int32,mxReq int32,szMmap int64,mxMmap int64,pScratch *struct{},szScratch int32,nScratch int32,pPage *struct{},szPage int32,nPage int32,mxParserStack int32,sharedCacheEnabled int32,szPma uint32,isInit int32,inProgress int32,isMutexInit int32,isMallocInit int32,isPCacheInit int32,nRefInitMutex int32,pInitMutex *struct{},xLog *func(*struct{},int32,*int8),pLogArg *struct{},xTestCallback *func(int32)int32,bLocaltimeFault int32,iOnceResetThreshold int32}
type TSrcList_item ¶
type TSrcList_item struct {
XpSchema unsafe.Pointer
XzDatabase *int8
XzName *int8
XzAlias *int8
XpTab unsafe.Pointer
XpSelect unsafe.Pointer
XaddrFillSub int32
XregReturn int32
XregResult int32
Xfg t178
XiSelectId uint8
XiCursor int32
XpOn unsafe.Pointer
XpUsing unsafe.Pointer
XcolUsed uint64
Xu1 t179
XpIBIndex unsafe.Pointer
} // t180 struct{pSchema *struct{},zDatabase *int8,zName *int8,zAlias *int8,pTab *struct{},pSelect *struct{},addrFillSub int32,regReturn int32,regResult int32,fg struct{jointype uint8,notIndexed int8},iSelectId uint8,iCursor int32,pOn *struct{},pUsing *struct{},colUsed uint64,u1 union{zIndexedBy *int8,pFuncArg *struct{}},pIBIndex *struct{}}
type TVdbe ¶
type TVdbe struct {
Xdb unsafe.Pointer
XpPrev unsafe.Pointer
XpNext unsafe.Pointer
XpParse unsafe.Pointer
XnVar int16
Xmagic uint32
XnMem int32
XnCursor int32
XcacheCtr uint32
Xpc int32
Xrc int32
XnChange int32
XiStatement int32
XiCurrentTime int64
XnFkConstraint int64
XnStmtDefCons int64
XnStmtDefImmCons int64
XaOp unsafe.Pointer
XaMem unsafe.Pointer
XapArg *unsafe.Pointer
XaColName unsafe.Pointer
XpResultSet unsafe.Pointer
XzErrMsg *int8
XapCsr *unsafe.Pointer
XaVar unsafe.Pointer
XpVList *int32
XstartTime int64
XnOp int32
XrcApp int32
XnResColumn uint16
XerrorAction uint8
XminWriteFileFormat uint8
Xexpired int16
XbtreeMask uint32
XlockMask uint32
XaCounter [5]uint32
XzSql *int8
XpFree unsafe.Pointer
XpFrame unsafe.Pointer
XpDelFrame unsafe.Pointer
XnFrame int32
Xexpmask uint32
XpProgram unsafe.Pointer
XpAuxData unsafe.Pointer
} // t161 struct{db *struct{},pPrev *struct{},pNext *struct{},pParse *struct{},nVar int16,magic uint32,nMem int32,nCursor int32,cacheCtr uint32,pc int32,rc int32,nChange int32,iStatement int32,iCurrentTime int64,nFkConstraint int64,nStmtDefCons int64,nStmtDefImmCons int64,aOp *struct{},aMem *struct{},apArg **struct{},aColName *struct{},pResultSet *struct{},zErrMsg *int8,apCsr **struct{},aVar *struct{},pVList *int32,startTime int64,nOp int32,rcApp int32,nResColumn uint16,errorAction uint8,minWriteFileFormat uint8,expired int16,btreeMask uint32,lockMask uint32,aCounter [5]uint32,zSql *int8,pFree *struct{},pFrame *struct{},pDelFrame *struct{},nFrame int32,expmask uint32,pProgram *struct{},pAuxData *struct{}}
type TWalSegment ¶
type TcompareInfo ¶
type Tsqlite3AutoExtList ¶
type Tsqlite3PrngType ¶
type Tsqlite3StatType ¶
type Tsqlite3_index_orderby ¶
type TunixFileId ¶
type Tunix_syscall ¶
type TyColCache ¶
type XAggInfo ¶
type XAggInfo struct {
XdirectMode uint8
XuseSortingIdx uint8
XsortingIdx int32
XsortingIdxPTab int32
XnSortingColumn int32
XmnReg int32
XmxReg int32
XpGroupBy unsafe.Pointer
XaCol unsafe.Pointer
XnColumn int32
XnAccumulator int32
XaFunc unsafe.Pointer
XnFunc int32
} // t273 struct{directMode uint8,useSortingIdx uint8,sortingIdx int32,sortingIdxPTab int32,nSortingColumn int32,mnReg int32,mxReg int32,pGroupBy *struct{},aCol *struct{},nColumn int32,nAccumulator int32,aFunc *struct{},nFunc int32}
type XAuthContext ¶
type XAutoincInfo ¶
type XBtCursor ¶
type XBtCursor struct {
XpBtree unsafe.Pointer
XpBt unsafe.Pointer
XpNext unsafe.Pointer
XaOverflow *uint32
Xinfo XCellInfo
XnKey int64
XpKey unsafe.Pointer
XpgnoRoot uint32
XnOvflAlloc int32
XskipNext int32
XcurFlags uint8
XcurPagerFlags uint8
XeState uint8
Xhints uint8
XiPage int8
XcurIntKey uint8
Xix uint16
XaiIdx [19]uint16
XpKeyInfo unsafe.Pointer
XapPage [20]unsafe.Pointer
} // t227 struct{pBtree *struct{},pBt *struct{},pNext *struct{},aOverflow *uint32,info struct{nKey int64,pPayload *uint8,nPayload uint32,nLocal uint16,nSize uint16},nKey int64,pKey *struct{},pgnoRoot uint32,nOvflAlloc int32,skipNext int32,curFlags uint8,curPagerFlags uint8,eState uint8,hints uint8,iPage int8,curIntKey uint8,ix uint16,aiIdx [19]uint16,pKeyInfo *struct{},apPage [20]*struct{}}
type XBtShared ¶
type XBtShared struct {
} // t225 struct{pPager *struct{},db *struct{},pCursor *struct{},pPage1 *struct{},openFlags uint8,autoVacuum uint8,incrVacuum uint8,bDoTruncate uint8,inTransaction uint8,max1bytePayload uint8,btsFlags uint16,maxLocal uint16,minLocal uint16,maxLeaf uint16,minLeaf uint16,pageSize uint32,usableSize uint32,nTransaction int32,nPage uint32,pSchema *struct{},xFreeSchema *func(*struct{}),mutex *struct{},pHasContent *struct{},nRef int32,pNext *struct{},pLock *struct{},pWriter *struct{},pTmpSpace *uint8}
type XBtree ¶
type XBtree struct {
Xdb unsafe.Pointer
XpBt unsafe.Pointer
XinTrans uint8
Xsharable uint8
Xlocked uint8
XhasIncrblobCur uint8
XwantToLock int32
XnBackup int32
XiDataVersion uint32
XpNext unsafe.Pointer
XpPrev unsafe.Pointer
Xlock XBtLock
} // t154 struct{db *struct{},pBt *struct{},inTrans uint8,sharable uint8,locked uint8,hasIncrblobCur uint8,wantToLock int32,nBackup int32,iDataVersion uint32,pNext *struct{},pPrev *struct{},lock struct{pBtree *struct{},iTable uint32,eLock uint8,pNext *struct{}}}
type XBtreePayload ¶
type XCellArray ¶
type XCollSeq ¶
type XCollSeq struct {
XzName *int8
Xenc uint8
XpUser unsafe.Pointer
XxCmp func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, unsafe.Pointer) int32
XxDel func(*crt.TLS, unsafe.Pointer)
} // t242 struct{zName *int8,enc uint8,pUser *struct{},xCmp *func(*struct{},int32,*struct{},int32,*struct{})int32,xDel *func(*struct{})}
type XDateTime ¶
type XDateTime struct {
XiJD int64
XY int32
XM int32
XD int32
Xh int32
Xm int32
Xtz int32
Xs float64
XvalidJD int8
XrawS int8
XvalidYMD int8
XvalidHMS int8
XvalidTZ int8
XtzSet int8
XisError int8
} // t162 struct{iJD int64,Y int32,M int32,D int32,h int32,m int32,tz int32,s float64,validJD int8,rawS int8,validYMD int8,validHMS int8,validTZ int8,tzSet int8,isError int8}
type XDistinctCtx ¶
type XExpr ¶
type XExpr struct {
Xop uint8
Xaffinity int8
Xflags uint32
Xu t188
XpLeft unsafe.Pointer
XpRight unsafe.Pointer
Xx t189
XnHeight int32
XiTable int32
XiColumn int16
XiAgg int16
XiRightJoinTable int16
Xop2 uint8
XpAggInfo unsafe.Pointer
XpTab unsafe.Pointer
} // t190 struct{op uint8,affinity int8,flags uint32,u union{zToken *int8,iValue int32},pLeft *struct{},pRight *struct{},x union{pList *struct{},pSelect *struct{}},nHeight int32,iTable int32,iColumn int16,iAgg int16,iRightJoinTable int16,op2 uint8,pAggInfo *struct{},pTab *struct{}}
type XExprList ¶
type XExprList struct {
XnExpr int32
XnAlloc int32
Xa [1]TExprList_item
} // t186 struct{nExpr int32,nAlloc int32,a [1]struct{pExpr *struct{},zName *int8,zSpan *int8,sortOrder uint8,done int8,u union{x struct{iOrderByCol uint16,iAlias uint16},iConstExprReg int32}}}
type XFKey ¶
type XFKey struct {
XpFrom unsafe.Pointer
XpNextFrom unsafe.Pointer
XzTo *int8
XpNextTo unsafe.Pointer
XpPrevTo unsafe.Pointer
XnCol int32
XisDeferred uint8
XaAction [2]uint8
XapTrigger [2]unsafe.Pointer
XaCol [1]t118
} // t256 struct{pFrom *struct{},pNextFrom *struct{},zTo *int8,pNextTo *struct{},pPrevTo *struct{},nCol int32,isDeferred uint8,aAction [2]uint8,apTrigger [2]*struct{},aCol [1]struct{iFrom int32,zCol *int8}}
type XFileChunk ¶
type XFuncDef ¶
type XFuncDef struct {
XnArg int8
XfuncFlags uint16
XpUserData unsafe.Pointer
XpNext unsafe.Pointer
XxSFunc func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer)
XxFinalize func(*crt.TLS, unsafe.Pointer)
XzName *int8
Xu t166
} // t167 struct{nArg int8,funcFlags uint16,pUserData *struct{},pNext *struct{},xSFunc *func(*struct{},int32,**struct{}),xFinalize *func(*struct{}),zName *int8,u union{pHash *struct{},pDestructor *struct{}}}
type XFuncDefHash ¶
type XFuncDestructor ¶
type XIdxExprTrans ¶
type XIncrMerger ¶
type XIncrMerger struct {
XpTask unsafe.Pointer
XpMerger unsafe.Pointer
XiStartOff int64
XmxSz int32
XbEof int32
XbUseThread int32
XaFile [2]XSorterFile
} // t258 struct{pTask *struct{},pMerger *struct{},iStartOff int64,mxSz int32,bEof int32,bUseThread int32,aFile [2]struct{pFd *struct{},iEof int64}}
type XIndex ¶
type XIndex struct {
XzName *int8
XaiColumn *int16
XaiRowLogEst *int16
XpTable unsafe.Pointer
XzColAff *int8
XpNext unsafe.Pointer
XpSchema unsafe.Pointer
XaSortOrder *uint8
XazColl **int8
XpPartIdxWhere unsafe.Pointer
XaColExpr unsafe.Pointer
Xtnum int32
XszIdxRow int16
XnKeyCol uint16
XnColumn uint16
XonError uint8
XidxType int8
} // t228 struct{zName *int8,aiColumn *int16,aiRowLogEst *int16,pTable *struct{},zColAff *int8,pNext *struct{},pSchema *struct{},aSortOrder *uint8,azColl **int8,pPartIdxWhere *struct{},aColExpr *struct{},tnum int32,szIdxRow int16,nKeyCol uint16,nColumn uint16,onError uint8,idxType int8}
type XIntegrityCk ¶
type XIntegrityCk struct {
XpBt unsafe.Pointer
XpPager unsafe.Pointer
XaPgRef *uint8
XnPage uint32
XmxErr int32
XnErr int32
XmallocFailed int32
XzPfx *int8
Xv1 int32
Xv2 int32
XerrMsg XStrAccum
Xheap *uint32
} // t234 struct{pBt *struct{},pPager *struct{},aPgRef *uint8,nPage uint32,mxErr int32,nErr int32,mallocFailed int32,zPfx *int8,v1 int32,v2 int32,errMsg struct{db *struct{},zBase *int8,zText *int8,nChar uint32,nAlloc uint32,mxAlloc uint32,accError uint8,printfFlags uint8},heap *uint32}
type XMem ¶
type XMem struct {
Xu t164
Xflags uint16
Xenc uint8
XeSubtype uint8
Xn int32
Xz *int8
XzMalloc *int8
XszMalloc int32
XuTemp uint32
Xdb unsafe.Pointer
XxDel func(*crt.TLS, unsafe.Pointer)
XpScopyFrom unsafe.Pointer
XpFiller unsafe.Pointer
} // t165 struct{u union{r float64,i int64,nZero int32,pDef *struct{},pRowSet *struct{},pFrame *struct{}},flags uint16,enc uint8,eSubtype uint8,n int32,z *int8,zMalloc *int8,szMalloc int32,uTemp uint32,db *struct{},xDel *func(*struct{}),pScopyFrom *struct{},pFiller *struct{}}
func Xsqlite3_column_value ¶
type XMemJournal ¶
type XMemJournal struct {
XpMethod unsafe.Pointer
XnChunkSize int32
XnSpill int32
XnSize int32
XpFirst unsafe.Pointer
Xendpoint t263
Xreadpoint t263
Xflags int32
XpVfs unsafe.Pointer
XzJournal *int8
} // t264 struct{pMethod *struct{},nChunkSize int32,nSpill int32,nSize int32,pFirst *struct{},endpoint struct{iOffset int64,pChunk *struct{}},readpoint struct{iOffset int64,pChunk *struct{}},flags int32,pVfs *struct{},zJournal *int8}
type XMemPage ¶
type XMemPage struct {
XisInit uint8
XbBusy uint8
XintKey uint8
XintKeyLeaf uint8
Xpgno uint32
Xleaf uint8
XhdrOffset uint8
XchildPtrSize uint8
Xmax1bytePayload uint8
XnOverflow uint8
XmaxLocal uint16
XminLocal uint16
XcellOffset uint16
XnFree uint16
XnCell uint16
XmaskPage uint16
XaiOvfl [4]uint16
XapOvfl [4]*uint8
XpBt unsafe.Pointer
XaData *uint8
XaDataEnd *uint8
XaCellIdx *uint8
XaDataOfst *uint8
XpDbPage unsafe.Pointer
XxCellSize func(*crt.TLS, unsafe.Pointer, *uint8) uint16
XxParseCell func(*crt.TLS, unsafe.Pointer, *uint8, unsafe.Pointer)
} // t229 struct{isInit uint8,bBusy uint8,intKey uint8,intKeyLeaf uint8,pgno uint32,leaf uint8,hdrOffset uint8,childPtrSize uint8,max1bytePayload uint8,nOverflow uint8,maxLocal uint16,minLocal uint16,cellOffset uint16,nFree uint16,nCell uint16,maskPage uint16,aiOvfl [4]uint16,apOvfl [4]*uint8,pBt *struct{},aData *uint8,aDataEnd *uint8,aCellIdx *uint8,aDataOfst *uint8,pDbPage *struct{},xCellSize *func(*struct{},*uint8)uint16,xParseCell *func(*struct{},*uint8,*struct{})}
type XMergeEngine ¶
type XNameContext ¶
type XNameContext struct {
XpParse unsafe.Pointer
XpSrcList unsafe.Pointer
XpEList unsafe.Pointer
XpAggInfo unsafe.Pointer
XpNext unsafe.Pointer
XnRef int32
XnErr int32
XncFlags uint16
} // t270 struct{pParse *struct{},pSrcList *struct{},pEList *struct{},pAggInfo *struct{},pNext *struct{},nRef int32,nErr int32,ncFlags uint16}
type XPCache ¶
type XPCache struct {
XpDirty unsafe.Pointer
XpDirtyTail unsafe.Pointer
XpSynced unsafe.Pointer
XnRefSum int32
XszCache int32
XszSpill int32
XszPage int32
XszExtra int32
XbPurgeable uint8
XeCreate uint8
XxStress func(*crt.TLS, unsafe.Pointer, unsafe.Pointer) int32
XpStress unsafe.Pointer
XpCache unsafe.Pointer
} // t207 struct{pDirty *struct{},pDirtyTail *struct{},pSynced *struct{},nRefSum int32,szCache int32,szSpill int32,szPage int32,szExtra int32,bPurgeable uint8,eCreate uint8,xStress *func(*struct{},*struct{})int32,pStress *struct{},pCache *struct{}}
type XPCache1 ¶
type XPCache1 struct {
XpGroup unsafe.Pointer
XszPage int32
XszExtra int32
XszAlloc int32
XbPurgeable int32
XnMin uint32
XnMax uint32
Xn90pct uint32
XiMaxKey uint32
XnRecyclable uint32
XnPage uint32
XnHash uint32
XapHash *unsafe.Pointer
XpFree unsafe.Pointer
XpBulk unsafe.Pointer
} // t212 struct{pGroup *struct{},szPage int32,szExtra int32,szAlloc int32,bPurgeable int32,nMin uint32,nMax uint32,n90pct uint32,iMaxKey uint32,nRecyclable uint32,nPage uint32,nHash uint32,apHash **struct{},pFree *struct{},pBulk *struct{}}
type XPGroup ¶
type XPGroup struct {
Xmutex unsafe.Pointer
XnMaxPage uint32
XnMinPage uint32
XmxPinned uint32
XnCurrentPage uint32
Xlru XPgHdr1
} // t211 struct{mutex *struct{},nMaxPage uint32,nMinPage uint32,mxPinned uint32,nCurrentPage uint32,lru struct{page struct{pBuf *struct{},pExtra *struct{}},iKey uint32,isPinned uint8,isBulkLocal uint8,isAnchor uint8,pNext *struct{},pCache *struct{},pLruNext *struct{},pLruPrev *struct{}}}
type XPager ¶
type XPager struct {
XpVfs unsafe.Pointer
XexclusiveMode uint8
XjournalMode uint8
XuseJournal uint8
XnoSync uint8
XfullSync uint8
XextraSync uint8
XckptSyncFlags uint8
XwalSyncFlags uint8
XsyncFlags uint8
XtempFile uint8
XnoLock uint8
XreadOnly uint8
XmemDb uint8
XeState uint8
XeLock uint8
XchangeCountDone uint8
XsetMaster uint8
XdoNotSpill uint8
XsubjInMemory uint8
XbUseFetch uint8
XdbSize uint32
XdbOrigSize uint32
XdbFileSize uint32
XdbHintSize uint32
XerrCode int32
XnRec int32
XcksumInit uint32
XnSubRec uint32
XpInJournal unsafe.Pointer
Xfd unsafe.Pointer
Xjfd unsafe.Pointer
Xsjfd unsafe.Pointer
XjournalOff int64
XjournalHdr int64
XpBackup unsafe.Pointer
XaSavepoint unsafe.Pointer
XnSavepoint int32
XiDataVersion uint32
XdbFileVers [16]int8
XnMmapOut int32
XszMmap int64
XpMmapFreelist unsafe.Pointer
XnExtra uint16
XnReserve int16
XvfsFlags uint32
XsectorSize uint32
XpageSize int32
XmxPgno uint32
XjournalSizeLimit int64
XzFilename *int8
XzJournal *int8
XxBusyHandler func(*crt.TLS, unsafe.Pointer) int32
XpBusyHandlerArg unsafe.Pointer
XaStat [3]int32
XxReiniter func(*crt.TLS, unsafe.Pointer)
XxGet func(*crt.TLS, unsafe.Pointer, uint32, *unsafe.Pointer, int32) int32
XpTmpSpace *int8
XpPCache unsafe.Pointer
XpWal unsafe.Pointer
XzWal *int8
} // t155 struct{pVfs *struct{},exclusiveMode uint8,journalMode uint8,useJournal uint8,noSync uint8,fullSync uint8,extraSync uint8,ckptSyncFlags uint8,walSyncFlags uint8,syncFlags uint8,tempFile uint8,noLock uint8,readOnly uint8,memDb uint8,eState uint8,eLock uint8,changeCountDone uint8,setMaster uint8,doNotSpill uint8,subjInMemory uint8,bUseFetch uint8,hasHeldSharedLock uint8,dbSize uint32,dbOrigSize uint32,dbFileSize uint32,dbHintSize uint32,errCode int32,nRec int32,cksumInit uint32,nSubRec uint32,pInJournal *struct{},fd *struct{},jfd *struct{},sjfd *struct{},journalOff int64,journalHdr int64,pBackup *struct{},aSavepoint *struct{},nSavepoint int32,iDataVersion uint32,dbFileVers [16]int8,nMmapOut int32,szMmap int64,pMmapFreelist *struct{},nExtra uint16,nReserve int16,vfsFlags uint32,sectorSize uint32,pageSize int32,mxPgno uint32,journalSizeLimit int64,zFilename *int8,zJournal *int8,xBusyHandler *func(*struct{})int32,pBusyHandlerArg *struct{},aStat [3]int32,xReiniter *func(*struct{}),xGet *func(*struct{},uint32,**struct{},int32)int32,pTmpSpace *int8,pPCache *struct{},pWal *struct{},zWal *int8}
type XPagerSavepoint ¶
type XParse ¶
type XParse struct {
Xdb unsafe.Pointer
XzErrMsg *int8
XpVdbe unsafe.Pointer
Xrc int32
XcolNamesSet uint8
XcheckSchema uint8
Xnested uint8
XnTempReg uint8
XisMultiWrite uint8
XmayAbort uint8
XhasCompound uint8
XokConstFactor uint8
XdisableLookaside uint8
XnColCache uint8
XnRangeReg int32
XiRangeReg int32
XnErr int32
XnTab int32
XnMem int32
XnOpAlloc int32
XszOpAlloc int32
XckBase int32
XiSelfTab int32
XiCacheLevel int32
XiCacheCnt int32
XnLabel int32
XaLabel *int32
XpConstExpr unsafe.Pointer
XconstraintName XToken
XwriteMask uint32
XregRowid int32
XregRoot int32
XnMaxArg int32
XnSelect int32
XnSelectIndent int32
XnTableLock int32
XaTableLock unsafe.Pointer
XpAinc unsafe.Pointer
XpToplevel unsafe.Pointer
XpTriggerTab unsafe.Pointer
XaddrCrTab int32
XnQueryLoop uint32
Xoldmask uint32
Xnewmask uint32
XeTriggerOp uint8
XeOrconf uint8
XdisableTriggers uint8
XaColCache [10]TyColCache
XaTempReg [8]int32
XsNameToken XToken
XsLastToken XToken
XnVar int16
XiPkSortOrder uint8
Xexplain uint8
XdeclareVtab uint8
XnVtabLock int32
XnHeight int32
XiSelectId int32
XiNextSelectId int32
XpVList *int32
XpReprepare unsafe.Pointer
XzTail *int8
XpNewTable unsafe.Pointer
XpNewTrigger unsafe.Pointer
XzAuthContext *int8
XsArg XToken
XapVtabLock *unsafe.Pointer
XpZombieTab unsafe.Pointer
XpTriggerPrg unsafe.Pointer
XpWith unsafe.Pointer
XpWithToFree unsafe.Pointer
} // t195 struct{db *struct{},zErrMsg *int8,pVdbe *struct{},rc int32,colNamesSet uint8,checkSchema uint8,nested uint8,nTempReg uint8,isMultiWrite uint8,mayAbort uint8,hasCompound uint8,okConstFactor uint8,disableLookaside uint8,nColCache uint8,nRangeReg int32,iRangeReg int32,nErr int32,nTab int32,nMem int32,nOpAlloc int32,szOpAlloc int32,ckBase int32,iSelfTab int32,iCacheLevel int32,iCacheCnt int32,nLabel int32,aLabel *int32,pConstExpr *struct{},constraintName struct{z *int8,n uint32},writeMask uint32,cookieMask uint32,regRowid int32,regRoot int32,nMaxArg int32,nSelect int32,nSelectIndent int32,nTableLock int32,aTableLock *struct{},pAinc *struct{},pToplevel *struct{},pTriggerTab *struct{},addrCrTab int32,nQueryLoop uint32,oldmask uint32,newmask uint32,eTriggerOp uint8,eOrconf uint8,disableTriggers uint8,aColCache [10]struct{iTable int32,iColumn int16,tempReg uint8,iLevel int32,iReg int32,lru int32},aTempReg [8]int32,sNameToken struct{z *int8,n uint32},sLastToken struct{z *int8,n uint32},nVar int16,iPkSortOrder uint8,explain uint8,declareVtab uint8,nVtabLock int32,nHeight int32,iSelectId int32,iNextSelectId int32,pVList *int32,pReprepare *struct{},zTail *int8,pNewTable *struct{},pNewTrigger *struct{},zAuthContext *int8,sArg struct{z *int8,n uint32},apVtabLock **struct{},pZombieTab *struct{},pTriggerPrg *struct{},pWith *struct{},pWithToFree *struct{}}
type XPgHdr ¶
type XPgHdr struct {
XpPage unsafe.Pointer
XpData unsafe.Pointer
XpExtra unsafe.Pointer
XpDirty unsafe.Pointer
XpPager unsafe.Pointer
Xpgno uint32
Xflags uint16
XnRef int16
XpCache unsafe.Pointer
XpDirtyNext unsafe.Pointer
XpDirtyPrev unsafe.Pointer
} // t206 struct{pPage *struct{},pData *struct{},pExtra *struct{},pDirty *struct{},pPager *struct{},pgno uint32,flags uint16,nRef int16,pCache *struct{},pDirtyNext *struct{},pDirtyPrev *struct{}}
type XPgHdr1 ¶
type XPgHdr1 struct {
Xpage Xsqlite3_pcache_page
XiKey uint32
XisPinned uint8
XisBulkLocal uint8
XisAnchor uint8
XpNext unsafe.Pointer
XpCache unsafe.Pointer
XpLruNext unsafe.Pointer
XpLruPrev unsafe.Pointer
} // t210 struct{page struct{pBuf *struct{},pExtra *struct{}},iKey uint32,isPinned uint8,isBulkLocal uint8,isAnchor uint8,pNext *struct{},pCache *struct{},pLruNext *struct{},pLruPrev *struct{}}
type XPmaReader ¶
type XPmaReader struct {
XiReadOff int64
XiEof int64
XnAlloc int32
XnKey int32
XpFd unsafe.Pointer
XaAlloc *uint8
XaKey *uint8
XaBuffer *uint8
XnBuffer int32
XaMap *uint8
XpIncr unsafe.Pointer
} // t257 struct{iReadOff int64,iEof int64,nAlloc int32,nKey int32,pFd *struct{},aAlloc *uint8,aKey *uint8,aBuffer *uint8,nBuffer int32,aMap *uint8,pIncr *struct{}}
type XPmaWriter ¶
type XPragmaName ¶
type XPragmaVtab ¶
type XPragmaVtabCursor ¶
type XPragmaVtabCursor struct {
Xbase Xsqlite3_vtab_cursor
XpPragma unsafe.Pointer
XiRowid int64
XazArg [2]*int8
} // t307 struct{base struct{pVtab *struct{}},pPragma *struct{},iRowid int64,azArg [2]*int8}
type XPrintfArguments ¶
type XRowSet ¶
type XRowSet struct {
XpChunk unsafe.Pointer
Xdb unsafe.Pointer
XpEntry unsafe.Pointer
XpLast unsafe.Pointer
XpFresh unsafe.Pointer
XpForest unsafe.Pointer
XnFresh uint16
XrsFlags uint16
XiBatch int32
} // t213 struct{pChunk *struct{},db *struct{},pEntry *struct{},pLast *struct{},pFresh *struct{},pForest *struct{},nFresh uint16,rsFlags uint16,iBatch int32}
type XSQLiteThread ¶
type XSavepoint ¶
type XSchema ¶
type XSchema struct {
XiGeneration int32
XtblHash XHash
XidxHash XHash
XtrigHash XHash
XfkeyHash XHash
XpSeqTab unsafe.Pointer
Xfile_format uint8
Xenc uint8
XschemaFlags uint16
Xcache_size int32
} // t156 struct{schema_cookie int32,iGeneration int32,tblHash struct{htsize uint32,count uint32,first *struct{},ht *struct{}},idxHash struct{htsize uint32,count uint32,first *struct{},ht *struct{}},trigHash struct{htsize uint32,count uint32,first *struct{},ht *struct{}},fkeyHash struct{htsize uint32,count uint32,first *struct{},ht *struct{}},pSeqTab *struct{},file_format uint8,enc uint8,schemaFlags uint16,cache_size int32}
type XScratchFreeslot ¶
type XSelect ¶
type XSelect struct {
XpEList unsafe.Pointer
Xop uint8
XnSelectRow int16
XselFlags uint32
XiLimit int32
XiOffset int32
XzSelName [12]int8
XaddrOpenEphm [2]int32
XpSrc unsafe.Pointer
XpWhere unsafe.Pointer
XpGroupBy unsafe.Pointer
XpHaving unsafe.Pointer
XpOrderBy unsafe.Pointer
XpPrior unsafe.Pointer
XpNext unsafe.Pointer
XpLimit unsafe.Pointer
XpOffset unsafe.Pointer
XpWith unsafe.Pointer
} // t187 struct{pEList *struct{},op uint8,nSelectRow int16,selFlags uint32,iLimit int32,iOffset int32,zSelName [12]int8,addrOpenEphm [2]int32,pSrc *struct{},pWhere *struct{},pGroupBy *struct{},pHaving *struct{},pOrderBy *struct{},pPrior *struct{},pNext *struct{},pLimit *struct{},pOffset *struct{},pWith *struct{}}
type XSelectDest ¶
type XSortCtx ¶
type XSortCtx struct {
XpOrderBy unsafe.Pointer
XnOBSat int32
XiECursor int32
XregReturn int32
XlabelBkOut int32
XaddrSortIndex int32
XlabelDone int32
XsortFlags uint8
XbOrderedInnerLoop uint8
} // t308 struct{pOrderBy *struct{},nOBSat int32,iECursor int32,regReturn int32,labelBkOut int32,addrSortIndex int32,labelDone int32,sortFlags uint8,bOrderedInnerLoop uint8}
type XSortSubtask ¶
type XSortSubtask struct {
XpThread unsafe.Pointer
XbDone int32
XpSorter unsafe.Pointer
XpUnpacked unsafe.Pointer
Xlist t90
XnPMA int32
XxCompare func(*crt.TLS, unsafe.Pointer, *int32, unsafe.Pointer, int32, unsafe.Pointer, int32) int32
Xfile XSorterFile
Xfile2 XSorterFile
} // t252 struct{pThread *struct{},bDone int32,pSorter *struct{},pUnpacked *struct{},list struct{pList *struct{},aMemory *uint8,szPMA int32},nPMA int32,xCompare *func(*struct{},*int32,*struct{},int32,*struct{},int32)int32,file struct{pFd *struct{},iEof int64},file2 struct{pFd *struct{},iEof int64}}
type XSorterFile ¶
type XSorterRecord ¶
type XSorterRecord struct {
XnVal int32
Xu t259
} // t260 struct{nVal int32,u union{pNext *struct{},iNext int32}}
type XSrcList ¶
type XSrcList struct {
XnSrc int32
XnAlloc uint32
Xa [1]TSrcList_item
} // t181 struct{nSrc int32,nAlloc uint32,a [1]struct{pSchema *struct{},zDatabase *int8,zName *int8,zAlias *int8,pTab *struct{},pSelect *struct{},addrFillSub int32,regReturn int32,regResult int32,fg struct{jointype uint8,notIndexed int8},iSelectId uint8,iCursor int32,pOn *struct{},pUsing *struct{},colUsed uint64,u1 union{zIndexedBy *int8,pFuncArg *struct{}},pIBIndex *struct{}}}
type XStat4Accum ¶
type XStat4Accum struct {
XnRow uint32
XnPSample uint32
XnCol int32
XnKeyCol int32
XmxSample int32
Xcurrent t278
XiPrn uint32
XaBest unsafe.Pointer
XiMin int32
XnSample int32
XnMaxEqZero int32
XiGet int32
Xa unsafe.Pointer
Xdb unsafe.Pointer
} // t279 struct{nRow uint32,nPSample uint32,nCol int32,nKeyCol int32,mxSample int32,current struct{anEq *uint32,anDLt *uint32},iPrn uint32,aBest *struct{},iMin int32,nSample int32,nMaxEqZero int32,iGet int32,a *struct{},db *struct{}}
type XSubProgram ¶
type XSubstContext ¶
type XTabResult ¶
type XTable ¶
type XTable struct {
XzName *int8
XaCol unsafe.Pointer
XpIndex unsafe.Pointer
XpSelect unsafe.Pointer
XpFKey unsafe.Pointer
XzColAff *int8
XpCheck unsafe.Pointer
Xtnum int32
XnTabRef uint32
XtabFlags uint32
XiPKey int16
XnCol int16
XnRowLogEst int16
XszTabRow int16
XkeyConf uint8
XaddColOffset int32
XnModuleArg int32
XazModuleArg **int8
XpVTable unsafe.Pointer
XpTrigger unsafe.Pointer
XpSchema unsafe.Pointer
XpNextZombie unsafe.Pointer
} // t160 struct{zName *int8,aCol *struct{},pIndex *struct{},pSelect *struct{},pFKey *struct{},zColAff *int8,pCheck *struct{},tnum int32,nTabRef uint32,tabFlags uint32,iPKey int16,nCol int16,nRowLogEst int16,szTabRow int16,keyConf uint8,addColOffset int32,nModuleArg int32,azModuleArg **int8,pVTable *struct{},pTrigger *struct{},pSchema *struct{},pNextZombie *struct{}}
type XTableLock ¶
type XTrigger ¶
type XTrigger struct {
XzName *int8
Xtable *int8
Xop uint8
Xtr_tm uint8
XpWhen unsafe.Pointer
XpColumns unsafe.Pointer
XpSchema unsafe.Pointer
XpTabSchema unsafe.Pointer
Xstep_list unsafe.Pointer
XpNext unsafe.Pointer
} // t159 struct{zName *int8,table *int8,op uint8,tr_tm uint8,pWhen *struct{},pColumns *struct{},pSchema *struct{},pTabSchema *struct{},step_list *struct{},pNext *struct{}}
type XTriggerPrg ¶
type XTriggerStep ¶
type XTriggerStep struct {
Xop uint8
Xorconf uint8
XpTrig unsafe.Pointer
XpSelect unsafe.Pointer
XzTarget *int8
XpWhere unsafe.Pointer
XpExprList unsafe.Pointer
XpIdList unsafe.Pointer
XpNext unsafe.Pointer
XpLast unsafe.Pointer
} // t282 struct{op uint8,orconf uint8,pTrig *struct{},pSelect *struct{},zTarget *int8,pWhere *struct{},pExprList *struct{},pIdList *struct{},pNext *struct{},pLast *struct{}}
type XUnixUnusedFd ¶
type XUnpackedRecord ¶
type XVdbeCursor ¶
type XVdbeCursor struct {
XeCurType uint8
XiDb int8
XnullRow uint8
XdeferredMoveto uint8
XisTable uint8
XseekOp uint8
XwrFlag uint8
XisEphemeral int8
XpBtx unsafe.Pointer
XseqCount int64
XaAltMap *int32
XcacheStatus uint32
XseekResult int32
XpAltCursor unsafe.Pointer
Xuc t244
XpKeyInfo unsafe.Pointer
XiHdrOffset uint32
XpgnoRoot uint32
XnField int16
XnHdrParsed uint16
XmovetoTarget int64
XaOffset *uint32
XaRow *uint8
XpayloadSize uint32
XszRow uint32
XaType [1]uint32
} // t245 struct{eCurType uint8,iDb int8,nullRow uint8,deferredMoveto uint8,isTable uint8,seekOp uint8,wrFlag uint8,isEphemeral int8,pBtx *struct{},seqCount int64,aAltMap *int32,cacheStatus uint32,seekResult int32,pAltCursor *struct{},uc union{pCursor *struct{},pVCur *struct{},pseudoTableReg int32,pSorter *struct{}},pKeyInfo *struct{},iHdrOffset uint32,pgnoRoot uint32,nField int16,nHdrParsed uint16,movetoTarget int64,aOffset *uint32,aRow *uint8,payloadSize uint32,szRow uint32,aType [1]uint32}
type XVdbeFrame ¶
type XVdbeFrame struct {
Xv unsafe.Pointer
XpParent unsafe.Pointer
XaOp unsafe.Pointer
XanExec *int64
XaMem unsafe.Pointer
XapCsr *unsafe.Pointer
XaOnce *uint8
Xtoken unsafe.Pointer
XlastRowid int64
XpAuxData unsafe.Pointer
XnCursor int32
Xpc int32
XnOp int32
XnMem int32
XnChildMem int32
XnChildCsr int32
XnChange int32
XnDbChange int32
} // t235 struct{v *struct{},pParent *struct{},aOp *struct{},anExec *int64,aMem *struct{},apCsr **struct{},aOnce *uint8,token *struct{},lastRowid int64,pAuxData *struct{},nCursor int32,pc int32,nOp int32,nMem int32,nChildMem int32,nChildCsr int32,nChange int32,nDbChange int32}
type XVdbeOp ¶
type XVdbeOp struct {
Xopcode uint8
Xp4type int8
Xp5 uint16
Xp1 int32
Xp2 int32
Xp3 int32
Xp4 t236
XzComment *int8
} // t237 struct{opcode uint8,p4type int8,p5 uint16,p1 int32,p2 int32,p3 int32,p4 union{i int32,p *struct{},z *int8,pI64 *int64,pReal *float64,pFunc *struct{},pCtx *struct{},pColl *struct{},pMem *struct{},pVtab *struct{},pKeyInfo *struct{},ai *int32,pProgram *struct{},pTab *struct{},xAdvance *func(*struct{},*int32)int32},zComment *int8}
type XVdbeOpIter ¶
type XVdbeOpList ¶
type XVdbeSorter ¶
type XVdbeSorter struct {
XmnPmaSize int32
XmxPmaSize int32
XmxKeysize int32
Xpgsz int32
XpReader unsafe.Pointer
XpMerger unsafe.Pointer
Xdb unsafe.Pointer
XpKeyInfo unsafe.Pointer
XpUnpacked unsafe.Pointer
Xlist t90
XiMemory int32
XnMemory int32
XbUsePMA uint8
XbUseThreads uint8
XiPrev uint8
XnTask uint8
XtypeMask uint8
XaTask [1]XSortSubtask
} // t253 struct{mnPmaSize int32,mxPmaSize int32,mxKeysize int32,pgsz int32,pReader *struct{},pMerger *struct{},db *struct{},pKeyInfo *struct{},pUnpacked *struct{},list struct{pList *struct{},aMemory *uint8,szPMA int32},iMemory int32,nMemory int32,bUsePMA uint8,bUseThreads uint8,iPrev uint8,nTask uint8,typeMask uint8,aTask [1]struct{pThread *struct{},bDone int32,pSorter *struct{},pUnpacked *struct{},list struct{pList *struct{},aMemory *uint8,szPMA int32},nPMA int32,xCompare *func(*struct{},*int32,*struct{},int32,*struct{},int32)int32,file struct{pFd *struct{},iEof int64},file2 struct{pFd *struct{},iEof int64}}}
type XWal ¶
type XWal struct {
XpVfs unsafe.Pointer
XpDbFd unsafe.Pointer
XpWalFd unsafe.Pointer
XiCallback uint32
XmxWalSize int64
XnWiData int32
XszFirstBlock int32
XapWiData **uint32
XszPage uint32
XreadLock int16
XsyncFlags uint8
XexclusiveMode uint8
XwriteLock uint8
XckptLock uint8
XreadOnly uint8
XtruncateOnCommit uint8
XsyncHeader uint8
XpadToSectorBoundary uint8
Xhdr XWalIndexHdr
XminFrame uint32
XiReCksum uint32
XzWalName *int8
XnCkpt uint32
XlockError uint8
} // t217 struct{pVfs *struct{},pDbFd *struct{},pWalFd *struct{},iCallback uint32,mxWalSize int64,nWiData int32,szFirstBlock int32,apWiData **uint32,szPage uint32,readLock int16,syncFlags uint8,exclusiveMode uint8,writeLock uint8,ckptLock uint8,readOnly uint8,truncateOnCommit uint8,syncHeader uint8,padToSectorBoundary uint8,hdr struct{iVersion uint32,unused uint32,iChange uint32,isInit uint8,bigEndCksum uint8,szPage uint16,mxFrame uint32,nPage uint32,aFrameCksum [2]uint32,aSalt [2]uint32,aCksum [2]uint32},minFrame uint32,iReCksum uint32,zWalName *int8,nCkpt uint32,lockError uint8}
type XWalCkptInfo ¶
type XWalIndexHdr ¶
type XWalIndexHdr struct {
XiVersion uint32
Xunused uint32
XiChange uint32
XisInit uint8
XbigEndCksum uint8
XszPage uint16
XmxFrame uint32
XnPage uint32
XaFrameCksum [2]uint32
XaSalt [2]uint32
XaCksum [2]uint32
} // t216 struct{iVersion uint32,unused uint32,iChange uint32,isInit uint8,bigEndCksum uint8,szPage uint16,mxFrame uint32,nPage uint32,aFrameCksum [2]uint32,aSalt [2]uint32,aCksum [2]uint32}
type XWalIterator ¶
type XWalIterator struct {
XiPrior int32
XnSegment int32
XaSegment [1]TWalSegment
} // t222 struct{iPrior int32,nSegment int32,aSegment [1]struct{iNext int32,aIndex *uint16,aPgno *uint32,nEntry int32,iZero int32}}
type XWalWriter ¶
type XWalker ¶
type XWalker struct {
XpParse unsafe.Pointer
XxExprCallback func(*crt.TLS, unsafe.Pointer, unsafe.Pointer) int32
XxSelectCallback func(*crt.TLS, unsafe.Pointer, unsafe.Pointer) int32
XxSelectCallback2 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer)
XwalkerDepth int32
XeCode uint8
Xu t266
} // t267 struct{pParse *struct{},xExprCallback *func(*struct{},*struct{})int32,xSelectCallback *func(*struct{},*struct{})int32,xSelectCallback2 *func(*struct{},*struct{}),walkerDepth int32,eCode uint8,u union{pNC *struct{},n int32,iCur int32,pSrcList *struct{},pSrcCount *struct{},pCCurHint *struct{},aiCol *int32,pIdxCover *struct{},pIdxTrans *struct{},pGroupBy *struct{},pHavingCtx *struct{}}}
type XWhereAndInfo ¶
type XWhereAndInfo struct{ Xwc XWhereClause } // t319 struct{wc struct{pWInfo *struct{},pOuter *struct{},op uint8,nTerm int32,nSlot int32,a *struct{},aStatic [8]struct{pExpr *struct{},pWC *struct{},truthProb int16,wtFlags uint16,eOperator uint16,nChild uint8,eMatchOp uint8,iParent int32,leftCursor int32,iField int32,u union{leftColumn int32,pOrInfo *struct{},pAndInfo *struct{}},prereqRight uint64,prereqAll uint64}}}
type XWhereClause ¶
type XWhereClause struct {
XpWInfo unsafe.Pointer
XpOuter unsafe.Pointer
Xop uint8
XnTerm int32
XnSlot int32
Xa unsafe.Pointer
XaStatic [8]XWhereTerm
} // t289 struct{pWInfo *struct{},pOuter *struct{},op uint8,nTerm int32,nSlot int32,a *struct{},aStatic [8]struct{pExpr *struct{},pWC *struct{},truthProb int16,wtFlags uint16,eOperator uint16,nChild uint8,eMatchOp uint8,iParent int32,leftCursor int32,iField int32,u union{leftColumn int32,pOrInfo *struct{},pAndInfo *struct{}},prereqRight uint64,prereqAll uint64}}
type XWhereInfo ¶
type XWhereInfo struct {
XpParse unsafe.Pointer
XpTabList unsafe.Pointer
XpOrderBy unsafe.Pointer
XpResultSet unsafe.Pointer
XpWhere unsafe.Pointer
XiLimit int16
XaiCurOnePass [2]int32
XiContinue int32
XiBreak int32
XsavedNQueryLoop int32
XwctrlFlags uint16
XnLevel uint8
XnOBSat int8
Xsorted uint8
XeOnePass uint8
XuntestedTerms uint8
XeDistinct uint8
XbOrderedInnerLoop uint8
XiTop int32
XpLoops unsafe.Pointer
XrevMask uint64
XnRowOut int16
XsWC XWhereClause
XsMaskSet XWhereMaskSet
Xa [1]XWhereLevel
} // t293 struct{pParse *struct{},pTabList *struct{},pOrderBy *struct{},pResultSet *struct{},pWhere *struct{},iLimit int16,aiCurOnePass [2]int32,iContinue int32,iBreak int32,savedNQueryLoop int32,wctrlFlags uint16,nLevel uint8,nOBSat int8,sorted uint8,eOnePass uint8,untestedTerms uint8,eDistinct uint8,bOrderedInnerLoop uint8,iTop int32,pLoops *struct{},revMask uint64,nRowOut int16,sWC struct{pWInfo *struct{},pOuter *struct{},op uint8,nTerm int32,nSlot int32,a *struct{},aStatic [8]struct{pExpr *struct{},pWC *struct{},truthProb int16,wtFlags uint16,eOperator uint16,nChild uint8,eMatchOp uint8,iParent int32,leftCursor int32,iField int32,u union{leftColumn int32,pOrInfo *struct{},pAndInfo *struct{}},prereqRight uint64,prereqAll uint64}},sMaskSet struct{n int32,ix [64]int32},a [1]struct{iLeftJoin int32,iTabCur int32,iIdxCur int32,addrBrk int32,addrNxt int32,addrSkip int32,addrCont int32,addrFirst int32,addrBody int32,iLikeRepCntr uint32,addrLikeRep int32,iFrom uint8,op uint8,p3 uint8,p5 uint8,p1 int32,p2 int32,u union{in struct{nIn int32,aInLoop *struct{}},pCovidx *struct{}},pWLoop *struct{},notReady uint64}}
type XWhereLevel ¶
type XWhereLevel struct {
XiLeftJoin int32
XiTabCur int32
XiIdxCur int32
XaddrBrk int32
XaddrNxt int32
XaddrSkip int32
XaddrCont int32
XaddrFirst int32
XaddrBody int32
XiLikeRepCntr uint32
XaddrLikeRep int32
XiFrom uint8
Xop uint8
Xp3 uint8
Xp5 uint8
Xp1 int32
Xp2 int32
Xu t291
XpWLoop unsafe.Pointer
XnotReady uint64
} // t292 struct{iLeftJoin int32,iTabCur int32,iIdxCur int32,addrBrk int32,addrNxt int32,addrSkip int32,addrCont int32,addrFirst int32,addrBody int32,iLikeRepCntr uint32,addrLikeRep int32,iFrom uint8,op uint8,p3 uint8,p5 uint8,p1 int32,p2 int32,u union{in struct{nIn int32,aInLoop *struct{}},pCovidx *struct{}},pWLoop *struct{},notReady uint64}
type XWhereLoop ¶
type XWhereLoop struct {
Xprereq uint64
XmaskSelf uint64
XcId int8
XiTab uint8
XiSortIdx uint8
XrSetup int16
XrRun int16
XnOut int16
Xu t314
XwsFlags uint32
XnLTerm uint16
XnSkip uint16
XnLSlot uint16
XaLTerm *unsafe.Pointer
XpNextLoop unsafe.Pointer
XaLTermSpace [3]unsafe.Pointer
} // t315 struct{prereq uint64,maskSelf uint64,cId int8,iTab uint8,iSortIdx uint8,rSetup int16,rRun int16,nOut int16,u union{btree struct{nEq uint16,nBtm uint16,nTop uint16,nIdxCol uint16,pIndex *struct{}},vtab struct{idxNum int32,needFree uint8,isOrdered int8,omitMask uint16,idxStr *int8}},wsFlags uint32,nLTerm uint16,nSkip uint16,nLSlot uint16,aLTerm **struct{},pNextLoop *struct{},aLTermSpace [3]*struct{}}
type XWhereLoopBuilder ¶
type XWhereMaskSet ¶
type XWhereOrCost ¶
type XWhereOrInfo ¶
type XWhereOrInfo struct {
Xwc XWhereClause
Xindexable uint64
} // t318 struct{wc struct{pWInfo *struct{},pOuter *struct{},op uint8,nTerm int32,nSlot int32,a *struct{},aStatic [8]struct{pExpr *struct{},pWC *struct{},truthProb int16,wtFlags uint16,eOperator uint16,nChild uint8,eMatchOp uint8,iParent int32,leftCursor int32,iField int32,u union{leftColumn int32,pOrInfo *struct{},pAndInfo *struct{}},prereqRight uint64,prereqAll uint64}},indexable uint64}
type XWhereOrSet ¶
type XWhereOrSet struct {
Xn uint16
Xa [3]XWhereOrCost
} // t322 struct{n uint16,a [3]struct{prereq uint64,rRun int16,nOut int16}}
type XWherePath ¶
type XWhereScan ¶
type XWhereScan struct {
XpOrigWC unsafe.Pointer
XpWC unsafe.Pointer
XzCollName *int8
XpIdxExpr unsafe.Pointer
Xidxaff int8
XnEquiv uint8
XiEquiv uint8
XopMask uint32
Xk int32
XaiCur [11]int32
XaiColumn [11]int16
} // t323 struct{pOrigWC *struct{},pWC *struct{},zCollName *int8,pIdxExpr *struct{},idxaff int8,nEquiv uint8,iEquiv uint8,opMask uint32,k int32,aiCur [11]int32,aiColumn [11]int16}
type XWhereTerm ¶
type XWhereTerm struct {
XpExpr unsafe.Pointer
XpWC unsafe.Pointer
XtruthProb int16
XwtFlags uint16
XeOperator uint16
XnChild uint8
XeMatchOp uint8
XiParent int32
XleftCursor int32
XiField int32
Xu t287
XprereqRight uint64
XprereqAll uint64
} // t288 struct{pExpr *struct{},pWC *struct{},truthProb int16,wtFlags uint16,eOperator uint16,nChild uint8,eMatchOp uint8,iParent int32,leftCursor int32,iField int32,u union{leftColumn int32,pOrInfo *struct{},pAndInfo *struct{}},prereqRight uint64,prereqAll uint64}
type XYYMINORTYPE ¶
type XYYMINORTYPE struct {
X [0]struct {
Xyyinit int32
Xyy0 XToken
Xyy72 unsafe.Pointer
Xyy145 unsafe.Pointer
Xyy148 unsafe.Pointer
Xyy185 unsafe.Pointer
Xyy190 XExprSpan
Xyy194 int32
Xyy243 unsafe.Pointer
Xyy254 unsafe.Pointer
Xyy285 unsafe.Pointer
Xyy332 t53
Xyy354 t57
Xyy497 t56
}
U [24]byte
} // t327 union{yyinit int32,yy0 struct{z *int8,n uint32},yy72 *struct{},yy145 *struct{},yy148 *struct{},yy185 *struct{},yy190 struct{pExpr *struct{},zStart *int8,zEnd *int8},yy194 int32,yy243 *struct{},yy254 *struct{},yy285 *struct{},yy332 struct{a int32,b *struct{}},yy354 struct{pLimit *struct{},pOffset *struct{}},yy497 struct{value int32,mask int32}}
type XanalysisInfo ¶
type Xsqlite3 ¶
type Xsqlite3 struct {
XpVfs unsafe.Pointer
XpVdbe unsafe.Pointer
XpDfltColl unsafe.Pointer
Xmutex unsafe.Pointer
XaDb unsafe.Pointer
XnDb int32
Xflags int32
XlastRowid int64
XszMmap int64
XopenFlags uint32
XerrCode int32
XerrMask int32
XiSysErrno int32
XdbOptFlags uint16
Xenc uint8
XautoCommit uint8
Xtemp_store uint8
XmallocFailed uint8
XbBenignMalloc uint8
XdfltLockMode uint8
XnextAutovac int8
XsuppressErr uint8
XvtabOnConflict uint8
XisTransactionSavepoint uint8
XmTrace uint8
XskipBtreeMutex uint8
XnSqlExec uint8
XnextPagesize int32
Xmagic uint32
XnChange int32
XnTotalChange int32
XaLimit [12]int32
XnMaxSorterMmap int32
Xinit t149
XnVdbeActive int32
XnVdbeRead int32
XnVdbeWrite int32
XnVdbeExec int32
XnVDestroy int32
XnExtension int32
XaExtension *unsafe.Pointer
XxTrace func(*crt.TLS, uint32, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) int32
XpTraceArg unsafe.Pointer
XxProfile func(*crt.TLS, unsafe.Pointer, *int8, uint64)
XpProfileArg unsafe.Pointer
XpCommitArg unsafe.Pointer
XxCommitCallback func(*crt.TLS, unsafe.Pointer) int32
XpRollbackArg unsafe.Pointer
XxRollbackCallback func(*crt.TLS, unsafe.Pointer)
XpUpdateArg unsafe.Pointer
XxUpdateCallback func(*crt.TLS, unsafe.Pointer, int32, *int8, *int8, int64)
XxWalCallback func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, *int8, int32) int32
XpWalArg unsafe.Pointer
XxCollNeeded func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, *int8)
XxCollNeeded16 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, unsafe.Pointer)
XpCollNeededArg unsafe.Pointer
XpErr unsafe.Pointer
Xu1 t150
Xlookaside t151
XxAuth func(*crt.TLS, unsafe.Pointer, int32, *int8, *int8, *int8, *int8) int32
XpAuthArg unsafe.Pointer
XxProgress func(*crt.TLS, unsafe.Pointer) int32
XpProgressArg unsafe.Pointer
XnProgressOps uint32
XnVTrans int32
XaModule XHash
XpVtabCtx unsafe.Pointer
XaVTrans *unsafe.Pointer
XpDisconnect unsafe.Pointer
XaFunc XHash
XaCollSeq XHash
XbusyHandler t77
XaDbStatic [2]XDb
XpSavepoint unsafe.Pointer
XbusyTimeout int32
XnSavepoint int32
XnStatement int32
XnDeferredCons int64
XnDeferredImmCons int64
XpnBytesFreed *int32
} // t152 struct{pVfs *struct{},pVdbe *struct{},pDfltColl *struct{},mutex *struct{},aDb *struct{},nDb int32,flags int32,lastRowid int64,szMmap int64,openFlags uint32,errCode int32,errMask int32,iSysErrno int32,dbOptFlags uint16,enc uint8,autoCommit uint8,temp_store uint8,mallocFailed uint8,bBenignMalloc uint8,dfltLockMode uint8,nextAutovac int8,suppressErr uint8,vtabOnConflict uint8,isTransactionSavepoint uint8,mTrace uint8,skipBtreeMutex uint8,nSqlExec uint8,nextPagesize int32,magic uint32,nChange int32,nTotalChange int32,aLimit [12]int32,nMaxSorterMmap int32,init struct{newTnum int32,iDb uint8,busy uint8,orphanTrigger uint8,imposterTable uint8},nVdbeActive int32,nVdbeRead int32,nVdbeWrite int32,nVdbeExec int32,nVDestroy int32,nExtension int32,aExtension **struct{},xTrace *func(uint32,*struct{},*struct{},*struct{})int32,pTraceArg *struct{},xProfile *func(*struct{},*int8,uint64),pProfileArg *struct{},pCommitArg *struct{},xCommitCallback *func(*struct{})int32,pRollbackArg *struct{},xRollbackCallback *func(*struct{}),pUpdateArg *struct{},xUpdateCallback *func(*struct{},int32,*int8,*int8,int64),xWalCallback *func(*struct{},*struct{},*int8,int32)int32,pWalArg *struct{},xCollNeeded *func(*struct{},*struct{},int32,*int8),xCollNeeded16 *func(*struct{},*struct{},int32,*struct{}),pCollNeededArg *struct{},pErr *struct{},u1 union{isInterrupted int32,notUsed1 float64},lookaside struct{bDisable uint32,sz uint16,bMalloced uint8,nOut int32,mxOut int32,anStat [3]int32,pFree *struct{},pStart *struct{},pEnd *struct{}},xAuth *func(*struct{},int32,*int8,*int8,*int8,*int8)int32,pAuthArg *struct{},xProgress *func(*struct{})int32,pProgressArg *struct{},nProgressOps uint32,nVTrans int32,aModule struct{htsize uint32,count uint32,first *struct{},ht *struct{}},pVtabCtx *struct{},aVTrans **struct{},pDisconnect *struct{},aFunc struct{htsize uint32,count uint32,first *struct{},ht *struct{}},aCollSeq struct{htsize uint32,count uint32,first *struct{},ht *struct{}},busyHandler struct{xFunc *func(*struct{},int32)int32,pArg *struct{},nBusy int32},aDbStatic [2]struct{zDbSName *int8,pBt *struct{},safety_level uint8,bSyncSet uint8,pSchema *struct{}},pSavepoint *struct{},busyTimeout int32,nSavepoint int32,nStatement int32,nDeferredCons int64,nDeferredImmCons int64,pnBytesFreed *int32}
func Xsqlite3_context_db_handle ¶
func Xsqlite3_context_db_handle(tls *crt.TLS, _p *Xsqlite3_context) (r0 *Xsqlite3)
C comment
/* ** Extract the user data from a sqlite3_context structure and return a ** pointer to it. ** ** IMPLEMENTATION-OF: R-46798-50301 The sqlite3_context_db_handle() interface ** returns a copy of the pointer to the database connection (the 1st ** parameter) of the sqlite3_create_function() and ** sqlite3_create_function16() routines that originally registered the ** application defined function. */
func Xsqlite3_db_handle ¶
C comment
/* ** Return the sqlite3* database handle to which the prepared statement given ** in the argument belongs. This is the same database handle that was ** the first argument to the sqlite3_prepare() that was used to create ** the statement in the first place. */
type Xsqlite3_api_routines ¶
type Xsqlite3_api_routines struct {
Xaggregate_context func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xaggregate_count func(*crt.TLS, unsafe.Pointer) int32
Xbind_blob func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, func(*crt.TLS, unsafe.Pointer)) int32
Xbind_double func(*crt.TLS, unsafe.Pointer, int32, float64) int32
Xbind_int func(*crt.TLS, unsafe.Pointer, int32, int32) int32
Xbind_int64 func(*crt.TLS, unsafe.Pointer, int32, int64) int32
Xbind_null func(*crt.TLS, unsafe.Pointer, int32) int32
Xbind_parameter_count func(*crt.TLS, unsafe.Pointer) int32
Xbind_parameter_index func(*crt.TLS, unsafe.Pointer, *int8) int32
Xbind_parameter_name func(*crt.TLS, unsafe.Pointer, int32) *int8
Xbind_text func(*crt.TLS, unsafe.Pointer, int32, *int8, int32, func(*crt.TLS, unsafe.Pointer)) int32
Xbind_text16 func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, func(*crt.TLS, unsafe.Pointer)) int32
Xbind_value func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer) int32
Xbusy_handler func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32) int32, unsafe.Pointer) int32
Xbusy_timeout func(*crt.TLS, unsafe.Pointer, int32) int32
Xchanges func(*crt.TLS, unsafe.Pointer) int32
Xclose func(*crt.TLS, unsafe.Pointer) int32
Xcollation_needed func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, *int8)) int32
Xcollation_needed16 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, unsafe.Pointer)) int32
Xcolumn_blob func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcolumn_bytes func(*crt.TLS, unsafe.Pointer, int32) int32
Xcolumn_bytes16 func(*crt.TLS, unsafe.Pointer, int32) int32
Xcolumn_count func(*crt.TLS, unsafe.Pointer) int32
Xcolumn_database_name func(*crt.TLS, unsafe.Pointer, int32) *int8
Xcolumn_database_name16 func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcolumn_decltype func(*crt.TLS, unsafe.Pointer, int32) *int8
Xcolumn_decltype16 func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcolumn_double func(*crt.TLS, unsafe.Pointer, int32) float64
Xcolumn_int func(*crt.TLS, unsafe.Pointer, int32) int32
Xcolumn_int64 func(*crt.TLS, unsafe.Pointer, int32) int64
Xcolumn_name func(*crt.TLS, unsafe.Pointer, int32) *int8
Xcolumn_name16 func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcolumn_origin_name func(*crt.TLS, unsafe.Pointer, int32) *int8
Xcolumn_origin_name16 func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcolumn_table_name func(*crt.TLS, unsafe.Pointer, int32) *int8
Xcolumn_table_name16 func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcolumn_text func(*crt.TLS, unsafe.Pointer, int32) *uint8
Xcolumn_text16 func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcolumn_type func(*crt.TLS, unsafe.Pointer, int32) int32
Xcolumn_value func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xcommit_hook func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer) int32, unsafe.Pointer) unsafe.Pointer
Xcomplete func(*crt.TLS, *int8) int32
Xcomplete16 func(*crt.TLS, unsafe.Pointer) int32
Xcreate_collation func(*crt.TLS, unsafe.Pointer, *int8, int32, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, unsafe.Pointer) int32) int32
Xcreate_collation16 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, unsafe.Pointer) int32) int32
Xcreate_function func(*crt.TLS, unsafe.Pointer, *int8, int32, int32, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer), func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer), func(*crt.TLS, unsafe.Pointer)) int32
Xcreate_function16 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, int32, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer), func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer), func(*crt.TLS, unsafe.Pointer)) int32
Xcreate_module func(*crt.TLS, unsafe.Pointer, *int8, unsafe.Pointer, unsafe.Pointer) int32
Xdata_count func(*crt.TLS, unsafe.Pointer) int32
Xdb_handle func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xdeclare_vtab func(*crt.TLS, unsafe.Pointer, *int8) int32
Xerrcode func(*crt.TLS, unsafe.Pointer) int32
Xerrmsg func(*crt.TLS, unsafe.Pointer) *int8
Xerrmsg16 func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xexec func(*crt.TLS, unsafe.Pointer, *int8, func(*crt.TLS, unsafe.Pointer, int32, **int8, **int8) int32, unsafe.Pointer, **int8) int32
Xexpired func(*crt.TLS, unsafe.Pointer) int32
Xfinalize func(*crt.TLS, unsafe.Pointer) int32
Xfree func(*crt.TLS, unsafe.Pointer)
Xfree_table func(*crt.TLS, **int8)
Xget_autocommit func(*crt.TLS, unsafe.Pointer) int32
Xget_auxdata func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xget_table func(*crt.TLS, unsafe.Pointer, *int8, ***int8, *int32, *int32, **int8) int32
Xglobal_recover func(*crt.TLS) int32
Xinterruptx func(*crt.TLS, unsafe.Pointer)
Xlast_insert_rowid func(*crt.TLS, unsafe.Pointer) int64
Xlibversion func(*crt.TLS) *int8
Xlibversion_number func(*crt.TLS) int32
Xmalloc func(*crt.TLS, int32) unsafe.Pointer
Xmprintf func(*crt.TLS, *int8, ...interface{}) *int8
Xopen64 func(*crt.TLS, *int8, *unsafe.Pointer) int32
Xopen16 func(*crt.TLS, unsafe.Pointer, *unsafe.Pointer) int32
Xprepare func(*crt.TLS, unsafe.Pointer, *int8, int32, *unsafe.Pointer, **int8) int32
Xprepare16 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, *unsafe.Pointer, *unsafe.Pointer) int32
Xprofile func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, *int8, uint64), unsafe.Pointer) unsafe.Pointer
Xprogress_handler func(*crt.TLS, unsafe.Pointer, int32, func(*crt.TLS, unsafe.Pointer) int32, unsafe.Pointer)
Xrealloc func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
Xreset func(*crt.TLS, unsafe.Pointer) int32
Xresult_blob func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, func(*crt.TLS, unsafe.Pointer))
Xresult_double func(*crt.TLS, unsafe.Pointer, float64)
Xresult_error func(*crt.TLS, unsafe.Pointer, *int8, int32)
Xresult_error16 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32)
Xresult_int func(*crt.TLS, unsafe.Pointer, int32)
Xresult_int64 func(*crt.TLS, unsafe.Pointer, int64)
Xresult_null func(*crt.TLS, unsafe.Pointer)
Xresult_text func(*crt.TLS, unsafe.Pointer, *int8, int32, func(*crt.TLS, unsafe.Pointer))
Xresult_text16 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, func(*crt.TLS, unsafe.Pointer))
Xresult_text16be func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, func(*crt.TLS, unsafe.Pointer))
Xresult_text16le func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, func(*crt.TLS, unsafe.Pointer))
Xresult_value func(*crt.TLS, unsafe.Pointer, unsafe.Pointer)
Xrollback_hook func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer), unsafe.Pointer) unsafe.Pointer
Xset_auxdata func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer))
Xsnprintf func(*crt.TLS, int32, *int8, *int8, ...interface{}) *int8
Xstep func(*crt.TLS, unsafe.Pointer) int32
Xtable_column_metadata func(*crt.TLS, unsafe.Pointer, *int8, *int8, *int8, **int8, **int8, *int32, *int32, *int32) int32
Xthread_cleanup func(*crt.TLS)
Xtotal_changes func(*crt.TLS, unsafe.Pointer) int32
Xtrace func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, *int8), unsafe.Pointer) unsafe.Pointer
Xtransfer_bindings func(*crt.TLS, unsafe.Pointer, unsafe.Pointer) int32
Xupdate_hook func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32, *int8, *int8, int64), unsafe.Pointer) unsafe.Pointer
Xuser_data func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xvalue_blob func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xvalue_bytes func(*crt.TLS, unsafe.Pointer) int32
Xvalue_bytes16 func(*crt.TLS, unsafe.Pointer) int32
Xvalue_double func(*crt.TLS, unsafe.Pointer) float64
Xvalue_int func(*crt.TLS, unsafe.Pointer) int32
Xvalue_int64 func(*crt.TLS, unsafe.Pointer) int64
Xvalue_numeric_type func(*crt.TLS, unsafe.Pointer) int32
Xvalue_text func(*crt.TLS, unsafe.Pointer) *uint8
Xvalue_text16 func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xvalue_text16be func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xvalue_text16le func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xvalue_type func(*crt.TLS, unsafe.Pointer) int32
Xvmprintf func(*crt.TLS, *int8, unsafe.Pointer) *int8
Xoverload_function func(*crt.TLS, unsafe.Pointer, *int8, int32) int32
Xprepare_v2 func(*crt.TLS, unsafe.Pointer, *int8, int32, *unsafe.Pointer, **int8) int32
Xprepare16_v2 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, *unsafe.Pointer, *unsafe.Pointer) int32
Xclear_bindings func(*crt.TLS, unsafe.Pointer) int32
Xcreate_module_v2 func(*crt.TLS, unsafe.Pointer, *int8, unsafe.Pointer, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer)) int32
Xbind_zeroblob func(*crt.TLS, unsafe.Pointer, int32, int32) int32
Xblob_bytes func(*crt.TLS, unsafe.Pointer) int32
Xblob_close func(*crt.TLS, unsafe.Pointer) int32
Xblob_open func(*crt.TLS, unsafe.Pointer, *int8, *int8, *int8, int64, int32, *unsafe.Pointer) int32
Xblob_read func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, int32) int32
Xblob_write func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, int32) int32
Xcreate_collation_v2 func(*crt.TLS, unsafe.Pointer, *int8, int32, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, int32, unsafe.Pointer) int32, func(*crt.TLS, unsafe.Pointer)) int32
Xfile_control func(*crt.TLS, unsafe.Pointer, *int8, int32, unsafe.Pointer) int32
Xmemory_highwater func(*crt.TLS, int32) int64
Xmemory_used func(*crt.TLS) int64
Xmutex_alloc func(*crt.TLS, int32) unsafe.Pointer
Xmutex_enter func(*crt.TLS, unsafe.Pointer)
Xmutex_free func(*crt.TLS, unsafe.Pointer)
Xmutex_leave func(*crt.TLS, unsafe.Pointer)
Xmutex_try func(*crt.TLS, unsafe.Pointer) int32
Xopen_v2 func(*crt.TLS, *int8, *unsafe.Pointer, int32, *int8) int32
Xrelease_memory func(*crt.TLS, int32) int32
Xresult_error_nomem func(*crt.TLS, unsafe.Pointer)
Xresult_error_toobig func(*crt.TLS, unsafe.Pointer)
Xsleep func(*crt.TLS, int32) int32
Xsoft_heap_limit func(*crt.TLS, int32)
Xvfs_find func(*crt.TLS, *int8) unsafe.Pointer
Xvfs_register func(*crt.TLS, unsafe.Pointer, int32) int32
Xvfs_unregister func(*crt.TLS, unsafe.Pointer) int32
Xxthreadsafe func(*crt.TLS) int32
Xresult_zeroblob func(*crt.TLS, unsafe.Pointer, int32)
Xresult_error_code func(*crt.TLS, unsafe.Pointer, int32)
Xtest_control func(*crt.TLS, int32, ...interface{}) int32
Xrandomness func(*crt.TLS, int32, unsafe.Pointer)
Xcontext_db_handle func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xextended_result_codes func(*crt.TLS, unsafe.Pointer, int32) int32
Xlimit func(*crt.TLS, unsafe.Pointer, int32, int32) int32
Xnext_stmt func(*crt.TLS, unsafe.Pointer, unsafe.Pointer) unsafe.Pointer
Xsql func(*crt.TLS, unsafe.Pointer) *int8
Xstatus func(*crt.TLS, int32, *int32, *int32, int32) int32
Xbackup_finish func(*crt.TLS, unsafe.Pointer) int32
Xbackup_init func(*crt.TLS, unsafe.Pointer, *int8, unsafe.Pointer, *int8) unsafe.Pointer
Xbackup_pagecount func(*crt.TLS, unsafe.Pointer) int32
Xbackup_remaining func(*crt.TLS, unsafe.Pointer) int32
Xbackup_step func(*crt.TLS, unsafe.Pointer, int32) int32
Xcompileoption_get func(*crt.TLS, int32) *int8
Xcompileoption_used func(*crt.TLS, *int8) int32
Xcreate_function_v2 func(*crt.TLS, unsafe.Pointer, *int8, int32, int32, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer), func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer), func(*crt.TLS, unsafe.Pointer), func(*crt.TLS, unsafe.Pointer)) int32
Xdb_config func(*crt.TLS, unsafe.Pointer, int32, ...interface{}) int32
Xdb_mutex func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xdb_status func(*crt.TLS, unsafe.Pointer, int32, *int32, *int32, int32) int32
Xextended_errcode func(*crt.TLS, unsafe.Pointer) int32
Xlog func(*crt.TLS, int32, *int8, ...interface{})
Xsoft_heap_limit64 func(*crt.TLS, int64) int64
Xsourceid func(*crt.TLS) *int8
Xstmt_status func(*crt.TLS, unsafe.Pointer, int32, int32) int32
Xstrnicmp func(*crt.TLS, *int8, *int8, int32) int32
Xunlock_notify func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, *unsafe.Pointer, int32), unsafe.Pointer) int32
Xwal_autocheckpoint func(*crt.TLS, unsafe.Pointer, int32) int32
Xwal_checkpoint func(*crt.TLS, unsafe.Pointer, *int8) int32
Xwal_hook func(*crt.TLS, unsafe.Pointer, func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, *int8, int32) int32, unsafe.Pointer) unsafe.Pointer
Xblob_reopen func(*crt.TLS, unsafe.Pointer, int64) int32
Xvtab_config func(*crt.TLS, unsafe.Pointer, int32, ...interface{}) int32
Xvtab_on_conflict func(*crt.TLS, unsafe.Pointer) int32
Xclose_v2 func(*crt.TLS, unsafe.Pointer) int32
Xdb_filename func(*crt.TLS, unsafe.Pointer, *int8) *int8
Xdb_readonly func(*crt.TLS, unsafe.Pointer, *int8) int32
Xdb_release_memory func(*crt.TLS, unsafe.Pointer) int32
Xerrstr func(*crt.TLS, int32) *int8
Xstmt_busy func(*crt.TLS, unsafe.Pointer) int32
Xstmt_readonly func(*crt.TLS, unsafe.Pointer) int32
Xstricmp func(*crt.TLS, *int8, *int8) int32
Xuri_boolean func(*crt.TLS, *int8, *int8, int32) int32
Xuri_int64 func(*crt.TLS, *int8, *int8, int64) int64
Xuri_parameter func(*crt.TLS, *int8, *int8) *int8
Xvsnprintf func(*crt.TLS, int32, *int8, *int8, unsafe.Pointer) *int8
Xwal_checkpoint_v2 func(*crt.TLS, unsafe.Pointer, *int8, int32, *int32, *int32) int32
Xauto_extension func(*crt.TLS, func(*crt.TLS)) int32
Xbind_blob64 func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer, uint64, func(*crt.TLS, unsafe.Pointer)) int32
Xbind_text64 func(*crt.TLS, unsafe.Pointer, int32, *int8, uint64, func(*crt.TLS, unsafe.Pointer), uint8) int32
Xcancel_auto_extension func(*crt.TLS, func(*crt.TLS)) int32
Xload_extension func(*crt.TLS, unsafe.Pointer, *int8, *int8, **int8) int32
Xmalloc64 func(*crt.TLS, uint64) unsafe.Pointer
Xmsize func(*crt.TLS, unsafe.Pointer) uint64
Xrealloc64 func(*crt.TLS, unsafe.Pointer, uint64) unsafe.Pointer
Xreset_auto_extension func(*crt.TLS)
Xresult_blob64 func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, uint64, func(*crt.TLS, unsafe.Pointer))
Xresult_text64 func(*crt.TLS, unsafe.Pointer, *int8, uint64, func(*crt.TLS, unsafe.Pointer), uint8)
Xstrglob func(*crt.TLS, *int8, *int8) int32
Xvalue_dup func(*crt.TLS, unsafe.Pointer) unsafe.Pointer
Xvalue_free func(*crt.TLS, unsafe.Pointer)
Xresult_zeroblob64 func(*crt.TLS, unsafe.Pointer, uint64) int32
Xbind_zeroblob64 func(*crt.TLS, unsafe.Pointer, int32, uint64) int32
Xvalue_subtype func(*crt.TLS, unsafe.Pointer) uint32
Xresult_subtype func(*crt.TLS, unsafe.Pointer, uint32)
Xstatus64 func(*crt.TLS, int32, *int64, *int64, int32) int32
Xstrlike func(*crt.TLS, *int8, *int8, uint32) int32
Xdb_cacheflush func(*crt.TLS, unsafe.Pointer) int32
Xsystem_errno func(*crt.TLS, unsafe.Pointer) int32
Xtrace_v2 func(*crt.TLS, unsafe.Pointer, uint32, func(*crt.TLS, uint32, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) int32, unsafe.Pointer) int32
Xexpanded_sql func(*crt.TLS, unsafe.Pointer) *int8
Xset_last_insert_rowid func(*crt.TLS, unsafe.Pointer, int64)
} // t299 struct{aggregate_context *func(*struct{},int32)*struct{},aggregate_count *func(*struct{})int32,bind_blob *func(*struct{},int32,*struct{},int32,*func(*struct{}))int32,bind_double *func(*struct{},int32,float64)int32,bind_int *func(*struct{},int32,int32)int32,bind_int64 *func(*struct{},int32,int64)int32,bind_null *func(*struct{},int32)int32,bind_parameter_count *func(*struct{})int32,bind_parameter_index *func(*struct{},*int8)int32,bind_parameter_name *func(*struct{},int32)*int8,bind_text *func(*struct{},int32,*int8,int32,*func(*struct{}))int32,bind_text16 *func(*struct{},int32,*struct{},int32,*func(*struct{}))int32,bind_value *func(*struct{},int32,*struct{})int32,busy_handler *func(*struct{},*func(*struct{},int32)int32,*struct{})int32,busy_timeout *func(*struct{},int32)int32,changes *func(*struct{})int32,close *func(*struct{})int32,collation_needed *func(*struct{},*struct{},*func(*struct{},*struct{},int32,*int8))int32,collation_needed16 *func(*struct{},*struct{},*func(*struct{},*struct{},int32,*struct{}))int32,column_blob *func(*struct{},int32)*struct{},column_bytes *func(*struct{},int32)int32,column_bytes16 *func(*struct{},int32)int32,column_count *func(*struct{})int32,column_database_name *func(*struct{},int32)*int8,column_database_name16 *func(*struct{},int32)*struct{},column_decltype *func(*struct{},int32)*int8,column_decltype16 *func(*struct{},int32)*struct{},column_double *func(*struct{},int32)float64,column_int *func(*struct{},int32)int32,column_int64 *func(*struct{},int32)int64,column_name *func(*struct{},int32)*int8,column_name16 *func(*struct{},int32)*struct{},column_origin_name *func(*struct{},int32)*int8,column_origin_name16 *func(*struct{},int32)*struct{},column_table_name *func(*struct{},int32)*int8,column_table_name16 *func(*struct{},int32)*struct{},column_text *func(*struct{},int32)*uint8,column_text16 *func(*struct{},int32)*struct{},column_type *func(*struct{},int32)int32,column_value *func(*struct{},int32)*struct{},commit_hook *func(*struct{},*func(*struct{})int32,*struct{})*struct{},complete *func(*int8)int32,complete16 *func(*struct{})int32,create_collation *func(*struct{},*int8,int32,*struct{},*func(*struct{},int32,*struct{},int32,*struct{})int32)int32,create_collation16 *func(*struct{},*struct{},int32,*struct{},*func(*struct{},int32,*struct{},int32,*struct{})int32)int32,create_function *func(*struct{},*int8,int32,int32,*struct{},*func(*struct{},int32,**struct{}),*func(*struct{},int32,**struct{}),*func(*struct{}))int32,create_function16 *func(*struct{},*struct{},int32,int32,*struct{},*func(*struct{},int32,**struct{}),*func(*struct{},int32,**struct{}),*func(*struct{}))int32,create_module *func(*struct{},*int8,*struct{},*struct{})int32,data_count *func(*struct{})int32,db_handle *func(*struct{})*struct{},declare_vtab *func(*struct{},*int8)int32,enable_shared_cache *func(int32)int32,errcode *func(*struct{})int32,errmsg *func(*struct{})*int8,errmsg16 *func(*struct{})*struct{},exec *func(*struct{},*int8,*func(*struct{},int32,**int8,**int8)int32,*struct{},**int8)int32,expired *func(*struct{})int32,finalize *func(*struct{})int32,free *func(*struct{}),free_table *func(**int8),get_autocommit *func(*struct{})int32,get_auxdata *func(*struct{},int32)*struct{},get_table *func(*struct{},*int8,***int8,*int32,*int32,**int8)int32,global_recover *func()int32,interruptx *func(*struct{}),last_insert_rowid *func(*struct{})int64,libversion *func()*int8,libversion_number *func()int32,malloc *func(int32)*struct{},mprintf *func(*int8...)*int8,open64 *func(*int8,**struct{})int32,open16 *func(*struct{},**struct{})int32,prepare *func(*struct{},*int8,int32,**struct{},**int8)int32,prepare16 *func(*struct{},*struct{},int32,**struct{},**struct{})int32,profile *func(*struct{},*func(*struct{},*int8,uint64),*struct{})*struct{},progress_handler *func(*struct{},int32,*func(*struct{})int32,*struct{}),realloc *func(*struct{},int32)*struct{},reset *func(*struct{})int32,result_blob *func(*struct{},*struct{},int32,*func(*struct{})),result_double *func(*struct{},float64),result_error *func(*struct{},*int8,int32),result_error16 *func(*struct{},*struct{},int32),result_int *func(*struct{},int32),result_int64 *func(*struct{},int64),result_null *func(*struct{}),result_text *func(*struct{},*int8,int32,*func(*struct{})),result_text16 *func(*struct{},*struct{},int32,*func(*struct{})),result_text16be *func(*struct{},*struct{},int32,*func(*struct{})),result_text16le *func(*struct{},*struct{},int32,*func(*struct{})),result_value *func(*struct{},*struct{}),rollback_hook *func(*struct{},*func(*struct{}),*struct{})*struct{},set_authorizer *func(*struct{},*func(*struct{},int32,*int8,*int8,*int8,*int8)int32,*struct{})int32,set_auxdata *func(*struct{},int32,*struct{},*func(*struct{})),snprintf *func(int32,*int8,*int8...)*int8,step *func(*struct{})int32,table_column_metadata *func(*struct{},*int8,*int8,*int8,**int8,**int8,*int32,*int32,*int32)int32,thread_cleanup *func(),total_changes *func(*struct{})int32,trace *func(*struct{},*func(*struct{},*int8),*struct{})*struct{},transfer_bindings *func(*struct{},*struct{})int32,update_hook *func(*struct{},*func(*struct{},int32,*int8,*int8,int64),*struct{})*struct{},user_data *func(*struct{})*struct{},value_blob *func(*struct{})*struct{},value_bytes *func(*struct{})int32,value_bytes16 *func(*struct{})int32,value_double *func(*struct{})float64,value_int *func(*struct{})int32,value_int64 *func(*struct{})int64,value_numeric_type *func(*struct{})int32,value_text *func(*struct{})*uint8,value_text16 *func(*struct{})*struct{},value_text16be *func(*struct{})*struct{},value_text16le *func(*struct{})*struct{},value_type *func(*struct{})int32,vmprintf *func(*int8,*struct{})*int8,overload_function *func(*struct{},*int8,int32)int32,prepare_v2 *func(*struct{},*int8,int32,**struct{},**int8)int32,prepare16_v2 *func(*struct{},*struct{},int32,**struct{},**struct{})int32,clear_bindings *func(*struct{})int32,create_module_v2 *func(*struct{},*int8,*struct{},*struct{},*func(*struct{}))int32,bind_zeroblob *func(*struct{},int32,int32)int32,blob_bytes *func(*struct{})int32,blob_close *func(*struct{})int32,blob_open *func(*struct{},*int8,*int8,*int8,int64,int32,**struct{})int32,blob_read *func(*struct{},*struct{},int32,int32)int32,blob_write *func(*struct{},*struct{},int32,int32)int32,create_collation_v2 *func(*struct{},*int8,int32,*struct{},*func(*struct{},int32,*struct{},int32,*struct{})int32,*func(*struct{}))int32,file_control *func(*struct{},*int8,int32,*struct{})int32,memory_highwater *func(int32)int64,memory_used *func()int64,mutex_alloc *func(int32)*struct{},mutex_enter *func(*struct{}),mutex_free *func(*struct{}),mutex_leave *func(*struct{}),mutex_try *func(*struct{})int32,open_v2 *func(*int8,**struct{},int32,*int8)int32,release_memory *func(int32)int32,result_error_nomem *func(*struct{}),result_error_toobig *func(*struct{}),sleep *func(int32)int32,soft_heap_limit *func(int32),vfs_find *func(*int8)*struct{},vfs_register *func(*struct{},int32)int32,vfs_unregister *func(*struct{})int32,xthreadsafe *func()int32,result_zeroblob *func(*struct{},int32),result_error_code *func(*struct{},int32),test_control *func(int32...)int32,randomness *func(int32,*struct{}),context_db_handle *func(*struct{})*struct{},extended_result_codes *func(*struct{},int32)int32,limit *func(*struct{},int32,int32)int32,next_stmt *func(*struct{},*struct{})*struct{},sql *func(*struct{})*int8,status *func(int32,*int32,*int32,int32)int32,backup_finish *func(*struct{})int32,backup_init *func(*struct{},*int8,*struct{},*int8)*struct{},backup_pagecount *func(*struct{})int32,backup_remaining *func(*struct{})int32,backup_step *func(*struct{},int32)int32,compileoption_get *func(int32)*int8,compileoption_used *func(*int8)int32,create_function_v2 *func(*struct{},*int8,int32,int32,*struct{},*func(*struct{},int32,**struct{}),*func(*struct{},int32,**struct{}),*func(*struct{}),*func(*struct{}))int32,db_config *func(*struct{},int32...)int32,db_mutex *func(*struct{})*struct{},db_status *func(*struct{},int32,*int32,*int32,int32)int32,extended_errcode *func(*struct{})int32,log *func(int32,*int8...),soft_heap_limit64 *func(int64)int64,sourceid *func()*int8,stmt_status *func(*struct{},int32,int32)int32,strnicmp *func(*int8,*int8,int32)int32,unlock_notify *func(*struct{},*func(**struct{},int32),*struct{})int32,wal_autocheckpoint *func(*struct{},int32)int32,wal_checkpoint *func(*struct{},*int8)int32,wal_hook *func(*struct{},*func(*struct{},*struct{},*int8,int32)int32,*struct{})*struct{},blob_reopen *func(*struct{},int64)int32,vtab_config *func(*struct{},int32...)int32,vtab_on_conflict *func(*struct{})int32,close_v2 *func(*struct{})int32,db_filename *func(*struct{},*int8)*int8,db_readonly *func(*struct{},*int8)int32,db_release_memory *func(*struct{})int32,errstr *func(int32)*int8,stmt_busy *func(*struct{})int32,stmt_readonly *func(*struct{})int32,stricmp *func(*int8,*int8)int32,uri_boolean *func(*int8,*int8,int32)int32,uri_int64 *func(*int8,*int8,int64)int64,uri_parameter *func(*int8,*int8)*int8,vsnprintf *func(int32,*int8,*int8,*struct{})*int8,wal_checkpoint_v2 *func(*struct{},*int8,int32,*int32,*int32)int32,auto_extension *func(*func())int32,bind_blob64 *func(*struct{},int32,*struct{},uint64,*func(*struct{}))int32,bind_text64 *func(*struct{},int32,*int8,uint64,*func(*struct{}),uint8)int32,cancel_auto_extension *func(*func())int32,load_extension *func(*struct{},*int8,*int8,**int8)int32,malloc64 *func(uint64)*struct{},msize *func(*struct{})uint64,realloc64 *func(*struct{},uint64)*struct{},reset_auto_extension *func(),result_blob64 *func(*struct{},*struct{},uint64,*func(*struct{})),result_text64 *func(*struct{},*int8,uint64,*func(*struct{}),uint8),strglob *func(*int8,*int8)int32,value_dup *func(*struct{})*struct{},value_free *func(*struct{}),result_zeroblob64 *func(*struct{},uint64)int32,bind_zeroblob64 *func(*struct{},int32,uint64)int32,value_subtype *func(*struct{})uint32,result_subtype *func(*struct{},uint32),status64 *func(int32,*int64,*int64,int32)int32,strlike *func(*int8,*int8,uint32)int32,db_cacheflush *func(*struct{})int32,system_errno *func(*struct{})int32,trace_v2 *func(*struct{},uint32,*func(uint32,*struct{},*struct{},*struct{})int32,*struct{})int32,expanded_sql *func(*struct{})*int8,set_last_insert_rowid *func(*struct{},int64)}
type Xsqlite3_backup ¶
type Xsqlite3_backup struct {
XpDestDb unsafe.Pointer
XpDest unsafe.Pointer
XiDestSchema uint32
XbDestLocked int32
XiNext uint32
XpSrcDb unsafe.Pointer
XpSrc unsafe.Pointer
Xrc int32
XnRemaining uint32
XnPagecount uint32
XisAttached int32
XpNext unsafe.Pointer
} // t219 struct{pDestDb *struct{},pDest *struct{},iDestSchema uint32,bDestLocked int32,iNext uint32,pSrcDb *struct{},pSrc *struct{},rc int32,nRemaining uint32,nPagecount uint32,isAttached int32,pNext *struct{}}
func Xsqlite3_backup_init ¶
func Xsqlite3_backup_init(tls *crt.TLS, _pDestDb *Xsqlite3, _zDestDb *int8, _pSrcDb *Xsqlite3, _zSrcDb *int8) (r0 *Xsqlite3_backup)
C comment
/* ** Create an sqlite3_backup process to copy the contents of zSrcDb from ** connection handle pSrcDb to zDestDb in pDestDb. If successful, return ** a pointer to the new sqlite3_backup object. ** ** If an error occurs, NULL is returned and an error code and error message ** stored in database handle pDestDb. */
type Xsqlite3_context ¶
type Xsqlite3_context struct {
XpOut unsafe.Pointer
XpFunc unsafe.Pointer
XpMem unsafe.Pointer
XpVdbe unsafe.Pointer
XiOp int32
XisError int32
XskipFlag uint8
XfErrorOrAux uint8
Xargc uint8
Xargv [1]unsafe.Pointer
} // t163 struct{pOut *struct{},pFunc *struct{},pMem *struct{},pVdbe *struct{},iOp int32,isError int32,skipFlag uint8,fErrorOrAux uint8,argc uint8,argv [1]*struct{}}
type Xsqlite3_debug_mutex ¶
type Xsqlite3_file ¶
type Xsqlite3_index_info ¶
type Xsqlite3_index_info struct {
XnConstraint int32
XaConstraint unsafe.Pointer
XnOrderBy int32
XaOrderBy unsafe.Pointer
XaConstraintUsage unsafe.Pointer
XidxNum int32
XidxStr *int8
XneedToFreeIdxStr int32
XorderByConsumed int32
XestimatedCost float64
XestimatedRows int64
XidxFlags int32
XcolUsed uint64
} // t304 struct{nConstraint int32,aConstraint *struct{},nOrderBy int32,aOrderBy *struct{},aConstraintUsage *struct{},idxNum int32,idxStr *int8,needToFreeIdxStr int32,orderByConsumed int32,estimatedCost float64,estimatedRows int64,idxFlags int32,colUsed uint64}
type Xsqlite3_io_methods ¶
type Xsqlite3_io_methods struct {
XiVersion int32
XxClose func(*crt.TLS, unsafe.Pointer) int32
XxRead func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, int64) int32
XxWrite func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, int64) int32
XxTruncate func(*crt.TLS, unsafe.Pointer, int64) int32
XxSync func(*crt.TLS, unsafe.Pointer, int32) int32
XxFileSize func(*crt.TLS, unsafe.Pointer, *int64) int32
XxLock func(*crt.TLS, unsafe.Pointer, int32) int32
XxUnlock func(*crt.TLS, unsafe.Pointer, int32) int32
XxCheckReservedLock func(*crt.TLS, unsafe.Pointer, *int32) int32
XxFileControl func(*crt.TLS, unsafe.Pointer, int32, unsafe.Pointer) int32
XxSectorSize func(*crt.TLS, unsafe.Pointer) int32
XxDeviceCharacteristics func(*crt.TLS, unsafe.Pointer) int32
XxShmMap func(*crt.TLS, unsafe.Pointer, int32, int32, int32, *unsafe.Pointer) int32
XxShmLock func(*crt.TLS, unsafe.Pointer, int32, int32, int32) int32
XxShmBarrier func(*crt.TLS, unsafe.Pointer)
XxShmUnmap func(*crt.TLS, unsafe.Pointer, int32) int32
XxFetch func(*crt.TLS, unsafe.Pointer, int64, int32, *unsafe.Pointer) int32
XxUnfetch func(*crt.TLS, unsafe.Pointer, int64, unsafe.Pointer) int32
} // t169 struct{iVersion int32,xClose *func(*struct{})int32,xRead *func(*struct{},*struct{},int32,int64)int32,xWrite *func(*struct{},*struct{},int32,int64)int32,xTruncate *func(*struct{},int64)int32,xSync *func(*struct{},int32)int32,xFileSize *func(*struct{},*int64)int32,xLock *func(*struct{},int32)int32,xUnlock *func(*struct{},int32)int32,xCheckReservedLock *func(*struct{},*int32)int32,xFileControl *func(*struct{},int32,*struct{})int32,xSectorSize *func(*struct{})int32,xDeviceCharacteristics *func(*struct{})int32,xShmMap *func(*struct{},int32,int32,int32,**struct{})int32,xShmLock *func(*struct{},int32,int32,int32)int32,xShmBarrier *func(*struct{}),xShmUnmap *func(*struct{},int32)int32,xFetch *func(*struct{},int64,int32,**struct{})int32,xUnfetch *func(*struct{},int64,*struct{})int32}
type Xsqlite3_mem_methods ¶
type Xsqlite3_mem_methods struct {
XxMalloc func(*crt.TLS, int32) unsafe.Pointer
XxFree func(*crt.TLS, unsafe.Pointer)
XxRealloc func(*crt.TLS, unsafe.Pointer, int32) unsafe.Pointer
XxSize func(*crt.TLS, unsafe.Pointer) int32
XxRoundup func(*crt.TLS, int32) int32
XxInit func(*crt.TLS, unsafe.Pointer) int32
XxShutdown func(*crt.TLS, unsafe.Pointer)
XpAppData unsafe.Pointer
} // t140 struct{xMalloc *func(int32)*struct{},xFree *func(*struct{}),xRealloc *func(*struct{},int32)*struct{},xSize *func(*struct{})int32,xRoundup *func(int32)int32,xInit *func(*struct{})int32,xShutdown *func(*struct{}),pAppData *struct{}}
type Xsqlite3_module ¶
type Xsqlite3_module struct {
XiVersion int32
XxCreate func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, **int8, *unsafe.Pointer, **int8) int32
XxConnect func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32, **int8, *unsafe.Pointer, **int8) int32
XxBestIndex func(*crt.TLS, unsafe.Pointer, unsafe.Pointer) int32
XxDisconnect func(*crt.TLS, unsafe.Pointer) int32
XxDestroy func(*crt.TLS, unsafe.Pointer) int32
XxOpen func(*crt.TLS, unsafe.Pointer, *unsafe.Pointer) int32
XxClose func(*crt.TLS, unsafe.Pointer) int32
XxFilter func(*crt.TLS, unsafe.Pointer, int32, *int8, int32, *unsafe.Pointer) int32
XxNext func(*crt.TLS, unsafe.Pointer) int32
XxEof func(*crt.TLS, unsafe.Pointer) int32
XxColumn func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32) int32
XxRowid func(*crt.TLS, unsafe.Pointer, *int64) int32
XxUpdate func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer, *int64) int32
XxBegin func(*crt.TLS, unsafe.Pointer) int32
XxSync func(*crt.TLS, unsafe.Pointer) int32
XxCommit func(*crt.TLS, unsafe.Pointer) int32
XxRollback func(*crt.TLS, unsafe.Pointer) int32
XxFindFunction func(*crt.TLS, unsafe.Pointer, int32, *int8, *func(*crt.TLS, unsafe.Pointer, int32, *unsafe.Pointer), *unsafe.Pointer) int32
XxRename func(*crt.TLS, unsafe.Pointer, *int8) int32
XxSavepoint func(*crt.TLS, unsafe.Pointer, int32) int32
XxRelease func(*crt.TLS, unsafe.Pointer, int32) int32
XxRollbackTo func(*crt.TLS, unsafe.Pointer, int32) int32
} // t249 struct{iVersion int32,xCreate *func(*struct{},*struct{},int32,**int8,**struct{},**int8)int32,xConnect *func(*struct{},*struct{},int32,**int8,**struct{},**int8)int32,xBestIndex *func(*struct{},*struct{})int32,xDisconnect *func(*struct{})int32,xDestroy *func(*struct{})int32,xOpen *func(*struct{},**struct{})int32,xClose *func(*struct{})int32,xFilter *func(*struct{},int32,*int8,int32,**struct{})int32,xNext *func(*struct{})int32,xEof *func(*struct{})int32,xColumn *func(*struct{},*struct{},int32)int32,xRowid *func(*struct{},*int64)int32,xUpdate *func(*struct{},int32,**struct{},*int64)int32,xBegin *func(*struct{})int32,xSync *func(*struct{})int32,xCommit *func(*struct{})int32,xRollback *func(*struct{})int32,xFindFunction *func(*struct{},int32,*int8,**func(*struct{},int32,**struct{}),**struct{})int32,xRename *func(*struct{},*int8)int32,xSavepoint *func(*struct{},int32)int32,xRelease *func(*struct{},int32)int32,xRollbackTo *func(*struct{},int32)int32}
type Xsqlite3_mutex ¶
type Xsqlite3_mutex struct {
Xmutex crt.Xpthread_mutex_t
Xid int32
XnRef int32
Xowner uint64
Xtrace int32
} // t146 struct{mutex union{__data struct{__lock int32,__count uint32,__owner int32,__nusers uint32,__kind int32,__spins int16,__elision int16,__list struct{__prev *struct{},__next *struct{}}},__size [40]int8,__align int64},id int32,nRef int32,owner uint64,trace int32}
func Xsqlite3_db_mutex ¶
func Xsqlite3_db_mutex(tls *crt.TLS, _db *Xsqlite3) (r0 *Xsqlite3_mutex)
C comment
/* ** Return the mutex associated with a database connection. */
func Xsqlite3_mutex_alloc ¶
func Xsqlite3_mutex_alloc(tls *crt.TLS, _id int32) (r0 *Xsqlite3_mutex)
C comment
/* ** Retrieve a pointer to a static mutex or allocate a new dynamic one. */
type Xsqlite3_mutex_methods ¶
type Xsqlite3_mutex_methods struct {
XxMutexInit func(*crt.TLS) int32
XxMutexEnd func(*crt.TLS) int32
XxMutexAlloc func(*crt.TLS, int32) unsafe.Pointer
XxMutexFree func(*crt.TLS, unsafe.Pointer)
XxMutexEnter func(*crt.TLS, unsafe.Pointer)
XxMutexTry func(*crt.TLS, unsafe.Pointer) int32
XxMutexLeave func(*crt.TLS, unsafe.Pointer)
XxMutexHeld func(*crt.TLS, unsafe.Pointer) int32
XxMutexNotheld func(*crt.TLS, unsafe.Pointer) int32
} // t141 struct{xMutexInit *func()int32,xMutexEnd *func()int32,xMutexAlloc *func(int32)*struct{},xMutexFree *func(*struct{}),xMutexEnter *func(*struct{}),xMutexTry *func(*struct{})int32,xMutexLeave *func(*struct{}),xMutexHeld *func(*struct{})int32,xMutexNotheld *func(*struct{})int32}
type Xsqlite3_pcache_methods2 ¶
type Xsqlite3_pcache_methods2 struct {
XiVersion int32
XpArg unsafe.Pointer
XxInit func(*crt.TLS, unsafe.Pointer) int32
XxShutdown func(*crt.TLS, unsafe.Pointer)
XxCreate func(*crt.TLS, int32, int32, int32) unsafe.Pointer
XxCachesize func(*crt.TLS, unsafe.Pointer, int32)
XxPagecount func(*crt.TLS, unsafe.Pointer) int32
XxFetch func(*crt.TLS, unsafe.Pointer, uint32, int32) unsafe.Pointer
XxUnpin func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32)
XxRekey func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, uint32, uint32)
XxTruncate func(*crt.TLS, unsafe.Pointer, uint32)
XxDestroy func(*crt.TLS, unsafe.Pointer)
XxShrink func(*crt.TLS, unsafe.Pointer)
} // t142 struct{iVersion int32,pArg *struct{},xInit *func(*struct{})int32,xShutdown *func(*struct{}),xCreate *func(int32,int32,int32)*struct{},xCachesize *func(*struct{},int32),xPagecount *func(*struct{})int32,xFetch *func(*struct{},uint32,int32)*struct{},xUnpin *func(*struct{},*struct{},int32),xRekey *func(*struct{},*struct{},uint32,uint32),xTruncate *func(*struct{},uint32),xDestroy *func(*struct{}),xShrink *func(*struct{})}
type Xsqlite3_pcache_page ¶
type Xsqlite3_vfs ¶
type Xsqlite3_vfs struct {
XiVersion int32
XszOsFile int32
XmxPathname int32
XpNext unsafe.Pointer
XzName *int8
XpAppData unsafe.Pointer
XxOpen func(*crt.TLS, unsafe.Pointer, *int8, unsafe.Pointer, int32, *int32) int32
XxDelete func(*crt.TLS, unsafe.Pointer, *int8, int32) int32
XxAccess func(*crt.TLS, unsafe.Pointer, *int8, int32, *int32) int32
XxFullPathname func(*crt.TLS, unsafe.Pointer, *int8, int32, *int8) int32
XxDlOpen func(*crt.TLS, unsafe.Pointer, *int8) unsafe.Pointer
XxDlError func(*crt.TLS, unsafe.Pointer, int32, *int8)
XxDlSym func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, *int8) func(*crt.TLS)
XxDlClose func(*crt.TLS, unsafe.Pointer, unsafe.Pointer)
XxRandomness func(*crt.TLS, unsafe.Pointer, int32, *int8) int32
XxSleep func(*crt.TLS, unsafe.Pointer, int32) int32
XxCurrentTime func(*crt.TLS, unsafe.Pointer, *float64) int32
XxGetLastError func(*crt.TLS, unsafe.Pointer, int32, *int8) int32
XxCurrentTimeInt64 func(*crt.TLS, unsafe.Pointer, *int64) int32
XxSetSystemCall func(*crt.TLS, unsafe.Pointer, *int8, func(*crt.TLS)) int32
XxGetSystemCall func(*crt.TLS, unsafe.Pointer, *int8) func(*crt.TLS)
XxNextSystemCall func(*crt.TLS, unsafe.Pointer, *int8) *int8
} // t170 struct{iVersion int32,szOsFile int32,mxPathname int32,pNext *struct{},zName *int8,pAppData *struct{},xOpen *func(*struct{},*int8,*struct{},int32,*int32)int32,xDelete *func(*struct{},*int8,int32)int32,xAccess *func(*struct{},*int8,int32,*int32)int32,xFullPathname *func(*struct{},*int8,int32,*int8)int32,xDlOpen *func(*struct{},*int8)*struct{},xDlError *func(*struct{},int32,*int8),xDlSym *func(*struct{},*struct{},*int8)*func(),xDlClose *func(*struct{},*struct{}),xRandomness *func(*struct{},int32,*int8)int32,xSleep *func(*struct{},int32)int32,xCurrentTime *func(*struct{},*float64)int32,xGetLastError *func(*struct{},int32,*int8)int32,xCurrentTimeInt64 *func(*struct{},*int64)int32,xSetSystemCall *func(*struct{},*int8,*func())int32,xGetSystemCall *func(*struct{},*int8)*func(),xNextSystemCall *func(*struct{},*int8)*int8}
func Xsqlite3_vfs_find ¶
func Xsqlite3_vfs_find(tls *crt.TLS, _zVfs *int8) (r0 *Xsqlite3_vfs)
C comment
/* ** Locate a VFS by name. If no name is given, simply return the ** first VFS on the list. */
type Xsqlite3_vtab ¶
type Xsqlite3_vtab_cursor ¶
type XunixFile ¶
type XunixFile struct {
XpMethod unsafe.Pointer
XpVfs unsafe.Pointer
XpInode unsafe.Pointer
Xh int32
XeFileLock uint8
XctrlFlags uint16
XlastErrno int32
XlockingContext unsafe.Pointer
XpUnused unsafe.Pointer
XzPath *int8
XpShm unsafe.Pointer
XszChunk int32
XnFetchOut int32
XmmapSize int64
XmmapSizeActual int64
XmmapSizeMax int64
XpMapRegion unsafe.Pointer
XtransCntrChng uint8
XdbUpdate uint8
XinNormalWrite uint8
} // t199 struct{pMethod *struct{},pVfs *struct{},pInode *struct{},h int32,eFileLock uint8,ctrlFlags uint16,lastErrno int32,lockingContext *struct{},pUnused *struct{},zPath *int8,pShm *struct{},szChunk int32,nFetchOut int32,mmapSize int64,mmapSizeActual int64,mmapSizeMax int64,pMapRegion *struct{},transCntrChng uint8,dbUpdate uint8,inNormalWrite uint8}
type XunixInodeInfo ¶
type XunixInodeInfo struct {
XfileId TunixFileId
XeFileLock uint8
XbProcessLock uint8
XnRef int32
XpShmNode unsafe.Pointer
XnLock int32
XpUnused unsafe.Pointer
XpNext unsafe.Pointer
XpPrev unsafe.Pointer
} // t198 struct{fileId struct{dev uint64,ino uint64},nShared int32,eFileLock uint8,bProcessLock uint8,nRef int32,pShmNode *struct{},nLock int32,pUnused *struct{},pNext *struct{},pPrev *struct{}}
type XunixShmNode ¶
type XunixShmNode struct {
XpInode unsafe.Pointer
Xmutex unsafe.Pointer
XzFilename *int8
Xh int32
XszRegion int32
XnRegion uint16
XisReadonly uint8
XapRegion **int8
XnRef int32
XpFirst unsafe.Pointer
XexclMask uint8
XnextShmId uint8
} // t201 struct{pInode *struct{},mutex *struct{},zFilename *int8,h int32,szRegion int32,nRegion uint16,isReadonly uint8,apRegion **int8,nRef int32,pFirst *struct{},exclMask uint8,sharedMask uint8,nextShmId uint8}
type XyyParser ¶
type XyyParser struct {
Xyytos unsafe.Pointer
XpParse unsafe.Pointer
Xyystack [100]XyyStackEntry
} // t329 struct{yytos *struct{},pParse *struct{},yystack [100]struct{stateno uint16,major uint8,minor union{yyinit int32,yy0 struct{z *int8,n uint32},yy72 *struct{},yy145 *struct{},yy148 *struct{},yy185 *struct{},yy190 struct{pExpr *struct{},zStart *int8,zEnd *int8},yy194 int32,yy243 *struct{},yy254 *struct{},yy285 *struct{},yy332 struct{a int32,b *struct{}},yy354 struct{pLimit *struct{},pOffset *struct{}},yy497 struct{value int32,mask int32}}}}
type XyyStackEntry ¶
type XyyStackEntry struct {
Xstateno uint16
Xmajor uint8
Xminor XYYMINORTYPE
} // t328 struct{stateno uint16,major uint8,minor union{yyinit int32,yy0 struct{z *int8,n uint32},yy72 *struct{},yy145 *struct{},yy148 *struct{},yy185 *struct{},yy190 struct{pExpr *struct{},zStart *int8,zEnd *int8},yy194 int32,yy243 *struct{},yy254 *struct{},yy285 *struct{},yy332 struct{a int32,b *struct{}},yy354 struct{pLimit *struct{},pOffset *struct{}},yy497 struct{value int32,mask int32}}}