Index: trunk/ippTools/src/pxtables.c
===================================================================
--- trunk/ippTools/src/pxtables.c	(revision 6336)
+++ trunk/ippTools/src/pxtables.c	(revision 6341)
@@ -6,54 +6,54 @@
     PS_ASSERT_PTR_NON_NULL(config, false);
 
-    if (!newExpCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!newExpCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!newImfileCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!newImfileCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!rawScienceExpCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!rawScienceExpCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!rawImfileCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!rawImfileCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!rawDetrendExpCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!rawDetrendExpCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p1PendingExpCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p1PendingExpCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2PendingExpCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2PendingExpCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2PendingImfileCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2PendingImfileCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2DoneExpCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2DoneExpCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2DoneImfileCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2DoneImfileCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p3PendingExpCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p3PendingExpCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!masterDetrendFramesCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!masterDetrendFramesCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!masterDetrendImfileCreateTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!masterDetrendImfileCreateTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
@@ -77,5 +77,5 @@
     if (strcmp (answer, "YES")) goto escape;
 
-    fprintf (stdout, "enter database connection password: ");
+    fprintf (stdout, "enter dbh connection password: ");
     fgets (line, 128, stdin);
     sscanf (line, "%s", answer);
@@ -88,54 +88,54 @@
     }
 
-    if (!newExpDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!newExpDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!newImfileDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!newImfileDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!rawScienceExpDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!rawScienceExpDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!rawImfileDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!rawImfileDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!rawDetrendExpDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!rawDetrendExpDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p1PendingExpDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p1PendingExpDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2PendingExpDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2PendingExpDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2PendingImfileDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2PendingImfileDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2DoneExpDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2DoneExpDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p2DoneImfileDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p2DoneImfileDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!p3PendingExpDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!p3PendingExpDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!masterDetrendFramesDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!masterDetrendFramesDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
-    if (!masterDetrendImfileDropTable(config->database)) {
-        psError(PS_ERR_UNKNOWN, false, "database access failed");
+    if (!masterDetrendImfileDropTable(config->dbh)) {
+        psError(PS_ERR_UNKNOWN, false, "dbh access failed");
         status = false;
     }
