summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <sanja@montyprogram.com>2014-02-26 15:46:13 +0200
committerunknown <sanja@montyprogram.com>2014-02-26 15:46:13 +0200
commit982607508d865d02ddd87af4aaf7c301c47cbc7e (patch)
treea0caf1674339b234a1c72cc5fdc4c3aedbe485a2 /sql/item_func.h
parent9d918f41d3910ed79bb71fd5405206b3a34c2a4b (diff)
downloadmariadb-git-982607508d865d02ddd87af4aaf7c301c47cbc7e.tar.gz
MDEV-4309: DBT-3 Q1 benchmark: Benchmark + profile a patch
Removed repetative calls of virtual functions. Removed check of posibility just copy field for every record.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 4da5bfa91bb..ffe74684501 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1740,7 +1740,9 @@ public:
{
return save_in_field(field, no_conversions, 1);
}
- void save_org_in_field(Field *field) { (void)save_in_field(field, 1, 0); }
+ void save_org_in_field(Field *field,
+ fast_field_copier data __attribute__ ((__unused__)))
+ { (void)save_in_field(field, 1, 0); }
bool register_field_in_read_map(uchar *arg);
bool register_field_in_bitmap(uchar *arg);
bool set_entry(THD *thd, bool create_if_not_exists);