localhost> lua test = function() return nil; end
---
...
localhost> lua test()
---
 - nil
...
localhost> call test()
Call OK, 1 rows affected
['nil']

The bug on the server

-- 
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1182450

Title:
  Tnt-php: incorrect result on procedure call, when procedure result is
  nil

Status in Tarantool - an efficient in-memory data store:
  New

Bug description:
  Incorrect result appears in php:
  Array
  (
      [count] => 1
      [tuples_list] => Array
          (
              [0] => Array
                  (
                      [0] => nil
                  )
          )
  )

  when tarantool procedure returns nil.

  "count" element should be equal to 0 (zero), and "tuples_list" should
  be an empty array.

To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1182450/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to