1 /**********************************************************************
2  * SQLGetConnectOption (deprecated)
3  *
4  **********************************************************************
5  *
6  * This code was created by Peter Harvey (mostly during Christmas 98/99).
7  * This code is LGPL. Please ensure that this message remains in future
8  * distributions and uses of this code (thats about all I get out of it).
9  * - Peter Harvey pharvey@codebydesign.com
10  *
11  **********************************************************************/
12 
13 #include <config.h>
14 #include "driver.h"
15 
SQLGetConnectOption(SQLHDBC hDrvDbc,UWORD fOption,PTR pvParam)16 SQLRETURN SQLGetConnectOption(  SQLHDBC   	hDrvDbc,
17 								UWORD   	fOption,
18 								PTR     	pvParam )
19 {
20 	HDRVDBC	hDbc	= (HDRVDBC)hDrvDbc;
21 
22 	/* SANITY CHECKS */
23     if( NULL == hDbc )
24         return SQL_INVALID_HANDLE;
25 
26 	sprintf( hDbc->szSqlMsg, "hDbc = $%08lX", hDbc );
27     logPushMsg( hDbc->hLog, __FILE__, __FILE__, __LINE__, LOG_WARNING, LOG_WARNING, hDbc->szSqlMsg );
28 
29     /************************
30      * REPLACE THIS COMMENT WITH SOMETHING USEFULL
31      ************************/
32     logPushMsg( hDbc->hLog, __FILE__, __FILE__, __LINE__, LOG_WARNING, LOG_WARNING, "SQL_ERROR This function not supported" );
33 
34     return SQL_ERROR;
35 }
36 
37 
38 
39