1. 30 Sep, 2024 4 commits
    • Sergei Golubchik's avatar
      MDEV-35042 Vector indexes are allowed for MERGE tables, but do not · e5b48fae
      Sergei Golubchik authored
      disallow hlindexes in MERGE - because we cannot create the secondary
      table *in the same engine*
      e5b48fae
    • Sergei Golubchik's avatar
      MDEV-35044 ALTER on a table with vector index attempts to bypass unsupported... · 6e56a2ce
      Sergei Golubchik authored
      MDEV-35044 ALTER on a table with vector index attempts to bypass unsupported locking limitation, server crashes in THD::free_tmp_table_share
      
      open secondary tables early enough for the cleanup on error to see
      them and remove their underlying files
      6e56a2ce
    • Sergei Golubchik's avatar
      MDEV-35043 Unsuitable error upon an attempt to create MEMORY table with vector key · 39414dbc
      Sergei Golubchik authored
      MEMORY engine doesn't support blobs
      39414dbc
    • Sergei Golubchik's avatar
      MDEV-35032 streaming mode for mhnsw search · a39970cf
      Sergei Golubchik authored
      support SQL semantics for SELECT ... WHERE ... ORDER BY ... LIMIT
      
      * switch from returning k nearest neighbors to returning
        as many as needed, in k-neighbor chunks, with increasing distance
      * make search_layer() skips nodes that are closer than a threshold
      * read_next keeps a search context - list of k found nodes,
        threshold, ctx, etc.
      * when the list of found nodes is exhausted, it repeats the search
        starting from last found nodes and a threshold
      * search context kepts ctx->refcount incremented, so ctx won't go away
      * but commit_lock is unlocked between calls, so InnoDB can modify the table
      * use ctx version to detect that, switch to MHNSW_Trx when it happens
      
      bugfix:
      * use the correct lock in ha_external_lock() for the graph table
      * InnoDB didn't reset locks on ha_external_lock(F_UNLCK) and previous
        LOCK_X leaked into the next statement
      a39970cf
  2. 29 Sep, 2024 31 commits
  3. 26 Sep, 2024 5 commits