1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

mhnsw: build indexes with the columns of exactly right size

This commit is contained in:
Sergei Golubchik
2024-06-07 13:50:13 +02:00
parent 1029d2f245
commit 613542dceb
10 changed files with 33 additions and 20 deletions

View File

@@ -9860,8 +9860,9 @@ int TABLE::hlindex_open(uint nr)
path, false);
share->db_plugin= s->db_plugin;
LEX_CSTRING sql= mhnsw_hlindex_table_def(in_use, file->ref_length);
if (share->init_from_sql_statement_string(in_use, false,
mhnsw_hlindex_table.str, mhnsw_hlindex_table.length))
sql.str, sql.length))
{
free_table_share(share);
return 1;