You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReadoutDatabase(constchar* cx, int verbose = 0, const LogCallback& cb = nullptr); // create a handle to DB. Connection string in the form user:pwd@host/dbname
10
14
~ReadoutDatabase();
11
15
12
16
// admin database structure
@@ -42,6 +46,9 @@ class ReadoutDatabase {
42
46
int maxRetry = 20; // number of query retries
43
47
int retryTimeout = 50; // retry interval (milliseconds)
44
48
49
+
LogCallback theLogCallback;
50
+
voidlog(const std::string &log);
51
+
45
52
std::string lastError = ""; // error string of last query, if any
46
53
std::string lastQuery = ""; // last query executed
Copy file name to clipboardExpand all lines: src/readoutAdminDB.cxx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ using namespace AliceO2::InfoLogger;
26
26
voidprintUsage()
27
27
{
28
28
printf("Usage: readoutAdminDB ...\n");
29
-
printf(" -c command : action to execute. One of create (create tables), clear (delete tables content), destroy (destroy all tables), test (insert some dummy data)\n");
29
+
printf(" -c command : action to execute. One of create (create tables), clear (delete tables content), destroy (destroy all tables), fetch (retrieve content), test (insert some dummy data)\n");
30
30
printf(" [-z pathToConfigurationFile] : sets which configuration to use. By default %s\n", cfgDefaultsPath.c_str());
0 commit comments