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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user