Replace macro "functions" with real inline template functions

Registered by Monty Taylor on 2008-10-21

There are many, many, many function-like macros defined all over the code. These aren't type safe, and are harder to debug. They should all be replaced with either regular functions, or with static inline template functions, depending on what's sensible.

Blueprint information

Status:
Started
Approver:
None
Priority:
Medium
Drafter:
Monty Taylor
Direction:
Approved
Assignee:
Gustaf Thorslund
Definition:
Approved
Series goal:
Accepted for 7.2
Implementation:
Slow progress
Milestone target:
None
Started by
Monty Taylor on 2010-08-21

Whiteboard

client/drizzle.cc: TODO
[gthorslund] drizzled/algorithm/sha1.cc: INPROGRESS
[gthorslund] drizzled/base.h: DONE
[gthorslund] drizzled/calendar.h: DONE
[gthorslund] drizzled/calendar.cc: DONE
[gthorslund] drizzled/charset_info.h: DONE
[gthorslund] drizzled/check_stack_overrun.cc: DONE
[olafvdspek] drizzled/common.h: TODO
[gthorslund] drizzled/ctype-mb.cc: DONE
[gthorslund] drizzled/ctype-simple.cc: DONE
[olafvdspek] drizzled/current_session.h: TODO
[gthorslund] drizzled/decimal.cc: DONE
[gthorslund] drizzled/decimal.h: DONE
[gthorslund] drizzled/definitions.h: DONE
drizzled/internal/mf_qsort.cc: TODO
drizzled/internal/my_sys.h: TODO
[olafvdspek] drizzled/internal/ptr_cmp.cc: n/a
drizzled/internal/t_ctype.h: TODO
drizzled/korr.h: TODO
[gthorslund] drizzled/sql_load.cc: INPROGRESS
[gthorslund] drizzled/thr_lock.cc: INPROGRESS
[gthorslund] drizzled/thr_lock.h: INPROGRESS
[gthorslund] drizzled/tree.cc: INPROGRESS
[gthorslund] drizzled/tree.h: INPROGRESS
[sinha]plugin/memory/heap_priv.h: TODO
plugin/memory/hp_create.cc: TODO
plugin/memory/hp_record.cc: TODO
plugin/myisam/: TODO

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.