mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
|
||||
Copyright (c) 2016, 2020, MariaDB
|
||||
Copyright (c) 2016, 2021, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -438,8 +438,8 @@ bool String::copy(const char *str, size_t arg_length,
|
||||
{
|
||||
uint32 offset;
|
||||
|
||||
DBUG_ASSERT(!str || str != Ptr);
|
||||
|
||||
DBUG_ASSERT(!str || str != Ptr || !is_alloced());
|
||||
|
||||
if (!needs_conversion(arg_length, from_cs, to_cs, &offset))
|
||||
{
|
||||
*errors= 0;
|
||||
|
Reference in New Issue
Block a user