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

Support new CALL command with EVAL-style marshalling (1.7.1+) #21

Open
rtsisyk opened this issue Aug 26, 2016 · 1 comment
Open

Support new CALL command with EVAL-style marshalling (1.7.1+) #21

rtsisyk opened this issue Aug 26, 2016 · 1 comment

Comments

@rtsisyk
Copy link

rtsisyk commented Aug 26, 2016

Tarantool 1.7.1 adds a new implementation of CALL command which supports EVAL-style marshalling, i.e. returned data is not converted to tuples anymore. Old CALL command (code = 6) is deprecated.
Please detect Tarantool version on connect and use code=10 for CALL if remote version >= 1.7.1.

tarantool/tarantool#1296

@mejedi
Copy link

mejedi commented Sep 26, 2016

After internal discussions we decided that selecting old or new CALL automatically based on the server version is a bad idea after all. Client code will notice the difference in semantics.

Instead we suggest the following: make call behave in 1.7 semantics by default. Add connection option to configure calls semantics. If user wants 1.6 CALL-s, she should say so explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants