diff options
author | Michael Widenius <monty@mariadb.org> | 2018-04-12 02:57:19 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-05-07 00:07:33 +0300 |
commit | 062a3176e7d985540e1051a35f15c313c0296b47 (patch) | |
tree | 30cb70f5a9a19bf537e0002d53c475f4991e3e24 /sql/sql_partition.h | |
parent | 70c1110a29a430b26990861cb753843bb00198dc (diff) | |
download | mariadb-git-062a3176e7d985540e1051a35f15c313c0296b47.tar.gz |
Remove mem_alloc_error()
As thd->alloc() and new automatically calls my_error(ER_OUTOFMEORY)
there is no reason to call mem_alloc_error()
Other things:
- Fixed bug in mysql_unpack_partition() where lex.part_info was
changed even if it would be a null pointer
Diffstat (limited to 'sql/sql_partition.h')
-rw-r--r-- | sql/sql_partition.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_partition.h b/sql/sql_partition.h index 4315c84e4f0..170ae8ccee1 100644 --- a/sql/sql_partition.h +++ b/sql/sql_partition.h @@ -133,7 +133,6 @@ Item* convert_charset_partition_constant(Item *item, CHARSET_INFO *cs); @param[in] table Table containing read_set and fields for the row. */ void append_row_to_str(String &str, const uchar *row, TABLE *table); -void mem_alloc_error(size_t size); void truncate_partition_filename(char *path); /* |