fix: #4 select works as intended so long as it contains the word at the beginning "select" #7

Merged
TakshakRamteke merged 1 commits from dev into main 2026-07-26 16:27:38 +00:00
Showing only changes of commit a16d06df64 - Show all commits
+1 -1
View File
@@ -165,7 +165,7 @@ func (statement *Statement) PrepareStatements(inputBuffer *InputBuffer) PrepareR
statement.stype = StatementInsert
return PrepareSuccess
}
if strings.HasPrefix(inputBuffer.Buffer, "select") {
if inputBuffer.Buffer == "select" {
statement.stype = StatementSelect
return PrepareSuccess
}