~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Brian Aker
  • Date: 2009-10-30 15:58:06 UTC
  • mfrom: (1183.1.30 merge)
  • Revision ID: brian@gaz-20091030155806-bq7mu2f5ljtodn0h
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1601
1601
*/
1602
1602
void Cursor::print_error(int error, myf errflag)
1603
1603
{
1604
 
  int textno=ER_GET_ERRNO;
 
1604
  int textno= ER_GET_ERRNO;
1605
1605
  switch (error) {
1606
1606
  case EACCES:
1607
1607
    textno=ER_OPEN_AS_READONLY;
1759
1759
    return;
1760
1760
  default:
1761
1761
    {
1762
 
      /* The error was "unknown" to this function.
1763
 
         Ask Cursor if it has got a message for this error */
 
1762
      /* 
 
1763
        The error was "unknown" to this function.
 
1764
        Ask Cursor if it has got a message for this error 
 
1765
      */
1764
1766
      bool temporary= false;
1765
1767
      String str;
1766
1768
      temporary= get_error_message(error, &str);