With SQLITE_OMIT_VIRTUALTABLE defined, I get a linker fault under VC++
It claims that:
error LNK2001: unresolved external symbol sqlite3VtabBeginParse
Looking through the source code, I see the following
Y:\SQLite3\Projects\3_5_5\src\sqliteInt.h(1986)
#ifdef SQLITE_OMIT_VIRTUALTABLE
# define sqlite3VtabClear(X)
# define sqlite3VtabSync(X,Y) (Y)
# define sqlite3VtabRollback(X)
# define sqlite3VtabCommit(X)
#else
void sqlite3VtabClear(Table*);
int sqlite3VtabSync(sqlite3 *db, int rc);
int sqlite3VtabRollback(sqlite3 *db);
int sqlite3VtabCommit(sqlite3 *db);
#endif
void sqlite3VtabLock(sqlite3_vtab*);
void sqlite3VtabUnlock(sqlite3*, sqlite3_vtab*);
void sqlite3VtabBeginParse(Parse*, Token*, Token*, Token*);
-- So it is supposed to exist, even with SQLITE_OMIT_VIRTUALTABLE
defined.
Also, Parse uses it here
Y:\SQLite3\Projects\3_5_5\src\parse.c(3225):
case 302: /* create_vtab ::= CREATE VIRTUAL TABLE nm dbnm USING nm */
#line 1102 "parse.y"
{
sqlite3VtabBeginParse(pParse, &yymsp[-3].minor.yy410,
&yymsp[-2].minor.yy410, &yymsp[0].minor.yy410);
}
But it is not compiled in Y:\SQLite3\Projects\3_5_5\src\vtab.c, since
this entire routine is excluded via line 16
#ifndef SQLITE_OMIT_VIRTUALTABLE
Looks like a dummy MACRO or function needs to be created,
or the PARSE code needs to be bracketed with #ifndef
SQLITE_OMIT_VIRTUALTABLE
Can someone with source access please make this change.
Regards,
Noah Hart
CONFIDENTIALITY NOTICE:
This message may contain confidential and/or privileged information. If you are
not the addressee or authorized to receive this for the addressee, you must not
use, copy, disclose, or take any action based on this message or any
information herein. If you have received this message in error, please advise
the sender immediately by reply e-mail and delete this message. Thank you for
your cooperation.
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------