mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
5884aa15d4
Now it is also possible to escape it by a backslash. modified: storage/connect/tabfmt.cpp - Prepare making VEC table type support conditional. VEC tables might be unsupported in future versions modified: storage/connect/CMakeLists.txt modified: storage/connect/mycat.cc modified: storage/connect/reldef.cpp modified: storage/connect/xindex.cpp - MDEV-11067 suggested to add configuration support to the Apache wrapper. Was added but commented out until prooved it is really useful. modified: storage/connect/ApacheInterface.java modified: storage/connect/ha_connect.cc modified: storage/connect/jdbccat.h modified: storage/connect/jdbconn.cpp modified: storage/connect/jdbconn.h modified: storage/connect/tabjdbc.cpp modified: storage/connect/tabjdbc.h - Remove useless members. modified: storage/connect/jdbconn.cpp modified: storage/connect/jdbconn.h - New UDF countin. modified: storage/connect/jsonudf.cpp modified: storage/connect/jsonudf.h
30 lines
1.3 KiB
C
30 lines
1.3 KiB
C
// Timeout and net wait defaults
|
|
#define DEFAULT_LOGIN_TIMEOUT -1 // means do not set
|
|
#define DEFAULT_QUERY_TIMEOUT -1 // means do not set
|
|
|
|
typedef struct jdbc_parms {
|
|
int CheckSize(int rows);
|
|
char *Driver; // JDBC driver
|
|
char *Url; // Driver URL
|
|
char *User; // User connect info
|
|
char *Pwd; // Password connect info
|
|
//char *Properties; // Connection property list
|
|
//int Cto; // Connect timeout
|
|
//int Qto; // Query timeout
|
|
int Fsize; // Fetch size
|
|
bool Scrollable; // Scrollable cursor
|
|
} JDBCPARM, *PJPARM;
|
|
|
|
/***********************************************************************/
|
|
/* JDBC catalog function prototypes. */
|
|
/***********************************************************************/
|
|
#if defined(PROMPT_OK)
|
|
char *JDBCCheckConnection(PGLOBAL g, char *dsn, int cop);
|
|
#endif // PROMPT_OK
|
|
//PQRYRES JDBCDataSources(PGLOBAL g, int maxres, bool info);
|
|
PQRYRES JDBCColumns(PGLOBAL g, char *db, char *table,
|
|
char *colpat, int maxres, bool info, PJPARM sop);
|
|
PQRYRES JDBCSrcCols(PGLOBAL g, char *src, PJPARM sop);
|
|
PQRYRES JDBCTables(PGLOBAL g, char *db, char *tabpat,
|
|
char *tabtyp, int maxres, bool info, PJPARM sop);
|
|
PQRYRES JDBCDrivers(PGLOBAL g, int maxres, bool info);
|