~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_key.cc

  • Committer: Brian Aker
  • Date: 2010-09-11 01:35:47 UTC
  • mto: (1759.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1762.
  • Revision ID: brian@tangent.org-20100911013547-b04k7f1qddr3ml4t
Shuffle native functions over to hash such that we have a specific container
for them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/* Functions to handle keys */
17
17
 
456
456
  case drizzled::HA_KEYTYPE_ULONG_INT:
457
457
    value=(uint64_t) uint4korr(key);
458
458
    break;
 
459
  case drizzled::HA_KEYTYPE_UINT24:
 
460
    value=(uint64_t) uint3korr(key);
 
461
    break;
459
462
  case drizzled::HA_KEYTYPE_DOUBLE:                       /* This shouldn't be used */
460
463
  {
461
464
    double f_1;