summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authorunknown <acurtis@xiphis.org>2005-04-09 00:21:51 +0100
committerunknown <acurtis@xiphis.org>2005-04-09 00:21:51 +0100
commit326773bf3591cee687a73cbf1b13d345be6dc130 (patch)
treed12b9a57c17d3a0fd1b9e1624c53ce007c4914fa /sql/sql_udf.cc
parent208cd82e2d492cb3e278a6c4219873c358fb16be (diff)
downloadmariadb-git-326773bf3591cee687a73cbf1b13d345be6dc130.tar.gz
Fix typos in Bug#6776
sql/sql_udf.cc: Fix typos
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r--sql/sql_udf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index 19df1a85565..661bf6e8197 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -526,11 +526,11 @@ int mysql_drop_function(THD *thd,const LEX_STRING *udf_name)
tables.real_name= tables.alias= (char*) "func";
if (!(table = open_ltable(thd,&tables,TL_WRITE)))
goto err;
- table->field[0]->store(udf_name.str, udf_name.length, system_charset_info);
+ table->field[0]->store(udf_name->str, udf_name->length, system_charset_info);
table->file->extra(HA_EXTRA_RETRIEVE_ALL_COLS);
if (!table->file->index_read_idx(table->record[0], 0,
(byte*) table->field[0]->ptr,
- table->key_info[0].key_length
+ table->key_info[0].key_length,
HA_READ_KEY_EXACT))
{
int error;