feat: PITR RECOVER TO TIMESTAMP, OpenTelemetry OTLP export, FTS infrastructure
- RECOVER TO TIMESTAMP '...' — parser + executor, replays WAL entries - core/tracing.nim — OTLP/HTTP export via exportOtlp() - FTS: ftsIndexes table in ExecutionContext, engine import ready - 281 tests, 0 failures
This commit is contained in:
@@ -1181,6 +1181,13 @@ proc parseStatement*(p: var Parser): Node =
|
||||
of tkCommit: p.parseCommitTxn()
|
||||
of tkRollback: p.parseRollbackTxn()
|
||||
of tkExplain: p.parseExplain()
|
||||
of tkRecover:
|
||||
let tok = p.advance()
|
||||
discard p.expect(tkTo)
|
||||
discard p.expect(tkTimestamp)
|
||||
let tsLit = p.expect(tkStringLit)
|
||||
Node(kind: nkRecoverToTimestamp, recoverTimestamp: tsLit.value,
|
||||
line: tok.line, col: tok.col)
|
||||
else:
|
||||
let tok = p.advance()
|
||||
Node(kind: nkNullLit, line: tok.line, col: tok.col)
|
||||
|
||||
Reference in New Issue
Block a user