~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/catalog.h

  • Committer: Brian Aker
  • Date: 2010-10-21 08:55:44 UTC
  • mto: (1866.1.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1867.
  • Revision ID: brian@tangent.org-20101021085544-chpce06zm4tdaqdi
This creates a function for seeing which catalog you are in. It also
refactors some of the functions to be in the utility_function collect.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
 
21
 
#ifndef PLUGIN_UTIL_FUNCTIONS_CATALOG_H
22
 
#define PLUGIN_UTIL_FUNCTIONS_CATALOG_H
 
21
#ifndef PLUGIN_UTILITY_FUNCTIONS_CATALOG_H
 
22
#define PLUGIN_UTILITY_FUNCTIONS_CATALOG_H
23
23
 
24
24
#include <drizzled/function/str/strfunc.h>
25
25
 
26
26
namespace drizzled
27
27
{
28
28
 
29
 
namespace util_function
 
29
namespace utility_functions
30
30
{
31
31
 
32
32
class Catalog :public Item_str_func
43
43
  const char *fully_qualified_func_name() const { return "catalog()"; }
44
44
};
45
45
 
46
 
} /* namespace util_function */
 
46
} /* namespace utility_functions */
47
47
} /* namespace drizzled */
48
48
 
49
 
#endif /* PLUGIN_UTIL_FUNCTIONS_CATALOG_H */
 
49
#endif /* PLUGIN_UTILITY_FUNCTIONS_CATALOG_H */