Skip to content
Snippets Groups Projects
  1. Apr 17, 2015
  2. Apr 16, 2015
  3. Apr 15, 2015
  4. Apr 14, 2015
    • Konstantin Osipov's avatar
      gh-791: a fix and a test case · 7a8668d8
      Konstantin Osipov authored
      A fix and a test case for gh-791: call() return value can't contain
      a Lua map.
      
      Treat a map as a scalar, i.e. convert it to a tuple field on return
      from call.
      
      Use a simple heuristics to distinguish a map from an array:
      if the first key of the map is integer 1, it's an array.
      This approach works pretty well for JSON maps, which can't have
      non-string keys anyway.
      7a8668d8
    • Konstantin Osipov's avatar
      setlocale: silence the warning on CentOS 6.6 · d7047223
      Konstantin Osipov authored
      If failed to set locale to C.UTF-8 (the standard one which supports UTF-8),
      try other options. Keep trying ad naeuseam to silence the warning,
      since this raises support questions.
      
      CentOS 6.6 has en_US.utf8.
      Debian, FreeBSD and Darwin have en_US.utf-8.
      d7047223
  5. Apr 13, 2015
  6. Apr 10, 2015
  7. Apr 08, 2015
    • Konstantin Osipov's avatar
      gh-780 (Tarantool segfaults) · d33a490c
      Konstantin Osipov authored
      Fix a crash due to memory corruption in fio.dirname().
      A test case would test nothing since the corrupted Lua heap
      doesn't crash on you immediately..
      
      fio.dirname() is tested in fio.test.lua
      d33a490c
  8. Apr 07, 2015
  9. Apr 06, 2015
    • Konstantin Osipov's avatar
      gh-508: suid functions fail · 4d2bc1f3
      Konstantin Osipov authored
      The bug was caused by incorrect check for universal access in SetuidGuard
      and missing user id change thanks to it.
      
      Fix a coding bug and add a test case.
      Closes gh-508.
      4d2bc1f3
    • Konstantin Osipov's avatar
      gh-664: role accepts bad syntax for create · 7da819e1
      Konstantin Osipov authored
      A fix and a test case for gh-664 (bad syntax is accepted in
      schema.role.*, schema.user.*, etc).
      
      Check the second argument of role.create()/role.drop(),
      user.create()/user.drop(), func.create()/func.drop().
      
      Implement if_exists option for user.drop(), role.drop(),
      func.drop().
      
      Add a test case.
      7da819e1
  10. Apr 05, 2015
  11. Apr 03, 2015
  12. Apr 02, 2015
  13. Apr 01, 2015
  14. Mar 31, 2015
  15. Mar 29, 2015
  16. Mar 24, 2015
  17. Mar 23, 2015
  18. Mar 21, 2015
    • Konstantin Osipov's avatar
      net.box: avoid unnecessary syscalls when socket is ready most of the time · bcd13810
      Konstantin Osipov authored
      Don't run event loop if socket is ready to write. *Always* write
      optimistically. With fiber.channel(), channel push  wakes up the waiter
      without in the same event loop iteration. This means that whenever we have
      data on an incoming connection, we can push messages to outgoing connections
      in the same iteration, without epoll_ctl syscalls or unnecessary
      epoll_wait.
      With 1 incoming and 5 outgoing connections, for example, this saves
      ~10 syscalls per each incoming request.
      bcd13810
  19. Mar 20, 2015
    • Konstantin Osipov's avatar
      fiber scheduling: schedule ready fibers more aggressively · 4fe85243
      Konstantin Osipov authored
      If a fiber becomes ready on a user-defined event, schedule it
      in the same event loop, not in the next loop, to save one epoll_wait()
      invocation in cases when something is added to a fiber channel,
      and there is a fiber ready for execution waiting on the channel.
      
      Add a micro-bench to the unit test suite.
      4fe85243
  20. Mar 19, 2015
  21. Mar 18, 2015
Loading