Skip to content
Snippets Groups Projects
Commit 26f3fbd3 authored by Nikita Pettik's avatar Nikita Pettik
Browse files

sql: add sql_stmt_schema_version()

Let's introduce interface function to get schema version of prepared
statement. It is required since sturct sql_stmt (i.e. prepared
statement) is an opaque object and in fact is an alias to struct Vdbe.
Statements with schema version different from the current one are
considered to be expired and should be re-compiled.

Needed for #2592
parent f1c0dcdf
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment