summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/util/check_error.c13
-rw-r--r--src/util/sqlinfoprint.c73
-rw-r--r--src/util/sqlinfoprint.h15
3 files changed, 100 insertions, 1 deletions
diff --git a/src/util/sqlinfoprint.h b/src/util/sqlinfoprint.h
new file mode 100644
index 0000000..984694b
--- a/dev/null
+++ b/src/util/sqlinfoprint.h
@@ -0,0 +1,15 @@
1#ifndef SQLINFOPRINT_H
2#define SQLINFOPRINT_H
3
4#include "sqlca.h"
5
6/*
7 * Report SQL error messages. Based on code from:
8 * http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.apdv.embed.doc/doc/c0005779.html
9 */
10int sqlinfoprint (char *appMsg,
11 struct sqlca *pSqlca,
12 const char *file,
13 const unsigned int line);
14
15#endif // SQLINFOPRINT_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.