File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7076,7 +7076,8 @@ struct sqlite3_module {
70767076 /* The methods above are in versions 1 and 2 of the sqlite_module object.
70777077 ** Those below are for version 3 and greater. */
70787078 int (* xShadowName )(const char * );
7079- /** The methods below are for version 4 and greater. */
7079+ /* The methods below relate to features contributed by the community and
7080+ ** are available for version 700 and greater. */
70807081 int (* xPrepareSql )(sqlite3_vtab_cursor * , const char * );
70817082};
70827083
Original file line number Diff line number Diff line change @@ -1332,7 +1332,7 @@ static sqlite3_module echoModule = {
13321332};
13331333
13341334static sqlite3_module echoModuleV2 = {
1335- 4 , /* iVersion */
1335+ 700 , /* iVersion */
13361336 echoCreate ,
13371337 echoConnect ,
13381338 echoBestIndex ,
Original file line number Diff line number Diff line change @@ -8095,7 +8095,7 @@ case OP_VPrepareSql: {
80958095 pModule = pVtab -> pModule ;
80968096
80978097 /* Invoke the xPrepareSql method */
8098- if ( pModule -> iVersion >=4 ){
8098+ if ( pModule -> iVersion >=700 ){
80998099 if ( pModule -> xPrepareSql && p -> zSql ){
81008100 rc = pModule -> xPrepareSql (pVCur , p -> zSql );
81018101 if ( rc ) goto abort_due_to_error ;
You can’t perform that action at this time.
0 commit comments