~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Brian Aker
  • Date: 2011-02-12 10:06:03 UTC
  • mfrom: (2154.2.16 drizzle-build)
  • Revision ID: brian@tangent.org-20110212100603-i5ww0s02p8l4a8q7
Merge in solaris tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
/* Function with list databases, tables or fields */
23
23
#include "config.h"
24
 
#include <drizzled/sql_select.h>
25
 
#include <drizzled/show.h>
26
 
#include <drizzled/gettext.h>
27
 
#include <drizzled/util/convert.h>
28
 
#include <drizzled/error.h>
29
 
#include <drizzled/tztime.h>
30
 
#include <drizzled/data_home.h>
31
 
#include <drizzled/item/blob.h>
32
 
#include <drizzled/item/cmpfunc.h>
33
 
#include <drizzled/item/return_int.h>
34
 
#include <drizzled/item/empty_string.h>
35
 
#include <drizzled/item/return_date_time.h>
36
 
#include <drizzled/sql_base.h>
37
 
#include <drizzled/db.h>
38
 
#include <drizzled/field/epoch.h>
39
 
#include <drizzled/field/decimal.h>
40
 
#include <drizzled/lock.h>
41
 
#include <drizzled/item/return_date_time.h>
42
 
#include <drizzled/item/empty_string.h>
43
 
#include "drizzled/session/cache.h"
44
 
#include <drizzled/message/schema.pb.h>
45
 
#include <drizzled/plugin/client.h>
46
 
#include <drizzled/cached_directory.h>
47
 
#include "drizzled/sql_table.h"
48
 
#include "drizzled/global_charset_info.h"
49
 
#include "drizzled/pthread_globals.h"
50
 
#include "drizzled/internal/m_string.h"
 
24
 
 
25
#include "drizzled/data_home.h"
 
26
#include "drizzled/error.h"
51
27
#include "drizzled/internal/my_sys.h"
52
 
#include "drizzled/message/statement_transform.h"
 
28
#include "drizzled/plugin/storage_engine.h"
 
29
#include "drizzled/session.h"
 
30
#include "drizzled/show.h"
 
31
#include "drizzled/sql_select.h"
53
32
 
54
33
#include "drizzled/statement/show.h"
55
34
#include "drizzled/statement/show_errors.h"
75
54
  return str ? str : "<nil>";
76
55
}
77
56
 
78
 
int wild_case_compare(const CHARSET_INFO * const cs, const char *str, const char *wildstr)
 
57
int wild_case_compare(const charset_info_st * const cs, const char *str, const char *wildstr)
79
58
{
80
59
  register int flag;
81
60