reldb 0.1.0
Recreational SQLite
Loading...
Searching...
No Matches
vm.c
Go to the documentation of this file.
1
5
6#include "vm.h"
7#include <stdio.h>
8
9void
11{
12 switch (stmt->type) {
13 case (STATEMENT_INSERT):
14 printf("This is where we would do an insert.\n");
15 break;
16 case (STATEMENT_SELECT):
17 printf("This is where we would do a select.\n");
18 break;
19 }
20}
A parsed SQL statement ready for execution by the VM.
Definition statement.h:31
void execute_statement(Statement *stmt)
The "Virtual Machine": executes a compiled Statement.
Definition vm.c:10
Virtual Machine for executing compiled SQL statements.