~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1566
1566
  pager= "stdout";  // the default, if --pager wasn't given
1567
1567
  if (const char* tmp= getenv("PAGER"))
1568
1568
  {
1569
 
    if (strlen(tmp))
 
1569
    if (*tmp)
1570
1570
    {
1571
1571
      default_pager_set= 1;
1572
1572
      default_pager= tmp;
1573
1573
    }
1574
1574
  }
1575
 
  if (! isatty(0) || ! isatty(1))
 
1575
  if (not isatty(0) || not isatty(1))
1576
1576
  {
1577
1577
    status.setBatch(1); 
1578
 
    opt_silent=1;
 
1578
    opt_silent= 1;
1579
1579
  }
1580
1580
  else
1581
1581
    status.setAddToHistory(1);