1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

A fix (Bug #4878: Service crashes on query execution)

This commit is contained in:
ram@gw.mysql.r18.ru
2004-08-12 11:28:39 +05:00
parent 31c0ecb28e
commit 74c64904c7
4 changed files with 14 additions and 1 deletions

View File

@ -98,6 +98,7 @@ public:
void set(String &str,uint32 offset,uint32 arg_length)
{
DBUG_ASSERT(&str != this);
free();
Ptr=(char*) str.ptr()+offset; str_length=arg_length; alloced=0;
if (str.Alloced_length)