1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed memory reference errors found by valgrind

This commit is contained in:
monty@mysql.com
2005-01-12 03:38:53 +02:00
parent 10f41d7cc4
commit 314cf993c6
15 changed files with 90 additions and 39 deletions

View File

@ -31,7 +31,7 @@ static bool safe_update_on_fly(JOIN_TAB *join_tab, List<Item> *fields);
static bool compare_record(TABLE *table, ulong query_id)
{
if (!table->s->blob_fields)
if (table->s->blob_fields + table->s->varchar_fields == 0)
return cmp_record(table,record[1]);
/* Compare null bits */
if (memcmp(table->null_flags,