~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/ha_innodb.cc

  • Committer: Brian Aker
  • Date: 2009-12-01 01:54:04 UTC
  • mto: (1234.1.4 push)
  • mto: This revision was merged to the branch mainline in revision 1235.
  • Revision ID: brian@gaz-20091201015404-19qmqriauoeve2x5
Move max key stuff up to engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
 
388
388
  UNIV_INTERN virtual bool get_error_message(int error, String *buf);
389
389
 
 
390
  UNIV_INTERN uint32_t max_supported_keys() const;
 
391
  UNIV_INTERN uint32_t max_supported_key_length() const;
 
392
  UNIV_INTERN uint32_t max_supported_key_part_length() const;
390
393
};
391
394
 
392
395
/** @brief Initialize the default value of innodb_commit_concurrency.
2529
2532
@return MAX_KEY */
2530
2533
UNIV_INTERN
2531
2534
uint
2532
 
ha_innobase::max_supported_keys() const
 
2535
InnobaseEngine::max_supported_keys() const
2533
2536
/*===================================*/
2534
2537
{
2535
2538
        return(MAX_KEY);
2540
2543
@return maximum supported key length, in bytes */
2541
2544
UNIV_INTERN
2542
2545
uint32_t
2543
 
ha_innobase::max_supported_key_length() const
 
2546
InnobaseEngine::max_supported_key_length() const
2544
2547
/*=========================================*/
2545
2548
{
2546
2549
        /* An InnoDB page must store >= 2 keys; a secondary key record
2899
2902
 
2900
2903
UNIV_INTERN
2901
2904
uint32_t
2902
 
ha_innobase::max_supported_key_part_length() const
 
2905
InnobaseEngine::max_supported_key_part_length() const
2903
2906
{
2904
2907
        return(DICT_MAX_INDEX_COL_LEN - 1);
2905
2908
}