Optimize prepared statement flow for RBAC

This commit is contained in:
Vikram Rangnekar
2019-10-25 00:01:22 -04:00
parent 6bc66d28bc
commit 4edc15eb98
14 changed files with 136 additions and 46 deletions

View File

@ -18,7 +18,9 @@ type parserType int32
const (
maxFields = 100
maxArgs = 10
)
const (
parserError parserType = iota
parserEOF
opQuery

View File

@ -16,7 +16,9 @@ type Action int
const (
maxSelectors = 30
)
const (
QTQuery QType = iota + 1
QTInsert
QTUpdate