Skip to content
Snippets Groups Projects
  1. Jul 01, 2024
    • Denis Smirnov's avatar
      refactor!: change exported C API for SQL · 8497cb3b
      Denis Smirnov authored
      BREAKING CHANGE!:
      1. sql_bind_list_decode - removed
      2. sql_execute_prepared_ext - new arguments
      3. sql_prepare_and_execute_ext - exported
      
      There were several reasons to refactor the API.
      1. sql_bind_list_decode (decodes message pack parameters into
         internal C bind structure) is very difficult to use without
         memory leaks (as it allocates results on fiber()->gc).
      2. sql_execute_prepared_ext missed vdbe step limit in parameters
         and used the default value.
      3. Sometimes SQL queries don't fit into prepared statement cache
         and the user still wants to execute them via a slow pass with
         full compilations from the query text. That was the reason to
         export sql_prepare_and_execute_ext symbol.
      
      NO_DOC=internal
      NO_TEST=internal
      NO_CHANGELOG=internal
      8497cb3b
  2. May 31, 2024
  3. May 23, 2024
    • Dmitry Ivanov's avatar
      fix(sql): remove dead code from sql_trigger_begin · a021afc3
      Dmitry Ivanov authored
      NO_DOC=internal
      NO_TEST=internal
      NO_CHANGELOG=internal
      
      The following commit introduced a tautological if expression:
      
      ```gitcommit
      sql: introduce structs assembling DDL arguments during parsing (ba56b145fafaa3)
      ```
      
      Due to the changes in commit
      
      ```gitcommit
      sql: refactor memory allocation system (cb777136dd7a0c)
      ```
      
      the allocations in sql expressions became infallible, which means
      that we may safely fix static analysis warnings by dropping the
      tautological comparison altogether.
      
      Original patch by Feodor Alexandrov.
      a021afc3
  4. May 17, 2024
  5. May 15, 2024
    • Dmitry Ivanov's avatar
      fix(build): add missing headers to libsasl · 3b437079
      Dmitry Ivanov authored
      NO_DOC=internal
      NO_TEST=internal
      NO_CHANGELOG=internal
      
      This patch fixes the following problem at build time:
      
      cyrus-sasl-2.1.28/lib/saslutil.c:280:3: error: implicit declaration of function 'time' [-Wimplicit-function-declaration]
      280 |   time(&now);
          |   ^~~~
      cyrus-sasl-2.1.28/lib/saslutil.c:66:1: note: 'time' is defined in header '<time.h>'; this is probably fixable by adding '#include <time.h>'
       65 | #include "saslint.h"
      +++ |+#include <time.h>
       66 | #include <saslutil.h>
      cyrus-sasl-2.1.28/lib/saslutil.c: In function 'getranddata':
      cyrus-sasl-2.1.28/lib/saslutil.c:364:41: error: implicit declaration of function 'clock' [-Wimplicit-function-declaration]
      364 |             ret[1] ^= (unsigned short) (clock() & 0xFFFF);
          |                                         ^~~~~
      cyrus-sasl-2.1.28/lib/saslutil.c:364:41: note: 'clock' is defined in header '<time.h>'; this is probably fixable by adding '#include <time.h>'
      cyrus-sasl-2.1.28/lib/saslutil.c: In function 'get_fqhostname':
      cyrus-sasl-2.1.28/lib/saslutil.c:563:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
      563 |         || strlen (result->ai_canonname) > namelen -1) {
          |                                          ^
      make[9]: *** [Makefile:643: saslutil.lo] Error 1
      3b437079
    • Dmitry Ivanov's avatar
      fix(build): update libldap to 2.6.7 (mostly to satisfy gcc 14) · 4b543f25
      Dmitry Ivanov authored
      NO_DOC=internal
      NO_TEST=internal
      NO_CHANGELOG=internal
      
      This patch fixes the following problem at build time:
      
      checking for regex.h... yes
      checking for library containing regfree... none required
      checking for compatible POSIX regex... no
      configure: error: broken POSIX regex!
      4b543f25
  6. May 03, 2024
  7. Apr 12, 2024
  8. Apr 10, 2024
  9. Apr 02, 2024
  10. Apr 01, 2024
  11. Mar 28, 2024
  12. Mar 25, 2024
  13. Mar 21, 2024
  14. Mar 20, 2024
  15. Mar 15, 2024
  16. Mar 14, 2024
    • Georgy Moshkin's avatar
      fix: assertion failure in DEBUG builds · c26cb742
      Georgy Moshkin authored
      NO_DOC=bug fix
      NO_TEST=bug fix
      NO_CHANGELOG=bug fix
    • godzie44's avatar
      feat: IPROTO traffic encryption · 42654e2e
      godzie44 authored
      Add new transport for IPROTO connections: ssl.
      SSL transport may be configured with (at client and server side):
      - certificate (mandatory at server side)
      - private key (mandatory at server side)
      - password for PK
      - certificate authorities (for peer certificate verification)
      - cipher list
      
      SSL transport also can be used in replication and net.box mechanisms.
      
      @TarantoolBot document
      Title: add IPROTO traffic encryption.
      
      New ssl transport allows
      creating a secure connection between two IPROTO peers.
      TLS protocol using and openssl v1.1 or later required.
      
      To configure traffic encryption, you need to set the
      special URI parameters for a particular connection.
      The parameters can be set for the following box.cfg
      options and nex.box method:
      - box.cfg.listen – on the server side.
      - box.cfg.replication–on the client side.
      - net_box_object.connect()–on the client side.
      42654e2e
  17. Mar 13, 2024
  18. Mar 07, 2024
  19. Mar 06, 2024
  20. Mar 01, 2024
  21. Feb 28, 2024
  22. Feb 22, 2024
  23. Feb 01, 2024
  24. Jan 30, 2024
  25. Jan 29, 2024
    • Denis Smirnov's avatar
      feat: reserve function id range · 43cdcf7f
      Denis Smirnov authored
      Current commit is a part of the SQL procedures track for Picodata.
      It introduces several features:
      - the reserved id range in the _func space, that can be only consumed
        implicitly;
      - an additional "id" option for function creation with Lua (to set
        the function identifier implicitly);
      - helper function to generate function ids either in reserved or default
        ranges
      
      NO_DOC=internal
      NO_CHANGELOG=internal
  26. Jan 24, 2024
  27. Jan 23, 2024
    • Feodor Alexandrov's avatar
      feat: export xlog_remove_file_impl · cbd79b11
      Feodor Alexandrov authored
      NO_DOC=picodata internal patch
      NO_CHANGELOG=picodata internal patch
      NO_TEST=picodata internal patch
      cbd79b11
    • Vladimir Davydov's avatar
      xlog: introduce xlog_remove_file function for removing xlog files · 16668598
      Vladimir Davydov authored
      This commit introduces the xlog_remove_file() function that removes
      a file by name and logs the error on failure. We use this function
      everywhere we delete xlog files so that there's a single place where we
      call unlink(). We also factor out the core functionality to a callback
      function that can be overridden. This will help us implement thorough
      file deletion.
      
      Needed for tarantool/tarantool-ee#540
      
      Cherry-picked from d139f245
      
      NO_DOC=refactoring
      NO_TEST=refactoring
      NO_CHANGELOG=refactoring
      16668598
Loading