Skip to content
Snippets Groups Projects
  1. Aug 09, 2022
    • Denis Smirnov's avatar
      feat: get rid of the decimal symbols in sbroad · f23bcd2c
      Denis Smirnov authored
      Thanks to the updates in tarantool module we don't use tarantool
      symbols to work with decimal. As a bonus we can remove our mocking
      framework with dynamic linking of the decNumber library to cargo
      test binary.
      f23bcd2c
  2. Jun 21, 2022
  3. Jun 14, 2022
    • Denis Smirnov's avatar
      feat: implement new numeric types in IR · ecfd76c0
      Denis Smirnov authored
      We migrate from the `decimal` crate (used decQuad from decNumber
      to store the numbers) to Tarantool internal types provided by the
      Rust module. The reason was to make IR numeric values easy
      serializable to the query parameters (a part of the executor
      refactoring).
      
      The problem with Tarantool internal types is that the internal
      decNumber representation is provided by Tarantool ABI. So we always
      need Tarantool itself to use the types. It is ok for integration
      tests, but for unit tests with `cargo test` it is a problem. As a
      solution we have implemented some mocking infrastructure to build
      a static library based on the Tarantool decNumber, MsgPuck and some
      wrappers over them both to make unit tests work.
      ecfd76c0
Loading