Skip to content
Snippets Groups Projects
  1. Jun 04, 2024
  2. Jun 03, 2024
  3. May 31, 2024
  4. May 30, 2024
  5. May 29, 2024
  6. May 28, 2024
  7. May 27, 2024
  8. May 24, 2024
  9. May 22, 2024
  10. May 21, 2024
  11. May 20, 2024
    • Dmitry Ivanov's avatar
      fix: rust 1.78 doesn't like references to `static mut` objects · 2952e4bd
      Dmitry Ivanov authored
      This patch fixes a couple of warnings that look like this:
      
      ```
      warning: creating a shared reference to mutable static is discouraged
        --> src/error_injection.rs:23:43
         |
      23 |     let Some(injected_errors) = (unsafe { &INJECTED_ERRORS }) else {
         |                                           ^^^^^^^^^^^^^^^^ shared reference to mutable static
         |
         = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
         = note: this will be a hard error in the 2024 edition
         = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
      help: use `addr_of!` instead to create a raw pointer
         |
      23 |     let Some(injected_errors) = (unsafe { addr_of!(INJECTED_ERRORS) }) else {
         |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~
      ```
      2952e4bd
  12. May 17, 2024
  13. May 16, 2024
    • Maksim Kaitmazian's avatar
      fix(pgproto): non-admin users can't read from query cache · c786dcd2
      Maksim Kaitmazian authored
      This commit fixes that non-admin users can't read queries from the query cache.
      An attempt to read from the cache used to result in the following error:
      sbroad error: failed to get space_def: box error: AccessDenied: Read access to space '_pico_table' is denied for user 'alex3'
      
      Previously, an error would occur when a user ran the same query twice.
      During the first execution, the query was prepared and cached. However,
      on the second execution, the client attempted to retrieve the query from the
      cache and encountered an access denied error.
      c786dcd2
    • Dmitry Ivanov's avatar
  14. May 15, 2024
  15. May 14, 2024
    • Arseniy Volynets's avatar
      fix: panic on non-unique index name · e041d7d1
      Arseniy Volynets authored
      - we didn't check that index name is unique
      in indexes meta table. That led to panics
      when index with same name was created for
      two tables.
      - previous commit set wrong sbroad submodule.
      Set sbroad submodule to correct commit
      e041d7d1
  16. May 08, 2024
Loading