Skip to content
Snippets Groups Projects
  1. Aug 12, 2022
  2. Aug 09, 2022
  3. Aug 02, 2022
    • Denis Smirnov's avatar
      feat: migrate to dynamic linking for unit tests · e950ebc5
      Denis Smirnov authored
      Previously, we created a static archives of the msgpuck and decNumber
      libraries and made a statically linked them into the test executable.
      After tarrantool module migrated to dlsym, we can no longer use static
      linking.
      
      As a result we build shared libraries for msgpuck and decNumber to
      dynamic link them into the unit test binary.
      e950ebc5
  4. Jul 28, 2022
  5. Jul 15, 2022
  6. Jun 21, 2022
  7. 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.
      Verified
      ecfd76c0
  8. Apr 26, 2022
  9. Apr 14, 2022
  10. Mar 25, 2022
  11. Feb 07, 2022
  12. Dec 09, 2021
  13. Nov 23, 2021
  14. Nov 11, 2021
  15. Oct 29, 2021
Loading