]> andersk Git - moira.git/commitdiff
Finally implement _set_debug_level. (SQL trace will go to a file in
authordanw <danw>
Tue, 17 Jun 1997 20:22:04 +0000 (20:22 +0000)
committerdanw <danw>
Tue, 17 Jun 1997 20:22:04 +0000 (20:22 +0000)
/usr/oracle/rdbms/log/)

server/qfollow.pc

index 686b26f19c77ea0bacae2e5c6b799aa73442c2ec..7260cc012ae48f8be16ab2097a995a65637e08d7 100644 (file)
@@ -1243,13 +1243,13 @@ int _sdl_followup(q, argv, cl)
     int i;
     i = atoi(argv[0]);
     log_flags = i;
-#ifdef INGRES
+
     if (i & LOG_SQL) {
-       EXEC SQL set printqry;
+       EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
     } else {
-       EXEC SQL set noprintqry;
+       EXEC SQL ALTER SESSION SET SQL_TRACE FALSE;
     }
-#endif
+    
     return(MR_SUCCESS);
 }
 
This page took 0.091222 seconds and 5 git commands to generate.