- Sep 20, 2017
-
-
Vladimir Davydov authored
In contrast to PostgreSQL, this method doesn't make sense in Tarantool, because we don't have sessions.
-
- Sep 19, 2017
-
-
Vladimir Davydov authored
This patch implements a new object type, persistent sequences. Sequences are created with function box.schema.sequence.create(name, options). Options include min/max, start value, increment, cache size, just like in Postgresql, although 'cache' is ignored for now. All sequences can be accessed via box.sequence.<name>, similarly to spaces. To generate a sequence value, use seq:next() method. To retrieve the last generated value, use seq:get(). A sequence value can also be reset to the start value or to any other value using seq:reset() and seq:set() methods. Needed for #389
-
Vladimir Davydov authored
Currently, it is done by space_cache_replace/delete which violates incapsulation. Let's introduce a trigger that is fired after a change in a space definition is committed and use it to propagate changes to Lua. Patch by @kostja.
-
lenkis authored
-
Vladimir Davydov authored
-
- Sep 18, 2017
-
-
Konstantin Osipov authored
Implement a helper function to swap space triggers. Patch by @locker.
-
Georgy Kirichenko authored
Speed up zstd as much as possible.
-
Georgy Kirichenko authored
Update zstd submodule to v1.3.1 version.
-
Georgy Kirichenko authored
Needed to implement SMTP client on the top of libcurl. See #2704
-
Vladimir Davydov authored
We can't call initial() from 1.7.6+ because of the space format checks. Port initial_1_7_5() from 1.8 and use it to boostrap.
-
Vladislav Shpilevoy authored
Coverity Scan has found a possible bug in a CSV parser - dereferencing of a null pointer. But it is not possible. Lets explain: According to Coverity, the null dereference is in CSV_IN_QUOTES processing in csv_parse_impl. But bufp (nullified pointer) can be set to null only in two cases: CSV_NEWFIELD and CSV_OUT_OF_QUOTES. In a case of CSV_NEWFIELD the parser sets the state to CSV_LEADING_SPACES and on a next iteration it sets bufp to not null. In a case of CSV_OUT_OF_QUOTES the parser can nullify bufp only if is_end_of_line was true at the end of 'out_of_quotes' processing. But it means, that is_end_of_line was true at the beginning of processing too, because CSV_OUT_OF_QUOTES does not modify it. And at the beggining, if is_end_of_line was true, then the state is set to CSV_LEADING_SPACES. And on a next iteration bufp are set to not null. Closes #2692
-
Roman Tsisyk authored
-
Vladislav Shpilevoy authored
Closes #2754
-
Vladislav Shpilevoy authored
Needed for #2754
-
Vladislav Shpilevoy authored
-
Roman Tsisyk authored
-
- Sep 15, 2017
-
-
Vladislav Shpilevoy authored
sc_space_new return value always is unused. Make sc_space_new return void.
-
Vladislav Shpilevoy authored
Needed for #2754
-
Vladislav Shpilevoy authored
Version is needed in #2754 to ignore space format, if schema version < 1.7.6.
-
Roman Tsisyk authored
Needed for #2754
-
Vladislav Shpilevoy authored
Needed to get format fields during alter in #2754
-
Roman Tsisyk authored
No semantic changes. Needed for #2754
-
Roman Tsisyk authored
Needed for #2754
-
Roman Tsisyk authored
Needed for #2754
-
Vladislav Shpilevoy authored
Needed for #2754
-
Roman Tsisyk authored
Minor renames
-
Vladislav Shpilevoy authored
-
Roman Tsisyk authored
-
Roman Tsisyk authored
-
Roman Tsisyk authored
Travis images are broken by design.
-
Roman Tsisyk authored
-
Roman Tsisyk authored
Closes #2069
-
Roman Tsisyk authored
-
Roman Tsisyk authored
Ubuntu Trusty on Travis is buggy. Fixes #2752
-
- Sep 14, 2017
-
-
Konstantin Osipov authored
-
Vladislav Shpilevoy authored
Needed for #946
-
Roman Tsisyk authored
-
Vladimir Davydov authored
If the iterator over a merge source was restored to a newer version of the min key, we must not increment front_id, otherwise the source won't be advanced on the next iteration, potentially resulting in the same key returned twice by vy_merge_iterator_next_key(). In the long run, this is likely to break the cache. Fix this and add an assert() checking that it never happens. While we are at it, remove loop from vy_read_iterator_merge_next_key() that checks that the statement returned by vy_merge_iterator_next_key() isn't the same as the statement returned to the user last time. The loop condition should never evaluate to true, which is assured by the new assert(). Fixes: 61ffe793 ("vinyl: fix read iterator restoration to a newer version of the same key").
-
- Sep 13, 2017
-
-
Vladislav Shpilevoy authored
Throw error, if a new name for a fiber in Lua is too long. Closes #2622
-
Georgy Kirichenko authored
In case of an aggressive optimization coro_unwcontext might be inlined, so it's should be good to add rax/eax to asm clobber list.
-