~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/uuid.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 21:10:07 UTC
  • mfrom: (2030.1.5 clean)
  • Revision ID: brian@tangent.org-20101225211007-78qgasqv4rvduowe
Merge in modification for naming around types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
  return 1;
93
93
}
94
94
 
95
 
int Uuid::store_decimal(const drizzled::my_decimal*)
 
95
int Uuid::store_decimal(const drizzled::type::Decimal*)
96
96
{
97
97
  ASSERT_COLUMN_MARKED_FOR_WRITE;
98
98
  my_error(ER_INVALID_UUID_VALUE, MYF(ME_FATALERROR));
159
159
  memcpy(to, ptr, length_arg);
160
160
}
161
161
 
162
 
bool Uuid::get_date(DRIZZLE_TIME *ltime, uint32_t )
 
162
bool Uuid::get_date(type::Time *ltime, uint32_t )
163
163
{
164
164
  uuid_st uu;
165
165
 
187
187
 
188
188
    return false;
189
189
  }
190
 
  memset(ltime, 0, sizeof(DRIZZLE_TIME));
 
190
  memset(ltime, 0, sizeof(type::Time));
191
191
 
192
192
  return true;
193
193
}
194
194
 
195
 
bool Uuid::get_time(DRIZZLE_TIME *ltime)
 
195
bool Uuid::get_time(type::Time *ltime)
196
196
{
197
197
  return get_date(ltime, 0);
198
198
}