mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
Fix small bug in udf_example.cc, it was processing one char too much and thus returning junk
Add more DBUG_PRINT's in udf_handler::val_str Enable udf.test
This commit is contained in:
@@ -344,7 +344,7 @@ char *metaphon(UDF_INIT *initid, UDF_ARGS *args, char *result,
|
||||
KSflag = 0; /* state flag for KS translation */
|
||||
|
||||
for (metaph_end = result + MAXMETAPH, n_start = n;
|
||||
n <= n_end && result < metaph_end; n++ )
|
||||
n < n_end && result < metaph_end; n++ )
|
||||
{
|
||||
|
||||
if ( KSflag )
|
||||
|
Reference in New Issue
Block a user