1
0
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:
msvensson@shellback.(none)
2006-04-28 11:37:20 +02:00
parent b1c3801047
commit 53b842866e
3 changed files with 11 additions and 7 deletions

View File

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