Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
exec.c File Reference

Implements the OP_SQLITE_EXEC opcode (conditional build). More...

Go to the source code of this file.

Functions

 free_value (v1)
 free_value (v2)
 push_value (vm, make_int(-1))

Variables

case OP_SQLITE_EXEC
Value v2 = pop_value(vm)
 break

Detailed Description

Implements the OP_SQLITE_EXEC opcode (conditional build).

Executes a SQL statement against an open SQLite handle when FUN_WITH_SQLITE is enabled. Returns the SQLite result code.

Definition in file exec.c.

Function Documentation

◆ free_value() [1/2]

free_value(v1)

◆ free_value() [2/2]

free_value(v2)

◆ push_value()

push_value(vm,
make_int(-1) )

Variable Documentation

◆ break

break

Definition at line 47 of file exec.c.

◆ OP_SQLITE_EXEC

case OP_SQLITE_EXEC

OP_SQLITE_EXEC: (handle:int, sql:string) -> int rc (0=OK)

Definition at line 21 of file exec.c.

◆ v2

Value v2 = pop_value(vm)

Definition at line 43 of file exec.c.