~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Brian Aker
  • Date: 2008-10-16 15:13:09 UTC
  • Revision ID: brian@tangent.org-20081016151309-qitlh8v9a5l5w8gv
Remove dead field defines (and dropped a dead function for SP).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1561
1561
uint32_t pack_length_to_packflag(uint32_t type)
1562
1562
{
1563
1563
  switch (type) {
1564
 
    case 1: return f_settype((uint32_t) DRIZZLE_TYPE_TINY);
 
1564
    case 1: return (((int) (DRIZZLE_TYPE_TINY)) << FIELDFLAG_PACK_SHIFT);
1565
1565
    case 2: assert(1);
1566
1566
    case 3: assert(1);
1567
1567
    case 4: return f_settype((uint32_t) DRIZZLE_TYPE_LONG);