~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_time.h

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
  return true;
130
130
}
131
131
 
132
 
my_time_t 
 
132
my_time_t
133
133
my_system_gmt_sec(const DRIZZLE_TIME *t, long *my_timezone,
134
134
                  bool *in_dst_time_gap);
135
135
 
150
150
int my_datetime_to_str(const DRIZZLE_TIME *l_time, char *to);
151
151
int my_TIME_to_str(const DRIZZLE_TIME *l_time, char *to);
152
152
 
153
 
/* 
 
153
/*
154
154
  Available interval types used in any statement.
155
155
 
156
156
  'interval_type' must be sorted so that simple intervals comes first,
157
157
  ie year, quarter, month, week, day, hour, etc. The order based on
158
158
  interval size is also important and the intervals should be kept in a
159
159
  large to smaller order. (get_interval_value() depends on this)
160
 
 
161
 
  Note: If you change the order of elements in this enum you should fix 
162
 
  order of elements in 'interval_type_to_name' and 'interval_names' 
163
 
  arrays 
164
 
  
 
160
 
 
161
  Note: If you change the order of elements in this enum you should fix
 
162
  order of elements in 'interval_type_to_name' and 'interval_names'
 
163
  arrays
 
164
 
165
165
  See also interval_type_to_name, get_interval_value, interval_names
166
166
*/
167
167