Merge xiphis.org:/var/db/bk/work-acurtis/bug6776.1
into xiphis.org:/var/db/bk/work-acurtis/bug6776.2 BitKeeper/etc/logging_ok: auto-union sql/sql_udf.cc: Auto merged
This commit is contained in:
commit
2054223668
@ -9,6 +9,7 @@ Sinisa@sinisa.nasamreza.org
|
|||||||
WAX@sergbook.mysql.com
|
WAX@sergbook.mysql.com
|
||||||
acurtis@ltantony.rdg.cyberkinetica.homeunix.net
|
acurtis@ltantony.rdg.cyberkinetica.homeunix.net
|
||||||
acurtis@pcgem.rdg.cyberkinetica.com
|
acurtis@pcgem.rdg.cyberkinetica.com
|
||||||
|
acurtis@xiphis.org
|
||||||
administrador@light.hegel.local
|
administrador@light.hegel.local
|
||||||
ahlentz@co3064164-a.rochd1.qld.optusnet.com.au
|
ahlentz@co3064164-a.rochd1.qld.optusnet.com.au
|
||||||
akishkin@work.mysql.com
|
akishkin@work.mysql.com
|
||||||
|
@ -525,8 +525,11 @@ int mysql_drop_function(THD *thd,const LEX_STRING *udf_name)
|
|||||||
tables.table_name= tables.alias= (char*) "func";
|
tables.table_name= tables.alias= (char*) "func";
|
||||||
if (!(table = open_ltable(thd,&tables,TL_WRITE)))
|
if (!(table = open_ltable(thd,&tables,TL_WRITE)))
|
||||||
goto err;
|
goto err;
|
||||||
if (!table->file->index_read_idx(table->record[0],0,(byte*) udf_name->str,
|
table->field[0]->store(udf_name->str, udf_name->length, system_charset_info);
|
||||||
(uint) udf_name->length,
|
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,
|
||||||
HA_READ_KEY_EXACT))
|
HA_READ_KEY_EXACT))
|
||||||
{
|
{
|
||||||
int error;
|
int error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user