bugmonotone - Bugs: bug #9986, Unable to perform "db execute...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9986: Unable to perform "db execute SQL "

Submitted by:  None
Submitted on:  Thu 12 Aug 2004 04:39:09 AM UTC  
 
Category: error handlingSeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

Thu 12 Aug 2004 05:29:25 AM UTC, comment #1:

fixed in development version

graydon hoare <graydon>
Project Member
Thu 12 Aug 2004 04:39:09 AM UTC, original submission:

In version 0.14 of Monotone one is unable to perform a

monotone db execute <whatever SQL command>

This seems stem due to the fact that in file "commands.cc" in
CMD(db, "database", ...) the possible existance of any command parameter after any "db" command is denied via:

if (args.size() != 1)
throw usage(name);

at top of function. After deletion of these both lines, I was able to use "db execute" again.

Anonymous

 

Attached Files
file #1644:  command.cc.patch added by None (367B - application/octet-stream - Patch to remove the two disturbing lines)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 12 Aug 2004 05:29:25 AM UTCgraydonStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 12 Aug 2004 04:39:09 AM UTCNoneAttached File-=>Added command.cc.patch, #1577

Back to the top


Powered by Savane 3.1-cleanup1