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

Change fieldno in error message for update and upsert #113

Open
ja1cap opened this issue Jan 12, 2018 · 0 comments
Open

Change fieldno in error message for update and upsert #113

ja1cap opened this issue Jan 12, 2018 · 0 comments
Assignees

Comments

@ja1cap
Copy link

ja1cap commented Jan 12, 2018

fieldno in error message is invalid, try to update tuple that doesn't have 3 field

Nginx config

location /update {
  tnt_pure_result on;
  tnt_update 514 "key=%ks" "value=%n";
  tnt_pass tnt;
}

Request /update?key=test_inc&value=%23,3,1

Response

{"id":0,"error":{"message":"Field 2 was not found in the tuple","code":-32805}}
@ja1cap ja1cap changed the title Change fieldno error message for update and upsert Change fieldno in error message for update and upsert Jan 12, 2018
@dedok dedok self-assigned this Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants