Lines Matching refs:catalog
863 void ODatabaseMetaDataResultSet::openTables(const Any& catalog, const ::rtl::OUString& schemaPatter… in openTables() argument
876 if ( catalog.hasValue() ) in openTables()
877 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openTables()
880 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openTables()
903 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openTables()
964 void ODatabaseMetaDataResultSet::openColumnPrivileges( const Any& catalog, const ::rtl::OUString& s… in openColumnPrivileges() argument
978 if ( catalog.hasValue() ) in openColumnPrivileges()
979 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openColumnPrivileges()
982 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openColumnPrivileges()
989 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openColumnPrivileges()
998 void ODatabaseMetaDataResultSet::openColumns( const Any& catalog, const ::rtl::OUString& schemaP… in openColumns() argument
1011 if ( catalog.hasValue() ) in openColumns()
1012 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openColumns()
1015 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openColumns()
1022 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openColumns()
1065 void ODatabaseMetaDataResultSet::openProcedureColumns( const Any& catalog, const ::rtl::OUString& … in openProcedureColumns() argument
1078 if ( catalog.hasValue() ) in openProcedureColumns()
1079 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openProcedureColumns()
1082 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openProcedureColumns()
1089 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openProcedureColumns()
1098 void ODatabaseMetaDataResultSet::openProcedures(const Any& catalog, const ::rtl::OUString& schemaPa… in openProcedures() argument
1112 if ( catalog.hasValue() ) in openProcedures()
1113 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openProcedures()
1116 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openProcedures()
1122 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openProcedures()
1129 void ODatabaseMetaDataResultSet::openSpecialColumns(sal_Bool _bRowVer,const Any& catalog, const ::r… in openSpecialColumns() argument
1142 if ( catalog.hasValue() ) in openSpecialColumns()
1143 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openSpecialColumns()
1146 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openSpecialColumns()
1152 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openSpecialColumns()
1161 void ODatabaseMetaDataResultSet::openVersionColumns(const Any& catalog, const ::rtl::OUString& sche… in openVersionColumns() argument
1164 openSpecialColumns(sal_True,catalog,schema,table,SQL_SCOPE_TRANSACTION,sal_False); in openVersionColumns()
1167 void ODatabaseMetaDataResultSet::openBestRowIdentifier( const Any& catalog, const ::rtl::OUString& … in openBestRowIdentifier() argument
1170 openSpecialColumns(sal_False,catalog,schema,table,scope,nullable); in openBestRowIdentifier()
1173 void ODatabaseMetaDataResultSet::openForeignKeys( const Any& catalog, const ::rtl::OUString* schema, in openForeignKeys() argument
1181 if ( catalog.hasValue() ) in openForeignKeys()
1182 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openForeignKeys()
1186 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openForeignKeys()
1195 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openForeignKeys()
1206 void ODatabaseMetaDataResultSet::openImportedKeys(const Any& catalog, const ::rtl::OUString& schema, in openImportedKeys() argument
1210 openForeignKeys(Any(),NULL,NULL,catalog,!schema.compareToAscii("%") ? &schema : NULL,&table); in openImportedKeys()
1213 void ODatabaseMetaDataResultSet::openExportedKeys(const Any& catalog, const ::rtl::OUString& schema, in openExportedKeys() argument
1216 openForeignKeys(catalog,!schema.compareToAscii("%") ? &schema : NULL,&table,Any(),NULL,NULL); in openExportedKeys()
1219 void ODatabaseMetaDataResultSet::openPrimaryKeys(const Any& catalog, const ::rtl::OUString& schema, in openPrimaryKeys() argument
1232 if ( catalog.hasValue() ) in openPrimaryKeys()
1233 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openPrimaryKeys()
1236 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openPrimaryKeys()
1242 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openPrimaryKeys()
1249 void ODatabaseMetaDataResultSet::openTablePrivileges(const Any& catalog, const ::rtl::OUString& sch… in openTablePrivileges() argument
1262 if ( catalog.hasValue() ) in openTablePrivileges()
1263 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openTablePrivileges()
1266 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openTablePrivileges()
1272 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openTablePrivileges()
1279 void ODatabaseMetaDataResultSet::openIndexInfo( const Any& catalog, const ::rtl::OUString& schema, in openIndexInfo() argument
1293 if ( catalog.hasValue() ) in openIndexInfo()
1294 aPKQ = ::rtl::OUStringToOString(comphelper::getString(catalog),m_nTextEncoding); in openIndexInfo()
1297 const char *pPKQ = catalog.hasValue() && aPKQ.getLength() ? aPKQ.getStr() : NULL, in openIndexInfo()
1303 (SDB_ODBC_CHAR *) pPKQ, (catalog.hasValue() && aPKQ.getLength()) ? SQL_NTS : 0, in openIndexInfo()