mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge remote-tracking branch 'mysql/5.5' into bb-5.5-merge @ mysql-5.5.42
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2000, 2010, Oracle and/or its affiliates.
|
||||
Copyright (c) 2000, 2014, Oracle and/or its affiliates.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -296,9 +296,12 @@ char *metaphon(UDF_INIT *initid __attribute__((unused)),
|
||||
|
||||
if (!word) /* Null argument */
|
||||
{
|
||||
/* The length is expected to be zero when the argument is NULL. */
|
||||
assert(args->lengths[0] == 0);
|
||||
*is_null=1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
w_end=word+args->lengths[0];
|
||||
org_result=result;
|
||||
|
||||
|
Reference in New Issue
Block a user