← Back to team overview

maria-developers team mailing list archive

Updated (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:

-=-=(Monty - Wed, 27 May 2009, 15:46)=-=-
High Level Description modified.
--- /tmp/wklog.27.old.10318     2009-05-27 15:46:46.000000000 +0300
+++ /tmp/wklog.27.new.10318     2009-05-27 15:46:46.000000000 +0300
@@ -8,3 +8,5 @@
 - Faster, smaller  code
 - Safer for strings/character sets that contains \0
 - Allows us to change c_ptr() to ptr() in some cases
+
+This is same task as the WL#2894 at MySQL.



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

This is same task as the WL#2894 at MySQL.


ESTIMATED WORK TIME

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