Skip to content
Snippets Groups Projects
  1. Oct 10, 2024
    • Denis Smirnov's avatar
      fix: _sql_query eviction query logic · 585ae0b4
      Denis Smirnov authored and Dmitry Rodionov's avatar Dmitry Rodionov committed
      There was a bug when SQL statistics LRU removed some old query
      from the _sql_query table. The query ref_counter field in unsigned,
      but the code decremented it below zero in the space on eviction.
      That produced an error (fixed).
      585ae0b4
  2. Oct 09, 2024
  3. Oct 07, 2024
  4. Oct 04, 2024
  5. Oct 03, 2024
  6. Oct 02, 2024
  7. Oct 01, 2024
    • Maksim Kaitmazian's avatar
      feat(sql): support IF EXIST and IF NOT EXISTS options · 1a553992
      Maksim Kaitmazian authored
      Note that after this merge request, we no longer validate whether the format
      of the created object matches with the schema. Consequently, we do not
      suppress errors if formats match anymore.
      
      Before:
      ```sql
      CREATE USER u WITH PASSWORD 'Passw0rd'
      1
      CREATE USER u WITH PASSWORD 'Passw0rd'
      0
      CREATE USER u WITH PASSWORD 'DifferentPassw0rd'
      error: user already exists with different auth method
      ```
      
      Now:
      ```sql
      CREATE USER u WITH PASSWORD 'Passw0rd'
      1
      CREATE USER u WITH PASSWORD 'Passw0rd'
      error: user u already exists
      CREATE USER u WITH PASSWORD 'DifferentPassw0rd'
      error: user u already exists
      CREATE USER IF NOT EXISTS u WITH PASSWORD 'DifferentPassw0rd'
      0
      ```
      1a553992
    • Arseniy Volynets's avatar
      8d0f19e6
  8. Sep 30, 2024
  9. Sep 27, 2024
  10. Sep 26, 2024
  11. Sep 25, 2024
  12. Sep 24, 2024
Loading