~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-08-26 03:17:31 UTC
  • mfrom: (1124 staging)
  • mto: This revision was merged to the branch mainline in revision 1139.
  • Revision ID: osullivan.padraig@gmail.com-20090826031731-at2as3ledixngra3
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2527
2527
  /* Parse what mode to set */
2528
2528
  istringstream buff(ds_mode);
2529
2529
  if (ds_mode.length() != 4 ||
2530
 
      (buff >> mode).fail())
 
2530
      (buff >> oct >> mode).fail())
2531
2531
    die("You must write a 4 digit octal number for mode");
2532
2532
 
2533
2533
  handle_command_error(command, chmod(ds_file.c_str(), mode));