| 8994 | } |
| 8995 | |
| 8996 | static int idxRegisterVtab(sqlite3expert *p){ |
| 8997 | static sqlite3_module expertModule = { |
| 8998 | 2, /* iVersion */ |
| 8999 | expertConnect, /* xCreate - create a table */ |
| 9000 | expertConnect, /* xConnect - connect to an existing table */ |
| 9001 | expertBestIndex, /* xBestIndex - Determine search strategy */ |
| 9002 | expertDisconnect, /* xDisconnect - Disconnect from a table */ |
| 9003 | expertDisconnect, /* xDestroy - Drop a table */ |
| 9004 | expertOpen, /* xOpen - open a cursor */ |
| 9005 | expertClose, /* xClose - close a cursor */ |
| 9006 | expertFilter, /* xFilter - configure scan constraints */ |
| 9007 | expertNext, /* xNext - advance a cursor */ |
| 9008 | expertEof, /* xEof */ |
| 9009 | expertColumn, /* xColumn - read data */ |
| 9010 | expertRowid, /* xRowid - read data */ |
| 9011 | expertUpdate, /* xUpdate - write data */ |
| 9012 | 0, /* xBegin - begin transaction */ |
| 9013 | 0, /* xSync - sync transaction */ |
| 9014 | 0, /* xCommit - commit transaction */ |
| 9015 | 0, /* xRollback - rollback transaction */ |
| 9016 | 0, /* xFindFunction - function overloading */ |
| 9017 | 0, /* xRename - rename the table */ |
| 9018 | 0, /* xSavepoint */ |
| 9019 | 0, /* xRelease */ |
| 9020 | 0, /* xRollbackTo */ |
| 9021 | 0, /* xShadowName */ |
| 9022 | }; |
| 9023 | |
| 9024 | return sqlite3_create_module(p->dbv, "expert", &expertModule, (void*)p); |
| 9025 | } |
| 9026 | /* |
| 9027 | ** End of virtual table implementation. |
| 9028 | *************************************************************************/ |
no outgoing calls
no test coverage detected