~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/server_includes.h

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
               bool part_match);
70
70
uint32_t find_type2(const TYPELIB *lib, const char *find, uint32_t length,
71
71
                const CHARSET_INFO *cs);
72
 
void unhex_type2(TYPELIB *lib);
73
 
uint32_t check_word(TYPELIB *lib, const char *val, const char *end,
74
 
                const char **end_of_word);
75
 
int find_string_in_array(LEX_STRING * const haystack, LEX_STRING * const needle,
76
 
                         const CHARSET_INFO * const cs);
77
72
 
78
73
/*
79
74
  External variables
139
134
extern std::vector<Session *> session_list;
140
135
extern String my_empty_string;
141
136
extern const String my_null_string;
142
 
extern SHOW_VAR status_vars[];
143
137
extern struct system_variables max_system_variables;
144
138
extern struct system_status_var global_status_var;
145
139
 
173
167
enum enum_drizzle_timestamp_type str_to_datetime_with_warn(const char *str, uint32_t length,
174
168
                                         DRIZZLE_TIME *l_time, uint32_t flags);
175
169
void localtime_to_TIME(DRIZZLE_TIME *to, struct tm *from);
176
 
void calc_time_from_sec(DRIZZLE_TIME *to, long seconds, long microseconds);
177
170
 
178
171
void make_truncated_value_warning(Session *session, DRIZZLE_ERROR::enum_warning_level level,
179
172
                                  const char *str_val,
183
176
bool calc_time_diff(DRIZZLE_TIME *l_time1, DRIZZLE_TIME *l_time2, int l_sign,
184
177
                    int64_t *seconds_out, long *microseconds_out);
185
178
 
186
 
extern LEX_STRING interval_type_to_name[];
187
 
 
188
179
void make_datetime(const DRIZZLE_TIME *l_time, String *str);
189
180
void make_date(const DRIZZLE_TIME *l_time, String *str);
190
 
void make_time(const DRIZZLE_TIME *l_time, String *str);
191
 
int my_time_compare(DRIZZLE_TIME *a, DRIZZLE_TIME *b);
192
181
uint64_t get_datetime_value(Session *session, Item ***item_arg, Item **cache_arg,
193
182
                             Item *warn_item, bool *is_null);
194
183