fix: #9 no error on trying to insert more than limit, plus some other
tests and minor fix
This commit is contained in:
@@ -37,6 +37,10 @@ func Run() {
|
||||
fmt.Println("Syntax error, could not parse statement")
|
||||
case PrepareUnrecognised:
|
||||
fmt.Printf("Unrecognised keyword at the start of '%s'.\n", inputBuffer.Buffer)
|
||||
case PrepareTooManyArgs:
|
||||
fmt.Printf("Too many arguments in the insert statement '%v'\n", inputBuffer.Buffer)
|
||||
case PrepareValueTooLong:
|
||||
fmt.Printf("Values for either username or email are too long\n")
|
||||
}
|
||||
|
||||
switch statement.ExecuteStatement(table) {
|
||||
|
||||
Reference in New Issue
Block a user