summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-08-24 14:49:04 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2002-08-24 14:49:04 +0300
commit7f13b1bdd59e798af7477f4eda46ce249c4b5c4e (patch)
tree4d409fd73ae891c66dbcf263464ce85138312dac /sql/sql_handler.cc
parent029dc2b3757b0cb2ea8f5596780dd947320d6a3b (diff)
downloadmariadb-git-7f13b1bdd59e798af7477f4eda46ce249c4b5c4e.tar.gz
Adding a necessary functionality to ::store and ::save_in_field
that will take place properly after pull from 4.0, in order to handle conversions from quoted constants to bigint's.
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index a98012653b3..3668a817165 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -179,7 +179,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
Item *item;
for (key_len=0 ; (item=it_ke++) ; key_part++)
{
- item->save_in_field(key_part->field);
+ (void) item->save_in_field(key_part->field);
key_len+=key_part->store_length;
}
if (!(key= (byte*) sql_calloc(ALIGN_SIZE(key_len))))