~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Brian Aker
  • Date: 2009-08-24 20:01:53 UTC
  • mfrom: (1119.2.11 merge)
  • Revision ID: brian@gaz-20090824200153-o7lawmu7lfkimc33
Merge Monty

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));