mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -8945,7 +8945,7 @@ int Field_geom::store(const char *from, size_t length, CHARSET_INFO *cs)
|
||||
(uint32) geom_type != wkb_type)
|
||||
{
|
||||
const char *db= table->s->db.str;
|
||||
const char *tab_name= table->s->error_table_name();
|
||||
const char *tab_name= table->s->table_name.str;
|
||||
|
||||
if (!db)
|
||||
db= "";
|
||||
@ -11251,7 +11251,7 @@ void Field::set_warning_truncated_wrong_value(const char *type_arg,
|
||||
{
|
||||
THD *thd= get_thd();
|
||||
const char *db_name= table->s->db.str;
|
||||
const char *table_name= table->s->error_table_name();
|
||||
const char *table_name= table->s->table_name.str;
|
||||
|
||||
if (!db_name)
|
||||
db_name= "";
|
||||
|
Reference in New Issue
Block a user