summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/misc.h
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-03-28 08:08:07 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-03-28 08:08:07 +0000
commit6852741c1879fd2bd5ab5b367c7fc5a130dfd4da (patch)
treea0f27a6fb623307b0772f2964f31707fd302972e /src/interfaces/odbc/misc.h
parente6774dc3553d814e6aa500cabe5739b2e6f94df4 (diff)
downloadpostgresql-6852741c1879fd2bd5ab5b367c7fc5a130dfd4da.tar.gz
[2002-03-28]
1) Prepare to separate 4 kinds of Descriptor handles. 2) Detect the transaction status more naturally. 3) Improve Parse Statement functionality for the use of updatable cursors. 4) Improve updatable cursors. 5) Implement SQLGetDescField() and improve SQLColAttribute(). 6) etc.
Diffstat (limited to 'src/interfaces/odbc/misc.h')
-rw-r--r--src/interfaces/odbc/misc.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/interfaces/odbc/misc.h b/src/interfaces/odbc/misc.h
index b658ed7c91..cba7f2bfed 100644
--- a/src/interfaces/odbc/misc.h
+++ b/src/interfaces/odbc/misc.h
@@ -36,17 +36,18 @@
#define MYLOGDIR "/tmp"
#else
#define MYLOGDIR "c:"
-#endif
+#endif /* WIN32 */
extern void mylog(char *fmt,...);
-#define inolog mylog /* for really temporary debug */
#else
#ifndef WIN32
#define mylog(args...) /* GNU convention for variable arguments */
#else
-#define mylog /* mylog */
-#endif
-#endif
+extern void MyLog(char *fmt,...);
+#define mylog if (0) MyLog /* mylog */
+#endif /* WIN32 */
+#endif /* MY_LOG */
+#define inolog mylog /* for really temporary debug */
#ifdef Q_LOG
#define QLOGFILE "psqlodbc_"
@@ -64,6 +65,7 @@ extern void qlog(char *fmt,...);
#define qlog /* qlog */
#endif
#endif
+#define inoqlog qlog
#ifndef WIN32
#define DIRSEPARATOR "/"