diff options
author | ram@gw.mysql.r18.ru <> | 2004-08-12 11:28:39 +0500 |
---|---|---|
committer | ram@gw.mysql.r18.ru <> | 2004-08-12 11:28:39 +0500 |
commit | 74c64904c7e1730d77fe8a525f14aed3ad9df0b5 (patch) | |
tree | 2b92a251db2b20849710d879b0e4ca177ea15a0b /sql/sql_string.h | |
parent | 31c0ecb28ed0b36c662fde95b0c1099ea0b74a31 (diff) | |
download | mariadb-git-74c64904c7e1730d77fe8a525f14aed3ad9df0b5.tar.gz |
A fix (Bug #4878: Service crashes on query execution)
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index 01329c45a98..0179b3ebadc 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -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) |