Bug #45192 Consolidate helper functions/macros in MySQL Proxy
Submitted: 29 May 2009 12:28
Reporter: Kay Roepke Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Proxy: Core Severity:S4 (Feature request)
Version:0.7.1, 0.8 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: proxy, refactoring

[29 May 2009 12:28] Kay Roepke
Description:
https://blueprints.launchpad.net/mysql-proxy/+spec/common-header-consolidation

MySQL Proxy uses a couple of convenience macros and functions that aren't available with a single #include directive.
Examples of these are the C() and S() macros, extended logging macros, glib-ext.h functions and certain lua extensions (although the lua ones must be separate to avoid tying everything together).
In client code, it should be as simple as including a single header file, to avoid having multiple copies of these macros around - right now there's a fair amount of "local" defines to achieve the same thing.

The person working on this feature should also update the Launchpad blueprint to reflect the status.

How to repeat:
n/a

Suggested fix:
see description