test
OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=20
This commit is contained in:
parent
7257f20360
commit
c64cfaccdf
@ -39,9 +39,12 @@ Index: Drivers/nn/connect.c
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- Drivers/nn/connect.c.orig
|
--- Drivers/nn/connect.c.orig
|
||||||
+++ Drivers/nn/connect.c
|
+++ Drivers/nn/connect.c
|
||||||
@@ -14,6 +14,7 @@
|
@@ -13,7 +13,10 @@
|
||||||
|
GNU General Public License for more details.
|
||||||
**/
|
**/
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
+#include <sys/types.h>
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
+#include "misc.h"
|
+#include "misc.h"
|
||||||
|
|
||||||
@ -116,3 +119,16 @@ Index: Drivers/nn/yylex.c
|
|||||||
|
|
||||||
static int getcmpopidxbyname(char* name)
|
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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user