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

Closed
opened 2026-07-25 18:42:13 +00:00 by TakshakRamteke · 0 comments
Owner

Notice how in the below run select works so long as the entered command contains "select" at the start of it while insert and other commands work fine, when tried with the same mistakes

➜  godb git:(dev) make run
godb > insert 0 heello hello@gmailc.om
Executed.
godb > select
{0 heello hello@gmailc.om}
Executed.
godb > selectsomething
{0 heello hello@gmailc.om}
Executed.
godb > selecthello
{0 heello hello@gmailc.om}
Executed.
godb > selectwithoutspaces
{0 heello hello@gmailc.om}
Executed.
godb > select exit
{0 heello hello@gmailc.om}
Executed.
godb > inserthello 0 hello hello.coms@com.com
error parsing insert statement
expected space in input to match format
Syntax error, could not parse statement
godb > select.
{0 heello hello@gmailc.om}
Executed.
godb > helpo
Unrecognised keyword at the start of 'helpo'.
godb > exit.
Unrecognised keyword at the start of 'exit.'.
godb > .exit
bye!
➜  godb git:(dev)
Notice how in the below run select works so long as the entered command contains "select" at the start of it while insert and other commands work fine, when tried with the same mistakes ```bash ➜ godb git:(dev) make run godb > insert 0 heello hello@gmailc.om Executed. godb > select {0 heello hello@gmailc.om} Executed. godb > selectsomething {0 heello hello@gmailc.om} Executed. godb > selecthello {0 heello hello@gmailc.om} Executed. godb > selectwithoutspaces {0 heello hello@gmailc.om} Executed. godb > select exit {0 heello hello@gmailc.om} Executed. godb > inserthello 0 hello hello.coms@com.com error parsing insert statement expected space in input to match format Syntax error, could not parse statement godb > select. {0 heello hello@gmailc.om} Executed. godb > helpo Unrecognised keyword at the start of 'helpo'. godb > exit. Unrecognised keyword at the start of 'exit.'. godb > .exit bye! ➜ godb git:(dev) ```
TakshakRamteke self-assigned this 2026-07-25 18:42:13 +00:00
TakshakRamteke added the bug label 2026-07-25 18:43:22 +00:00
TakshakRamteke changed title from select works as intended so long as it contains the word at the beginning "select" to fix: select works as intended so long as it contains the word at the beginning "select" 2026-07-25 18:47:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TakshakRamteke/godb#4