~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

Reworked delete table code (thank god... or... whatever... how about my dog?
Yeah... thank dog...))

Show diffs side-by-side

added added

removed removed

Lines of Context:
1588
1588
*/
1589
1589
void Cursor::print_error(int error, myf errflag)
1590
1590
{
1591
 
  int textno=ER_GET_ERRNO;
 
1591
  int textno= ER_GET_ERRNO;
1592
1592
  switch (error) {
1593
1593
  case EACCES:
1594
1594
    textno=ER_OPEN_AS_READONLY;
1746
1746
    return;
1747
1747
  default:
1748
1748
    {
1749
 
      /* The error was "unknown" to this function.
1750
 
         Ask Cursor if it has got a message for this error */
 
1749
      /* 
 
1750
        The error was "unknown" to this function.
 
1751
        Ask Cursor if it has got a message for this error 
 
1752
      */
1751
1753
      bool temporary= false;
1752
1754
      String str;
1753
1755
      temporary= get_error_message(error, &str);