~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Brian Aker
  • Date: 2011-02-12 10:06:03 UTC
  • mfrom: (2154.2.16 drizzle-build)
  • Revision ID: brian@tangent.org-20110212100603-i5ww0s02p8l4a8q7
Merge in solaris tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
847
847
    - table->getShare()->path
848
848
    - table->alias
849
849
*/
850
 
void StorageEngine::print_error(int error, myf errflag, Table &table)
 
850
void StorageEngine::print_error(int error, myf errflag, const Table &table) const
851
851
{
852
852
  drizzled::error_t textno= ER_GET_ERRNO;
853
853
  switch (error) {
1051
1051
  @return
1052
1052
    Returns true if this is a temporary error
1053
1053
*/
1054
 
bool StorageEngine::get_error_message(int , String* )
 
1054
bool StorageEngine::get_error_message(int , String* ) const
1055
1055
{
1056
1056
  return false;
1057
1057
}
1058
1058
 
1059
1059
 
1060
 
void StorageEngine::print_keydup_error(uint32_t key_nr, const char *msg, Table &table)
 
1060
void StorageEngine::print_keydup_error(uint32_t key_nr, const char *msg, const Table &table) const
1061
1061
{
1062
1062
  /* Write the duplicated key in the error message */
1063
1063
  char key[MAX_KEY_LENGTH];