Changeset 19125


Ignore:
Timestamp:
08/03/18 13:43:35 (6 years ago)
Author:
tbretz
Message:
Updated the explanation for the databse resource to reflect the possibility to force or prohibit compression.
Location:
trunk/FACT++/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Configuration.cc

    r19056 r19125  
    350350//!      The URL of the database from which the configuration data is
    351351//!      retrieved. It should be given in the form
    352 //!          \li [user[:password]@]server.com[:port]/database
     352//!          \li [user[:password]@]server.com[:port]/database[/comp]
    353353//!
    354354//!      with
     
    358358//!          - port:     the port to which to connect (usually obsolete)
    359359//!          - database: The name of the database containing the table
     360//!          - comp:     Force [comp=+] / prohibit [comp=-] compression
     361//!
     362//!  The default is that connections to the SQL server are compressed
     363//!  whenever the server is neither '127.0.0.1' nor 'localhost'.
     364//!  Use '/+' to force compression and '/-' to prohibit compression.
    360365//!
    361366//!  @param desc
  • trunk/FACT++/src/calcsource.cc

    r19122 r19125  
    2222         ->required()
    2323#endif
    24          , "Database link as in\n\tuser:password@server[:port]/database.")
     24         , "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    2525        //("source-key",     var<uint32_t>(5),                "")
    2626        //("source-name",    var<string>(""),               "")
  • trunk/FACT++/src/drivectrl.cc

    r19064 r19125  
    31583158        ("deviation-count",          var<uint16_t>(3),          "Minimum number of reported deviation below deviation-limit to get 'OnTrack'")
    31593159        ("deviation-max",            var<uint16_t>(180),        "Maximum deviation in arcsec allowed to keep status 'OnTrack'")
    3160         ("source-database",          var<string>(),             "Database link as in\n\tuser:password@server[:port]/database.")
     3160        ("source-database",          var<string>(),             "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    31613161        ("source",                   vars<string>(),            "Additional source entry in the form \"name,hh:mm:ss,dd:mm:ss\"")
    31623162        ;
  • trunk/FACT++/src/fits2sql.cc

    r19120 r19125  
    4343         ->required()
    4444#endif
    45          , "Database link as in\n\tuser:password@server[:port]/database.")
     45         , "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    4646        ("file",           var<string>("")
    4747#if BOOST_VERSION >= 104200
  • trunk/FACT++/src/makedata.cc

    r18960 r19125  
    1919        ("source-name", var<string>(), "Source name")
    2020        ("date-time", var<string>(), "SQL time (UTC)")
    21         ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database.")
     21        ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    2222        ("max-current", var<double>(75), "Maximum current to display in other plots.")
    2323        ("max-zd", var<double>(75), "Maximum zenith distance to display in other plots")
  • trunk/FACT++/src/makeplots.cc

    r18959 r19125  
    4848        //("dec",       var<double>(), "Source declination")
    4949        ("date-time", var<string>(), "SQL time (UTC)")
    50         ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database.")
     50        ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    5151        ("max-current", var<double>(100), "Maximum current to display in other plots.")
    5252        ("max-zd", var<double>(50), "Maximum zenith distance to display in other plots")
  • trunk/FACT++/src/makeschedule.cc

    r18959 r19125  
    1919    control.add_options()
    2020        ("date", var<string>(), "SQL time (UTC), e.g. '2016-12-24' (equiv. '2016-12-24 12:00:00' to '2016-12-25 11:59:59')")
    21         ("source-database", var<string>()->required(), "Database link as in\n\tuser:password@server[:port]/database.")
    22         ("schedule-database", var<string>(), "Database link as in\n\tuser:password@server[:port]/database.")
     21        ("source-database", var<string>()->required(), "Database link as in\n\tuser:password@server[:port]/database[/comp].")
     22        ("schedule-database", var<string>(), "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    2323        ("max-current", var<double>(90), "Global maximum current limit in uA")
    2424        ("max-zd", var<double>(75), "Global zenith distance limit in degree")
  • trunk/FACT++/src/root2sql.cc

    r19120 r19125  
    4747         ->required()
    4848#endif
    49          , "Database link as in\n\tuser:password@server[:port]/database.")
     49         , "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    5050        ("file",           var<string>("")
    5151#if BOOST_VERSION >= 104200
  • trunk/FACT++/src/scheduler.cc

    r12954 r19125  
    727727         ->required()
    728728#endif
    729                                            ,  "Database link as in\n\tuser:password@server[:port]/database\nOverwrites options from the default configuration file.")
     729                                           ,  "Database link as in\n\tuser:password@server[:port]/database.")
    730730        ("schedule",          var<string>(),  "")
    731731        ("mintime",           var<int>(),     "minimum observation time")
  • trunk/FACT++/src/smartfact.cc

    r19064 r19125  
    35383538        ("pixel-map-file",  var<string>()->required(),     "Pixel mapping file. Used here to get the default reference voltage")
    35393539        ("path",            var<string>("www/smartfact/data"), "Output path for the data-files")
    3540         ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database.")
     3540        ("source-database", var<string>(""), "Database link as in\n\tuser:password@server[:port]/database[/comp].")
    35413541        ("client",          po_bool(false), "For a standalone client choose this option.")
    35423542        ;
Note: See TracChangeset for help on using the changeset viewer.