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
Loading
Please register or sign in to comment