mirror of
https://github.com/MariaDB/server.git
synced 2025-06-12 01:53:02 +03:00
handlerton::discover_table_names() can not discover only
"unknown" tables. Duplicates are possible - deal with them.
This commit is contained in:
@ -104,7 +104,7 @@ public:
|
||||
MYF(MY_THREAD_SPECIFIC));
|
||||
}
|
||||
|
||||
Elem& at(int idx)
|
||||
Elem& at(size_t idx)
|
||||
{
|
||||
return *(((Elem*)array.buffer) + idx);
|
||||
}
|
||||
@ -129,11 +129,16 @@ public:
|
||||
return (insert_dynamic(&array, (uchar*)&el));
|
||||
}
|
||||
|
||||
int elements()
|
||||
size_t elements()
|
||||
{
|
||||
return array.elements;
|
||||
}
|
||||
|
||||
void set_elements(size_t n)
|
||||
{
|
||||
array.elements= n;
|
||||
}
|
||||
|
||||
~Dynamic_array()
|
||||
{
|
||||
delete_dynamic(&array);
|
||||
|
Reference in New Issue
Block a user