MXS-1025: Parse SAVEPOINT statements

The various forms of the SAVEPOINT/RELEASE/ROLLBACK statements are now
fully parsed.
This commit is contained in:
Markus Mäkelä
2017-03-06 20:09:35 +02:00
parent f2fc9b9d9f
commit dd07feda07
4 changed files with 39 additions and 1 deletions

View File

@ -1409,6 +1409,17 @@ void mxs_sqlite3Update(Parse* pParse, SrcList* pTabList, ExprList* pChanges, Exp
exposed_sqlite3ExprDelete(pParse->db, pWhere);
}
void mxs_sqlite3Savepoint(Parse *pParse, int op, Token *pName)
{
QC_TRACE();
QC_SQLITE_INFO* info = this_thread.info;
ss_dassert(info);
info->status = QC_QUERY_PARSED;
info->types = QUERY_TYPE_WRITE;
}
void maxscaleCollectInfoFromSelect(Parse* pParse, Select* pSelect)
{
QC_SQLITE_INFO* info = this_thread.info;