mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Update odbccpp dependency
This commit is contained in:
parent
fd817b7165
commit
5dcfc8fb60
10
external/odbccpp/src/odbc/ResultSetMetaData.cpp
vendored
10
external/odbccpp/src/odbc/ResultSetMetaData.cpp
vendored
@ -29,6 +29,16 @@ string ResultSetMetaData::getTableName(unsigned short columnIndex)
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_TABLE_NAME);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
string ResultSetMetaData::getBaseTableName(unsigned short columnIndex)
|
||||
{
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_BASE_TABLE_NAME);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
string ResultSetMetaData::getBaseColumnName(unsigned short columnIndex)
|
||||
{
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_BASE_COLUMN_NAME);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
string ResultSetMetaData::getColumnLabel(unsigned short columnIndex)
|
||||
{
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_LABEL);
|
||||
|
16
external/odbccpp/src/odbc/ResultSetMetaData.h
vendored
16
external/odbccpp/src/odbc/ResultSetMetaData.h
vendored
@ -44,6 +44,22 @@ public:
|
||||
*/
|
||||
std::string getTableName(unsigned short columnIndex);
|
||||
|
||||
/**
|
||||
* Returns the name of the base table that contains the column.
|
||||
*
|
||||
* @param columnIndex The column index starting from 1.
|
||||
* @return Returns the base table name.
|
||||
*/
|
||||
std::string getBaseTableName(unsigned short columnIndex);
|
||||
|
||||
/**
|
||||
* Returns the base column name for the result set column.
|
||||
*
|
||||
* @param columnIndex The column index starting from 1.
|
||||
* @return Returns the base column name.
|
||||
*/
|
||||
std::string getBaseColumnName(unsigned short columnIndex);
|
||||
|
||||
/**
|
||||
* Returns a column's label.
|
||||
*
|
||||
|
@ -29,6 +29,18 @@ u16string ResultSetMetaDataUnicode::getTableName(unsigned short columnIndex)
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_TABLE_NAME);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
u16string ResultSetMetaDataUnicode::getBaseTableName(
|
||||
unsigned short columnIndex)
|
||||
{
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_BASE_TABLE_NAME);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
u16string ResultSetMetaDataUnicode::getBaseColumnName(
|
||||
unsigned short columnIndex)
|
||||
{
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_BASE_COLUMN_NAME);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
u16string ResultSetMetaDataUnicode::getColumnLabel(unsigned short columnIndex)
|
||||
{
|
||||
return getStringColAttribute(columnIndex, SQL_DESC_LABEL);
|
||||
|
@ -44,6 +44,22 @@ public:
|
||||
*/
|
||||
std::u16string getTableName(unsigned short columnIndex);
|
||||
|
||||
/**
|
||||
* Returns the name of the base table that contains the column.
|
||||
*
|
||||
* @param columnIndex The column index starting from 1.
|
||||
* @return Returns the base table name.
|
||||
*/
|
||||
std::u16string getBaseTableName(unsigned short columnIndex);
|
||||
|
||||
/**
|
||||
* Returns the base column name for the result set column.
|
||||
*
|
||||
* @param columnIndex The column index starting from 1.
|
||||
* @return Returns the base column name.
|
||||
*/
|
||||
std::u16string getBaseColumnName(unsigned short columnIndex);
|
||||
|
||||
/**
|
||||
* Returns a column's label.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user