Skip to content
Snippets Groups Projects
  1. Apr 19, 2011
  2. Apr 08, 2011
  3. Apr 07, 2011
  4. Apr 05, 2011
  5. Mar 31, 2011
  6. Mar 23, 2011
  7. Mar 21, 2011
  8. Mar 18, 2011
  9. Mar 17, 2011
  10. Mar 16, 2011
  11. Mar 15, 2011
  12. Mar 14, 2011
    • Konstantin Osipov's avatar
      A fix and a test case for Bug#730593 · ac9d9b6b
      Konstantin Osipov authored
      A fix and a test case for
      https://bugs.launchpad.net/tarantool/+bug/730593
      "Bad data if incomplete tuple"
      
      A partial tuple could get accepted by INSERT
      command, and later on show up in all search results
      on the index for which this partial tuple was missing
      keys.
      
      When inserting into a TREE index Tarantool/Box did not
      validate that the tuple which is being inserted actually
      has fields used in the index, and would insert instead
      an "ASTERISK" (wildcard) value into the index.
      
      Additionally, when such validation was added, it turned
      out that box_raise leaves a corrupt tuple in place
      since txn_abort() doesn't remove the unless it's marked
      as "GHOST", and tuples were marked as "GHOST" after
      index insert, not before.
      ac9d9b6b
Loading