Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurs call OSQLQuery method with the query string that starts with white space. [moved] #119

Closed
lvca opened this issue Dec 10, 2012 · 0 comments

Comments

@lvca
Copy link
Member

lvca commented Dec 10, 2012

This is Issue 119 moved from a Google Code project.
Added by 2010-09-21T20:15:54.000Z by devil.mo...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).

Original labels: Type-Defect, Priority-Low, v0.9.23

Original description

<b>What steps will reproduce the problem?</b>
1. String query = &quot; update Person set name = 'Anakin' where @rid = 5:0 &quot;;
2. call method, database.command(new OCommandSQL(updateQuery)).execute();
3. Error on executing command is occurred.

<b>Please use labels and text to provide additional information.</b>
And OSQLSynchQuery() method has also same problem.
I think it's need to trim the query string before executing it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant