LibreOffice Module connectivity (master) 1
|
Functions | |
void | allocateSqlVar (void **mem, enum_field_types eType, unsigned nSize) |
void | throwFeatureNotImplementedException (const char *_pAsciiFeatureName, const css::uno::Reference< XInterface > &_rxContext) |
void | throwInvalidArgumentException (const char *_pAsciiFeatureName, const css::uno::Reference< XInterface > &_rxContext) |
void | throwSQLExceptionWithMsg (const char *msg, const char *SQLSTATE, unsigned int errorNum, const css::uno::Reference< css::uno::XInterface > &_context, const rtl_TextEncoding encoding) |
void | throwSQLExceptionWithMsg (const OUString &msg, const char *SQLSTATE, unsigned int errorNum, const css::uno::Reference< css::uno::XInterface > &_context) |
sal_Int32 | mysqlToOOOType (int eType, int charsetnr) noexcept |
sal_Int32 | mysqlStrToOOOType (std::u16string_view sType) |
OUString | mysqlTypeToStr (unsigned type, unsigned flags) |
OUString | convert (const ::std::string &_string, const rtl_TextEncoding encoding) |
template<typename T > | |
void | resetSqlVar (void **target, T *pValue, enum_field_types type, sal_Int32 nSize=0) |
void | throwFeatureNotImplementedException (const char *_pAsciiFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext) |
void | throwInvalidArgumentException (const char *_pAsciiFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext) |
void mysqlc_sdbc_driver::allocateSqlVar | ( | void ** | mem, |
enum_field_types | eType, | ||
unsigned | nSize | ||
) |
Definition at line 37 of file mysqlc_general.cxx.
References eType, and SAL_WARN.
Referenced by connectivity::mysqlc::OPreparedResultSet::fetchResult().
OUString mysqlc_sdbc_driver::convert | ( | const ::std::string & | _string, |
const rtl_TextEncoding | encoding | ||
) |
Definition at line 350 of file mysqlc_general.cxx.
Referenced by connectivity::mysqlc::ODatabaseMetaData::getTableTypes(), and connectivity::mysqlc::ODatabaseMetaData::getTypeInfo().
sal_Int32 mysqlc_sdbc_driver::mysqlStrToOOOType | ( | std::u16string_view | sType | ) |
Definition at line 196 of file mysqlc_general.cxx.
References o3tl::equalsIgnoreAsciiCase(), sType, and u.
Referenced by connectivity::mysqlc::ODatabaseMetaData::getColumns().
Definition at line 123 of file mysqlc_general.cxx.
References eType.
Referenced by connectivity::mysqlc::OResultSetMetaData::OResultSetMetaData().
OUString mysqlc_sdbc_driver::mysqlTypeToStr | ( | unsigned | type, |
unsigned | flags | ||
) |
Definition at line 253 of file mysqlc_general.cxx.
References type.
Referenced by connectivity::mysqlc::OResultSetMetaData::getColumnTypeName().
void mysqlc_sdbc_driver::resetSqlVar | ( | void ** | target, |
T * | pValue, | ||
enum_field_types | type, | ||
sal_Int32 | nSize = 0 |
||
) |
Definition at line 42 of file mysqlc_general.hxx.
References type.
Referenced by connectivity::mysqlc::OPreparedStatement::setBoolean(), connectivity::mysqlc::OPreparedStatement::setByte(), connectivity::mysqlc::OPreparedStatement::setDouble(), connectivity::mysqlc::OPreparedStatement::setFloat(), connectivity::mysqlc::OPreparedStatement::setInt(), connectivity::mysqlc::OPreparedStatement::setLong(), connectivity::mysqlc::OPreparedStatement::setObjectWithInfo(), connectivity::mysqlc::OPreparedStatement::setShort(), and connectivity::mysqlc::OPreparedStatement::setString().
void mysqlc_sdbc_driver::throwFeatureNotImplementedException | ( | const char * | _pAsciiFeatureName, |
const css::uno::Reference< css::uno::XInterface > & | _rxContext | ||
) |
void mysqlc_sdbc_driver::throwFeatureNotImplementedException | ( | const char * | _pAsciiFeatureName, |
const css::uno::Reference< XInterface > & | _rxContext | ||
) |
Definition at line 92 of file mysqlc_general.cxx.
Referenced by connectivity::mysqlc::OPreparedResultSet::afterLast(), connectivity::mysqlc::OPreparedResultSet::cancelRowUpdates(), connectivity::mysqlc::OResultSet::cancelRowUpdates(), connectivity::mysqlc::OPreparedResultSet::compareBookmarks(), connectivity::mysqlc::OResultSet::compareBookmarks(), connectivity::mysqlc::OPreparedResultSet::deleteRow(), connectivity::mysqlc::OResultSet::deleteRow(), connectivity::mysqlc::OPreparedResultSet::deleteRows(), connectivity::mysqlc::OPreparedResultSet::getArray(), connectivity::mysqlc::OResultSet::getArray(), connectivity::mysqlc::OPreparedResultSet::getBinaryStream(), connectivity::mysqlc::OPreparedResultSet::getBlob(), connectivity::mysqlc::OResultSet::getBlob(), connectivity::mysqlc::OPreparedResultSet::getBookmark(), connectivity::mysqlc::OResultSet::getBookmark(), connectivity::mysqlc::OPreparedResultSet::getCharacterStream(), connectivity::mysqlc::OResultSet::getCharacterStream(), connectivity::mysqlc::OPreparedResultSet::getClob(), connectivity::mysqlc::OResultSet::getClob(), connectivity::mysqlc::OPreparedResultSet::getObject(), connectivity::mysqlc::OPreparedResultSet::getRef(), connectivity::mysqlc::OResultSet::getRef(), connectivity::mysqlc::OPreparedResultSet::hashBookmark(), connectivity::mysqlc::OResultSet::hashBookmark(), connectivity::mysqlc::OPreparedResultSet::insertRow(), connectivity::mysqlc::OResultSet::insertRow(), connectivity::mysqlc::OPreparedResultSet::moveRelativeToBookmark(), connectivity::mysqlc::OResultSet::moveRelativeToBookmark(), connectivity::mysqlc::OPreparedResultSet::moveToInsertRow(), connectivity::mysqlc::OResultSet::moveToInsertRow(), connectivity::mysqlc::OConnection::prepareCall(), connectivity::mysqlc::OPreparedResultSet::refreshRow(), connectivity::mysqlc::OResultSet::refreshRow(), connectivity::mysqlc::OPreparedStatement::setObject(), connectivity::mysqlc::OPreparedStatement::setObjectNull(), connectivity::mysqlc::OPreparedResultSet::updateBinaryStream(), connectivity::mysqlc::OPreparedResultSet::updateBoolean(), connectivity::mysqlc::OResultSet::updateBoolean(), connectivity::mysqlc::OPreparedResultSet::updateByte(), connectivity::mysqlc::OResultSet::updateByte(), connectivity::mysqlc::OPreparedResultSet::updateBytes(), connectivity::mysqlc::OPreparedResultSet::updateCharacterStream(), connectivity::mysqlc::OPreparedResultSet::updateDate(), connectivity::mysqlc::OPreparedResultSet::updateDouble(), connectivity::mysqlc::OResultSet::updateDouble(), connectivity::mysqlc::OPreparedResultSet::updateFloat(), connectivity::mysqlc::OResultSet::updateFloat(), connectivity::mysqlc::OPreparedResultSet::updateInt(), connectivity::mysqlc::OResultSet::updateInt(), connectivity::mysqlc::OPreparedResultSet::updateLong(), connectivity::mysqlc::OResultSet::updateLong(), connectivity::mysqlc::OPreparedResultSet::updateNull(), connectivity::mysqlc::OResultSet::updateNull(), connectivity::mysqlc::OPreparedResultSet::updateNumericObject(), connectivity::mysqlc::OResultSet::updateNumericObject(), connectivity::mysqlc::OPreparedResultSet::updateObject(), connectivity::mysqlc::OResultSet::updateObject(), connectivity::mysqlc::OPreparedResultSet::updateRow(), connectivity::mysqlc::OResultSet::updateRow(), connectivity::mysqlc::OPreparedResultSet::updateShort(), connectivity::mysqlc::OResultSet::updateShort(), connectivity::mysqlc::OPreparedResultSet::updateString(), connectivity::mysqlc::OResultSet::updateString(), connectivity::mysqlc::OPreparedResultSet::updateTime(), and connectivity::mysqlc::OPreparedResultSet::updateTimestamp().
void mysqlc_sdbc_driver::throwInvalidArgumentException | ( | const char * | _pAsciiFeatureName, |
const css::uno::Reference< css::uno::XInterface > & | _rxContext | ||
) |
void mysqlc_sdbc_driver::throwInvalidArgumentException | ( | const char * | _pAsciiFeatureName, |
const css::uno::Reference< XInterface > & | _rxContext | ||
) |
Definition at line 100 of file mysqlc_general.cxx.
Referenced by connectivity::mysqlc::OPreparedStatement::setObjectWithInfo().
void mysqlc_sdbc_driver::throwSQLExceptionWithMsg | ( | const char * | msg, |
const char * | SQLSTATE, | ||
unsigned int | errorNum, | ||
const css::uno::Reference< css::uno::XInterface > & | _context, | ||
const rtl_TextEncoding | encoding | ||
) |
Definition at line 108 of file mysqlc_general.cxx.
References throwSQLExceptionWithMsg().
Referenced by connectivity::mysqlc::OConnection::commit(), connectivity::mysqlc::OPreparedStatement::execute(), connectivity::mysqlc::OStatement::execute(), connectivity::mysqlc::OPreparedStatement::executeQuery(), connectivity::mysqlc::OStatement::executeQuery(), connectivity::mysqlc::OPreparedStatement::executeUpdate(), connectivity::mysqlc::OPreparedResultSet::fetchResult(), connectivity::mysqlc::OResultSet::fetchResult(), connectivity::mysqlc::OStatement::getMoreResults(), connectivity::mysqlc::OStatement::getResult(), connectivity::mysqlc::OConnection::prepareStatement(), connectivity::mysqlc::OConnection::rollback(), connectivity::mysqlc::OConnection::setAutoCommit(), and throwSQLExceptionWithMsg().
void mysqlc_sdbc_driver::throwSQLExceptionWithMsg | ( | const OUString & | msg, |
const char * | SQLSTATE, | ||
unsigned int | errorNum, | ||
const css::uno::Reference< css::uno::XInterface > & | _context | ||
) |
Definition at line 116 of file mysqlc_general.cxx.
References Any.