mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
MDEV-388 Creating a federated table with a non-existing server returns a random error code
This commit is contained in:
parent
7e4150d7cd
commit
62ab6982a4
4 changed files with 17 additions and 2 deletions
|
|
@ -525,7 +525,7 @@ static int parse_url_error(FEDERATEDX_SHARE *share, TABLE *table, int error_num)
|
|||
buf_len= min(table->s->connect_string.length,
|
||||
FEDERATEDX_QUERY_BUFFER_SIZE-1);
|
||||
strmake(buf, table->s->connect_string.str, buf_len);
|
||||
my_error(error_num, MYF(0), buf);
|
||||
my_error(error_num, MYF(0), buf, 14);
|
||||
DBUG_RETURN(error_num);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue