summaryrefslogtreecommitdiff
path: root/storage/connect/odbconn.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-02-05 01:56:22 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2013-02-05 01:56:22 +0100
commit1830e732fb6a47bad7c4a6c97d3bcf964e70aae7 (patch)
tree81b778893081f11629c6a27fa20d0abc7da1e0f3 /storage/connect/odbconn.h
parent9d8d62eeffd3b03a70f536490b46a38cc4522672 (diff)
downloadmariadb-git-1830e732fb6a47bad7c4a6c97d3bcf964e70aae7.tar.gz
Make possible to get ODBC DataSources name and description by:
create table datasrc ( `anyname` varchar(256) flag=1, `anyother name` varchar(256) flag=2) engine=CONNECT table_type=ODBC option_list='info=yes'; or simply by: create table datasrc engine=CONNECT table_type=ODBC option_list='info=yes'; then: select * from datasrc; Modified: ha_connect.cc odbconn.h odbconn.cpp tabodbc.h tabodbc.cpp
Diffstat (limited to 'storage/connect/odbconn.h')
-rw-r--r--storage/connect/odbconn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/odbconn.h b/storage/connect/odbconn.h
index 24f5898743e..7f1567eaa70 100644
--- a/storage/connect/odbconn.h
+++ b/storage/connect/odbconn.h
@@ -143,6 +143,7 @@ class ODBConn : public BLOCK {
bool ExecuteSQL(void);
bool BindParam(ODBCCOL *colp);
int GetCatInfo(CATPARM *cap);
+ bool GetDataSources(PQRYRES qrp);
public:
// Set special options