RedBeardLab / rediSQL

Redis module that provides a completely functional SQL database

Home Page:https://redisql.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Semicolon and newline

siscia opened this issue · comments

There seems to be some weird issue when a query terminate with a semicolon ; and whitespaces or new lines.

So, queries like this works ok:

SELECT A, B from foo;

While this other seems to show the issue problem:

SELECT A, B from foo; -- with whitespaces

or also


--with newlines```

A quick and dirty solution would be to strip all the whitespace character from the end of a query.

But that seems like a dirty hack!