~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.h

this was the first working build, and these changes make almost all the tests pass

removed unnecessary tests
added [init/deinit]_temporal_formats calls in tests
bug fixes in tests
call set_epoch_seconds in generators

disabled tests where the API needs calrification

fixed Timestamp and Date > and >= operators
fixed Time::from_int32_t
changed comment in temporal.h to reflact actual way code is working

Show diffs side-by-side

added added

removed removed

Lines of Context:
329
329
   *
330
330
   * @param C-String to fill.
331
331
   * @param Length of to C-String
332
 
   * @returns length of string written (not including trailing '\0').
 
332
   * @returns length of string written (including trailing '\0').
333
333
   *          If output was truncated, returns length that would have
334
334
   *          been outputted.
335
335
   */
349
349
   * successful.
350
350
   *
351
351
   * @param String to convert from
352
 
   * @param Length of supplied string
 
352
   * @param Length of supplied string (not including trailing '\0').
353
353
   */
354
354
  virtual bool from_string(const char *from, size_t from_len);
355
355