don't export the debug table
This commit is contained in:
parent
73d7e9bae8
commit
5738d5297a
2 changed files with 6 additions and 3 deletions
|
@ -61,7 +61,9 @@ rta_init(logcb logfunc)
|
|||
extern TBLDEF pg_userTable;
|
||||
extern TBLDEF rta_tablesTable;
|
||||
extern TBLDEF rta_columnsTable;
|
||||
#ifdef SHWDBGTBL
|
||||
extern TBLDEF rta_dbgTable;
|
||||
#endif
|
||||
extern TBLDEF rta_statTable;
|
||||
extern TBLDEF pg_connTable;
|
||||
#ifdef SYSLOG
|
||||
|
@ -85,7 +87,9 @@ rta_init(logcb logfunc)
|
|||
(void) rta_add_table(&rta_columnsTable);
|
||||
(void) rta_add_table(&pg_userTable);
|
||||
(void) rta_add_table(&pg_connTable);
|
||||
#ifdef SHWDBGTBL
|
||||
(void) rta_add_table(&rta_dbgTable);
|
||||
#endif
|
||||
(void) rta_add_table(&rta_statTable);
|
||||
#ifdef SYSLOG
|
||||
restart_syslog((char *) 0, (char *) 0, (char *) 0, 0);
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
/* Forward reference for read callbacks */
|
||||
void *spoof_user(void *, char *, char *, void *);
|
||||
void restart_syslog(char *, char *, char *, int);
|
||||
void *compute_time(void *, char *col, char *sql, void *);
|
||||
|
||||
/***************************************************************
|
||||
|
@ -634,7 +633,7 @@ struct EpgDbg rtadbg = {
|
|||
LOG_USER, /* see sys/syslog.h */
|
||||
"rta" /* see 'man openlog' */
|
||||
};
|
||||
|
||||
#ifdef SHWDBGTBL
|
||||
/* Define the table columns */
|
||||
COLDEF rta_dbgCols[] = {
|
||||
{
|
||||
|
@ -777,7 +776,7 @@ TBLDEF rta_dbgTable = {
|
|||
"SQL_string() to set the values when you initialize your "
|
||||
"program."
|
||||
};
|
||||
|
||||
#endif
|
||||
/***************************************************************
|
||||
* The rta_stats table contains usage and error statistics
|
||||
* which might be of interest to developers. All fields are
|
||||
|
|
Reference in a new issue