1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix typos in Bug#6776

This commit is contained in:
acurtis@xiphis.org
2005-04-09 00:21:51 +01:00
parent e82edda6c6
commit 0998ec4264

View File

@ -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;