Michal Hrusecky (old before rename to _miska_) 2012-11-15 14:34:46 +00:00 committed by Git OBS Bridge
parent 7257f20360
commit c64cfaccdf

View File

@ -39,9 +39,12 @@ Index: Drivers/nn/connect.c
===================================================================
--- Drivers/nn/connect.c.orig
+++ Drivers/nn/connect.c
@@ -14,6 +14,7 @@
@@ -13,7 +13,10 @@
GNU General Public License for more details.
**/
#include <config.h>
+#include <unistd.h>
+#include <sys/types.h>
#include "driver.h"
+#include "misc.h"
@ -116,3 +119,16 @@ Index: Drivers/nn/yylex.c
static int getcmpopidxbyname(char* name)
{
Index: exe/iusql.c
===================================================================
--- exe/iusql.c.orig
+++ exe/iusql.c
@@ -29,6 +29,8 @@
static int OpenDatabase( SQLHENV *phEnv, SQLHDBC *phDbc, char *szDSN, char *szUID, char *szPWD );
static int ExecuteSQL( SQLHDBC hDbc, char *szSQL, char cDelimiter, int bColumnNames, int bHTMLTable );
static int ExecuteHelp( SQLHDBC hDbc, char *szSQL, char cDelimiter, int bColumnNames, int bHTMLTable );
+static int CloseDatabase( SQLHENV hEnv, SQLHDBC hDbc );
+
static void WriteHeaderHTMLTable( SQLHSTMT hStmt );
static void WriteHeaderNormal( SQLHSTMT hStmt, SQLCHAR *szSepLine );