~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/time_functions.h

  • Committer: Brian Aker
  • Date: 2011-01-25 05:22:22 UTC
  • mto: This revision was merged to the branch mainline in revision 2113.
  • Revision ID: brian@tangent.org-20110125052222-u6acfoc57b92ed57
Merge in create index encap from parser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_TIME_FUNCTIONS_H
21
21
#define DRIZZLED_TIME_FUNCTIONS_H
22
22
 
23
 
#include <drizzled/sql_error.h>
24
 
#include <drizzled/type/time.h>
 
23
#include "drizzled/sql_error.h"
 
24
#include "drizzled/type/time.h"
25
25
 
26
26
namespace drizzled
27
27
{
73
73
  NOTE
74
74
    See description of str_to_datetime() for more information.
75
75
*/
76
 
type::timestamp_t str_to_datetime_with_warn(Session *session,
77
 
                                            const char *str, 
 
76
type::timestamp_t str_to_datetime_with_warn(const char *str, 
78
77
                                            uint32_t length,
79
78
                                            type::Time *l_time, 
80
79
                                            uint32_t flags);
86
85
  NOTE
87
86
    See str_to_time() for more info.
88
87
*/
89
 
bool str_to_time_with_warn(Session *session, const char *str, uint32_t length, type::Time *l_time);
 
88
bool str_to_time_with_warn(const char *str, uint32_t length, type::Time *l_time);
90
89
 
91
90
void make_truncated_value_warning(Session *session, 
92
91
                                  DRIZZLE_ERROR::enum_warning_level level,