Re: [gnome-db] SQL command history



On Mon, 2003-01-20 at 13:53, Adam Williams wrote:
> >I wanted to change that, and came up to a doubt, which is where to store
> >them. That is, for the gnome-db front end, they were saved in GConf,
> >with the rest of the configuration, but since in Mergeant we are using a
> >file, I wonder if that should be added to the file, so that if you send
> >the file to another person, he/she will get also the list of commands.
> 
> Into the file, if one is open, would be my preference.  If it was stored
> in gconf I could potentially get history for commands relating to a
> database other than the onw I cam currently working on, yes?  Seems like
> that could be bad/confusing.
> 
yes, that's why I think adding it to the file format is the best thing.
Also, if you use a database and use complex SQL commands, and then don't
use it for months, when you re-open it, you wouldn't have any way of
getting those complex commands if they were stored in GConf, since in
those months, the history will have grown a lot and lose old commands
(there is a limit in the number of commands kept in the history).

And of course, getting SQL commands from other connections does not seem
a good idea.

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]