← Back to team overview

maria-developers team mailing list archive

New (by Monty): Change strlen() to LEX_STRING or String (27)

 

-----------------------------------------------------------------------
                              WORKLOG TASK
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
TASK...........: Change strlen() to LEX_STRING or String
CREATION DATE..: Wed, 27 May 2009, 15:45
SUPERVISOR.....: Monty
IMPLEMENTOR....: 
COPIES TO......: 
CATEGORY.......: Server-BackLog
TASK ID........: 27 (http://askmonty.org/worklog/?tid=27)
VERSION........: Server-5.2
STATUS.........: Un-Assigned
PRIORITY.......: 60
WORKED HOURS...: 0
ESTIMATE.......: 100 (hours remain)
ORIG. ESTIMATE.: 100

PROGRESS NOTES:



DESCRIPTION:

Remove all strlen() from MariaDB.

The objects we are using strlen() on should be changed to either LEX_STRING or
String.

Reasons for doing this cleanup:

- Faster, smaller  code
- Safer for strings/character sets that contains \0
- Allows us to change c_ptr() to ptr() in some cases


ESTIMATED WORK TIME

ESTIMATED COMPLETION DATE
-----------------------------------------------------------------------
WorkLog (v3.5.9)