Skip to content
Snippets Groups Projects
  1. Feb 08, 2013
  2. Nov 26, 2012
  3. Oct 20, 2012
    • Konstantin Osipov's avatar
      A grand move around of files. · fe6f2197
      Konstantin Osipov authored
      Move memcached to src/
      Make iproto.m dependend on box/*, not vice versa.
      Remove box_ prefixes from test suite names.
      Initialize networking outside of box/.
      
      This makes Box a step closer to being just a storage
      layer for Tarantool.
      
      Still some ugly deps since box/ continues to manage
      local hot standby and memcached expire (todo: move it out).
      fe6f2197
  4. Oct 09, 2012
  5. Oct 02, 2012
  6. Aug 10, 2012
  7. Jun 19, 2012
  8. Jun 01, 2012
  9. Apr 21, 2012
    • Konstantin Osipov's avatar
      Review comments on multipart-primary-key blueprint. · 466a1a93
      Konstantin Osipov authored
      Spelling fixes in the error message file.
      
      Add more information to the error when key cardinality
      doesn't match index cardinality in exact match.
      
      Avoid server start/stop in box_big/hash.test (ugly,
      but until we have named/dynamic spaces, which are already in the
      pipeline, we should not make our test procedure slower).
      
      Rename multipart-pk.test to tree_pk_multipar.test:
      consistently use underscores, not dashes, in file
      names.
      
      (Unrelated) Recycle more error codes.
      
      Make keyValue an inline function to save a few CPU cycles.
      
      Avoid creation of an extra table in box.lua just to find out
      variable list array cardinality.
      
      Revert changes to box.update():
      a) they break backward compatibility
      
      This reason alone should be sufficient. There must be no changes
      which break backward compatibility in a stable release, unless
      it's a fix for a crashing/security bug.
      
      box.update() changes got to be done in a separate task,
      and should not break backward compatibility.
      
      Leave update_ol for now, to test multi-part primary key updates,
      even though the function itself is quite heavy, hardly something
      we can recommend while running Lua procedures in production.
      466a1a93
  10. Apr 12, 2012
  11. Apr 09, 2012
  12. Mar 22, 2012
  13. Mar 21, 2012
  14. Mar 14, 2012
  15. Feb 09, 2012
    • Konstantin Osipov's avatar
      A fix and a test case for Bug#929654 · 77ccb7b1
      Konstantin Osipov authored
      A fix and a test case for Bu#929654 "
      Regression with secondary HASH indexes"
      
      Secodnary HASH indexes where skipped by build_indexes()
      when starting from a snapshot.
      
      Add a way to reserve space for as many values as necessary
      and enable HASH indexes in build_indexes().
      
      Add a test.
      77ccb7b1
  16. Jan 17, 2012
  17. Dec 15, 2011
  18. Sep 21, 2011
    • Konstantin Osipov's avatar
      Lua: rework index iterators. · 350e04ca
      Konstantin Osipov authored
      Simplify index_tree_el_compare
      Make iterators usable regardless of index type.
      Add coverage.
      
      Add more tests.
      
      In iterators over tree indexes, check
      that key type matches field type.
      Add tests for non-unique multipart keys.
      
      Update output of the python test library
      to not print extra trailing '\0' at the
      end of error message. Update test results.
      350e04ca
  19. Sep 20, 2011
  20. Sep 15, 2011
  21. Sep 02, 2011
  22. Aug 25, 2011
    • Konstantin Osipov's avatar
      Lua: mature the implementation CALL command in the binary protocol. · 58f5c07e
      Konstantin Osipov authored
      Fix a bug when Lua transaction was rolled back
      twice when Lua procedure was invoked from CALL.
      
      Change the way arguments to and from CALL
      statement in the binary protocol are passed:
      we used to pass everything from the wire as a single
      binary blob. Now every field of the received
      tuple is passed in as a separate string argument.
      
      Everything passed back from Lua is converted to a tuple. This
      makes CALL response similar to one of SELECT.
      
      Improve box.pack() to convert its argument to integer when
      necessary. Add an argument count check to box.pack().
      Additionally, now box.pack() can be used to pack
      operations of 'UPDATE'.
      
      Use tarantool_lua_tostring() in iov_add_ret():
      this function is now used to convert return values to
      the binary protocol in box_lua.m. This is necessary
      if we try to send boolean or nil over the
      binary wire, since Lua C API lua_tostring()
      does not convert them.
      
      Add box.lua - a system Lua script
      compiled into Tarantool and containing a bunch
      of Lua code preloaded at startup.
      
      Populate box.lua with implementation
      of basic Lua functions:
      box.select(), box.update(), box.replace(),
      box.insert() (currently an alias for box.replace()),
      box.delete(). They are all wrappers around box.process().
      
      Move box_lua_init() to the beginning of mod_init(),
      since Lua in future can be used in recover().
      
      Fix a wrong assumption about the contents
      of Lua stack in iov_add_multret().
      
      Update sql.g Python SQL grammar to allow
      an empty argumeent list for procedure in CALL
      statement.
      
      Add initial documentation on Lua procedures.
      
      Add more Lua tests.
      
      Unrelated: rename INSERT to REPLACE, and UPDATE_FIELDS to
      UPDATE.
      Remove SELECT_LIMIT, which is not used any more.
      58f5c07e
  23. Jul 07, 2011
  24. May 19, 2011
  25. Mar 07, 2011
    • Konstantin Osipov's avatar
      Test-runner: extend the grammar to cover Bug#729758 · 7aa6cc8a
      Konstantin Osipov authored
      Allow disjunctions in SELECT WHERE clause and LIMIT
      clause in SELECT, to be able to cover the problem
      reported in Bug#729758.
      
      Fix a bug with prepare_gdb arguments (remove an extra
      space in -e option).
      
      Add a simple test for Bug#729758.
      
      The following bugs were reported in the process:
      
      Bug#729789 "Zero limit is treated the same as no limit"
      Bug#730593 "Bad data if incomplete tuple"
      Bug#730613 "SELECT with a disjunction on multiple keys returns
      matching tuples twice"
      7aa6cc8a
  26. Feb 28, 2011
    • Konstantin Osipov's avatar
      Some initial fixed to compile on FreeBSD. · a6c1f381
      Konstantin Osipov authored
      Implement a number of simple fixes to compile on FreeBSD:
      - work correctly with a GCC version that doesn't have
        -Wno-unused-result
      - compile even if not GNU libc
      - tee doesn't have '--append' option on FreeBSD, use
        the short version ('-a').
      - fix a typo in log_io.c, ENOENT, not ENONET.
      a6c1f381
  27. Feb 21, 2011
  28. Dec 06, 2010
Loading