mysqlc: sal_Bool -> bool
Change-Id: Ie479e1671b03fbb958886d4c01ecff41b2ad1d23
This commit is contained in:
parent
4776da791f
commit
dbf99dfb98
@ -67,9 +67,9 @@ OConnection::OConnection(MysqlCDriver& _rDriver, sql::Driver * _cppDriver)
|
|||||||
,m_xMetaData(NULL)
|
,m_xMetaData(NULL)
|
||||||
,m_rDriver(_rDriver)
|
,m_rDriver(_rDriver)
|
||||||
,cppDriver(_cppDriver)
|
,cppDriver(_cppDriver)
|
||||||
,m_bClosed(sal_False)
|
,m_bClosed(false)
|
||||||
,m_bUseCatalog(sal_False)
|
,m_bUseCatalog(false)
|
||||||
,m_bUseOldDateFormat(sal_False)
|
,m_bUseOldDateFormat(false)
|
||||||
{
|
{
|
||||||
OSL_TRACE("OConnection::OConnection");
|
OSL_TRACE("OConnection::OConnection");
|
||||||
m_rDriver.acquire();
|
m_rDriver.acquire();
|
||||||
@ -106,7 +106,7 @@ void OConnection::construct(const OUString& url, const Sequence< PropertyValue >
|
|||||||
MutexGuard aGuard(m_aMutex);
|
MutexGuard aGuard(m_aMutex);
|
||||||
|
|
||||||
sal_Int32 nIndex;
|
sal_Int32 nIndex;
|
||||||
sal_Bool bEmbedded = sal_False;
|
bool bEmbedded = false;
|
||||||
OUString token;
|
OUString token;
|
||||||
OUString aHostName("localhost");
|
OUString aHostName("localhost");
|
||||||
sal_Int32 nPort = 3306;
|
sal_Int32 nPort = 3306;
|
||||||
@ -121,7 +121,7 @@ void OConnection::construct(const OUString& url, const Sequence< PropertyValue >
|
|||||||
if (url.startsWith(MYSQLC_URI_PREFIX)) {
|
if (url.startsWith(MYSQLC_URI_PREFIX)) {
|
||||||
nIndex = 12;
|
nIndex = 12;
|
||||||
} else {
|
} else {
|
||||||
bEmbedded = sal_True;
|
bEmbedded = true;
|
||||||
nIndex = 20;
|
nIndex = 20;
|
||||||
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OConnection::construct (embedded MySQL)", *this);
|
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OConnection::construct (embedded MySQL)", *this);
|
||||||
}
|
}
|
||||||
@ -169,7 +169,7 @@ void OConnection::construct(const OUString& url, const Sequence< PropertyValue >
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bEmbedded == sal_False) {
|
if (!bEmbedded) {
|
||||||
try {
|
try {
|
||||||
sql::ConnectOptionsMap connProps;
|
sql::ConnectOptionsMap connProps;
|
||||||
std::string host_str = OUStringToOString(aHostName, m_settings.encoding).getStr();
|
std::string host_str = OUStringToOString(aHostName, m_settings.encoding).getStr();
|
||||||
@ -348,7 +348,7 @@ sal_Bool SAL_CALL OConnection::getAutoCommit()
|
|||||||
MutexGuard aGuard(m_aMutex);
|
MutexGuard aGuard(m_aMutex);
|
||||||
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
|
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
|
||||||
|
|
||||||
sal_Bool autoCommit = sal_False;
|
bool autoCommit = false;
|
||||||
try {
|
try {
|
||||||
autoCommit = m_settings.cppConnection->getAutoCommit() == true ? sal_True : sal_False;
|
autoCommit = m_settings.cppConnection->getAutoCommit() == true ? sal_True : sal_False;
|
||||||
} catch (const sql::SQLException & e) {
|
} catch (const sql::SQLException & e) {
|
||||||
@ -651,7 +651,7 @@ void OConnection::disposing()
|
|||||||
}
|
}
|
||||||
m_aStatements.clear();
|
m_aStatements.clear();
|
||||||
|
|
||||||
m_bClosed = sal_True;
|
m_bClosed = true;
|
||||||
m_xMetaData = WeakReference< XDatabaseMetaData >();
|
m_xMetaData = WeakReference< XDatabaseMetaData >();
|
||||||
|
|
||||||
dispose_ChildImpl();
|
dispose_ChildImpl();
|
||||||
|
@ -77,7 +77,7 @@ namespace connectivity
|
|||||||
OUString schema;
|
OUString schema;
|
||||||
OUString quoteIdentifier;
|
OUString quoteIdentifier;
|
||||||
OUString connectionURL;
|
OUString connectionURL;
|
||||||
sal_Bool readOnly;
|
bool readOnly;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MysqlCDriver;
|
class MysqlCDriver;
|
||||||
@ -115,9 +115,9 @@ namespace connectivity
|
|||||||
MysqlCDriver& m_rDriver; // Pointer to the owning driver object
|
MysqlCDriver& m_rDriver; // Pointer to the owning driver object
|
||||||
sql::Driver* cppDriver;
|
sql::Driver* cppDriver;
|
||||||
|
|
||||||
sal_Bool m_bClosed;
|
bool m_bClosed;
|
||||||
sal_Bool m_bUseCatalog; // should we use the catalog on filebased databases
|
bool m_bUseCatalog; // should we use the catalog on filebased databases
|
||||||
sal_Bool m_bUseOldDateFormat;
|
bool m_bUseOldDateFormat;
|
||||||
|
|
||||||
|
|
||||||
void buildTypeInfo() throw(SQLException);
|
void buildTypeInfo() throw(SQLException);
|
||||||
@ -227,7 +227,7 @@ namespace connectivity
|
|||||||
OUString transFormPreparedStatement(const OUString& _sSQL);
|
OUString transFormPreparedStatement(const OUString& _sSQL);
|
||||||
|
|
||||||
// should we use the catalog on filebased databases
|
// should we use the catalog on filebased databases
|
||||||
inline sal_Bool isCatalogUsed() const { return m_bUseCatalog; }
|
inline bool isCatalogUsed() const { return m_bUseCatalog; }
|
||||||
inline OUString getUserName() const { return m_sUser; }
|
inline OUString getUserName() const { return m_sUser; }
|
||||||
inline const MysqlCDriver& getDriver() const { return m_rDriver;}
|
inline const MysqlCDriver& getDriver() const { return m_rDriver;}
|
||||||
inline rtl_TextEncoding getTextEncoding() const { return m_settings.encoding; }
|
inline rtl_TextEncoding getTextEncoding() const { return m_settings.encoding; }
|
||||||
|
@ -81,7 +81,7 @@ void lcl_setRows_throw(const Reference< XResultSet >& _xResultSet,sal_Int32 _nTy
|
|||||||
/* {{{ ODatabaseMetaData::ODatabaseMetaData() -I- */
|
/* {{{ ODatabaseMetaData::ODatabaseMetaData() -I- */
|
||||||
ODatabaseMetaData::ODatabaseMetaData(OConnection& _rCon)
|
ODatabaseMetaData::ODatabaseMetaData(OConnection& _rCon)
|
||||||
:m_rConnection(_rCon)
|
:m_rConnection(_rCon)
|
||||||
,m_bUseCatalog(sal_True)
|
,m_bUseCatalog(true)
|
||||||
,meta(_rCon.getConnectionSettings().cppConnection->getMetaData())
|
,meta(_rCon.getConnectionSettings().cppConnection->getMetaData())
|
||||||
,identifier_quote_string_set(false)
|
,identifier_quote_string_set(false)
|
||||||
{
|
{
|
||||||
@ -200,10 +200,10 @@ sal_Int32 ODatabaseMetaData::impl_getInt32MetaData(const sal_Char* _methodName,
|
|||||||
|
|
||||||
|
|
||||||
/* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */
|
/* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */
|
||||||
sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() )
|
bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() )
|
||||||
{
|
{
|
||||||
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
|
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
|
||||||
sal_Bool boolMetaData(0);
|
bool boolMetaData(false);
|
||||||
try {
|
try {
|
||||||
boolMetaData = (meta->*_Method)() ? sal_True : sal_False;
|
boolMetaData = (meta->*_Method)() ? sal_True : sal_False;
|
||||||
} catch (const sql::MethodNotImplementedException &) {
|
} catch (const sql::MethodNotImplementedException &) {
|
||||||
@ -219,10 +219,10 @@ sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bo
|
|||||||
|
|
||||||
|
|
||||||
/* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */
|
/* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */
|
||||||
sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg )
|
bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg )
|
||||||
{
|
{
|
||||||
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
|
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
|
||||||
sal_Bool boolMetaData(0);
|
bool boolMetaData(false);
|
||||||
try {
|
try {
|
||||||
boolMetaData = (meta->*_Method)( _arg ) ? sal_True : sal_False;
|
boolMetaData = (meta->*_Method)( _arg ) ? sal_True : sal_False;
|
||||||
} catch (const sql::MethodNotImplementedException &) {
|
} catch (const sql::MethodNotImplementedException &) {
|
||||||
@ -238,7 +238,7 @@ sal_Bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bo
|
|||||||
|
|
||||||
|
|
||||||
/* {{{ ODatabaseMetaData::impl_getRSTypeMetaData() -I- */
|
/* {{{ ODatabaseMetaData::impl_getRSTypeMetaData() -I- */
|
||||||
sal_Bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType )
|
bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType )
|
||||||
{
|
{
|
||||||
int resultSetType(sql::ResultSet::TYPE_FORWARD_ONLY);
|
int resultSetType(sql::ResultSet::TYPE_FORWARD_ONLY);
|
||||||
switch ( _resultSetType ) {
|
switch ( _resultSetType ) {
|
||||||
|
@ -45,7 +45,7 @@ namespace connectivity
|
|||||||
class ODatabaseMetaData : public ODatabaseMetaData_BASE
|
class ODatabaseMetaData : public ODatabaseMetaData_BASE
|
||||||
{
|
{
|
||||||
OConnection& m_rConnection;
|
OConnection& m_rConnection;
|
||||||
sal_Bool m_bUseCatalog;
|
bool m_bUseCatalog;
|
||||||
protected:
|
protected:
|
||||||
sql::DatabaseMetaData * meta;
|
sql::DatabaseMetaData * meta;
|
||||||
OUString identifier_quote_string;
|
OUString identifier_quote_string;
|
||||||
@ -57,9 +57,9 @@ namespace connectivity
|
|||||||
OUString impl_getStringMetaData( const sal_Char* _methodName, const sql::SQLString& (sql::DatabaseMetaData::*_Method)() );
|
OUString impl_getStringMetaData( const sal_Char* _methodName, const sql::SQLString& (sql::DatabaseMetaData::*_Method)() );
|
||||||
OUString impl_getStringMetaData( const sal_Char* _methodName, sql::SQLString (sql::DatabaseMetaData::*_Method)() );
|
OUString impl_getStringMetaData( const sal_Char* _methodName, sql::SQLString (sql::DatabaseMetaData::*_Method)() );
|
||||||
sal_Int32 impl_getInt32MetaData( const sal_Char* _methodName, unsigned int (sql::DatabaseMetaData::*_Method)() );
|
sal_Int32 impl_getInt32MetaData( const sal_Char* _methodName, unsigned int (sql::DatabaseMetaData::*_Method)() );
|
||||||
sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() );
|
bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() );
|
||||||
sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg );
|
bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg );
|
||||||
sal_Bool impl_getRSTypeMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType );
|
bool impl_getRSTypeMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
inline const OConnection& getOwnConnection() const { return m_rConnection; }
|
inline const OConnection& getOwnConnection() const { return m_rConnection; }
|
||||||
|
@ -342,7 +342,7 @@ void release(oslInterlockedCount& _refCount,
|
|||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
/* {{{ connectivity::mysqlc::checkDisposed() -I- */
|
/* {{{ connectivity::mysqlc::checkDisposed() -I- */
|
||||||
void checkDisposed(sal_Bool _bThrow)
|
void checkDisposed(bool _bThrow)
|
||||||
throw (DisposedException)
|
throw (DisposedException)
|
||||||
{
|
{
|
||||||
if (_bThrow) {
|
if (_bThrow) {
|
||||||
|
@ -204,7 +204,7 @@ sal_Bool SAL_CALL OPreparedStatement::execute()
|
|||||||
MutexGuard aGuard(m_aMutex);
|
MutexGuard aGuard(m_aMutex);
|
||||||
checkDisposed(OPreparedStatement::rBHelper.bDisposed);
|
checkDisposed(OPreparedStatement::rBHelper.bDisposed);
|
||||||
|
|
||||||
sal_Bool success = sal_False;
|
bool success = false;
|
||||||
try {
|
try {
|
||||||
success = ((sql::PreparedStatement *)cppStatement)->execute()? sal_True:sal_False;
|
success = ((sql::PreparedStatement *)cppStatement)->execute()? sal_True:sal_False;
|
||||||
} catch (const sql::SQLException &e) {
|
} catch (const sql::SQLException &e) {
|
||||||
|
@ -55,7 +55,7 @@ struct ProviderRequest
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* {{{ CREATE_PROVIDER -I- */
|
/* {{{ CREATE_PROVIDER -I- */
|
||||||
inline sal_Bool CREATE_PROVIDER(
|
inline bool CREATE_PROVIDER(
|
||||||
const OUString& Implname,
|
const OUString& Implname,
|
||||||
const Sequence< OUString > & Services,
|
const Sequence< OUString > & Services,
|
||||||
::cppu::ComponentInstantiation Factory,
|
::cppu::ComponentInstantiation Factory,
|
||||||
|
@ -179,7 +179,7 @@ sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql)
|
|||||||
checkDisposed(rBHelper.bDisposed);
|
checkDisposed(rBHelper.bDisposed);
|
||||||
const OUString sSqlStatement = m_pConnection->transFormPreparedStatement( sql );
|
const OUString sSqlStatement = m_pConnection->transFormPreparedStatement( sql );
|
||||||
|
|
||||||
sal_Bool success = false;
|
bool success = false;
|
||||||
try {
|
try {
|
||||||
success = cppStatement->execute(OUStringToOString(sSqlStatement, m_pConnection->getConnectionSettings().encoding).getStr())? sal_True:sal_False;
|
success = cppStatement->execute(OUStringToOString(sSqlStatement, m_pConnection->getConnectionSettings().encoding).getStr())? sal_True:sal_False;
|
||||||
} catch (const sql::SQLException &e) {
|
} catch (const sql::SQLException &e) {
|
||||||
@ -401,7 +401,7 @@ sal_Bool OCommonStatement::convertFastPropertyValue(
|
|||||||
throw (IllegalArgumentException)
|
throw (IllegalArgumentException)
|
||||||
{
|
{
|
||||||
OSL_TRACE("OCommonStatement::convertFastPropertyValue");
|
OSL_TRACE("OCommonStatement::convertFastPropertyValue");
|
||||||
sal_Bool bConverted = sal_False;
|
bool bConverted = false;
|
||||||
// here we have to try to convert
|
// here we have to try to convert
|
||||||
return bConverted;
|
return bConverted;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ namespace connectivity
|
|||||||
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xInterface,
|
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xInterface,
|
||||||
::com::sun::star::lang::XComponent* _pObject);
|
::com::sun::star::lang::XComponent* _pObject);
|
||||||
|
|
||||||
void checkDisposed(sal_Bool _bThrow) throw (::com::sun::star::lang::DisposedException);
|
void checkDisposed(bool _bThrow) throw (::com::sun::star::lang::DisposedException);
|
||||||
|
|
||||||
template <class SELF, class WEAK> class OSubComponent
|
template <class SELF, class WEAK> class OSubComponent
|
||||||
{
|
{
|
||||||
|
@ -36,11 +36,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"BIT", // local type name
|
"BIT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -58,11 +58,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"BOOL", // local type name
|
"BOOL", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -80,11 +80,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_True, // unsignable
|
true, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"TINYINT", // local type name
|
"TINYINT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -102,11 +102,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_True, // unsignable
|
true, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"BIGINT", // local type name
|
"BIGINT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -124,11 +124,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"LONG VARBINARY", // local type name
|
"LONG VARBINARY", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -146,11 +146,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"MEDIUMBLOB", // local type name
|
"MEDIUMBLOB", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -168,11 +168,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"LONGBLOB", // local type name
|
"LONGBLOB", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -190,11 +190,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"BLOB", // local type name
|
"BLOB", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -212,11 +212,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"TINYBLOB", // local type name
|
"TINYBLOB", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -234,11 +234,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"(M)", // Create params
|
"(M)", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"VARBINARY", // local type name
|
"VARBINARY", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -256,11 +256,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"(M)", // Create params
|
"(M)", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_True, // case sensitive
|
true, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"VARBINARY", // local type name
|
"VARBINARY", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -278,11 +278,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"LONG VARCHAR", // local type name
|
"LONG VARCHAR", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -300,11 +300,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"MEDIUMTEXT", // local type name
|
"MEDIUMTEXT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -322,11 +322,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"LONGTEXT", // local type name
|
"LONGTEXT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -344,11 +344,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"TEXT", // local type name
|
"TEXT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -366,11 +366,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"TINYTEXT", // local type name
|
"TINYTEXT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -388,11 +388,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"(M)", // Create params
|
"(M)", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"NUMERIC", // local type name
|
"NUMERIC", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -410,11 +410,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M[,D])] [ZEROFILL]", // Create params
|
"[(M[,D])] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"DECIMAL", // local type name
|
"DECIMAL", // local type name
|
||||||
-308, // minimum scale
|
-308, // minimum scale
|
||||||
308, // maximum scale
|
308, // maximum scale
|
||||||
@ -432,11 +432,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M[,D])] [ZEROFILL]", // Create params
|
"[(M[,D])] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"NUMERIC", // local type name
|
"NUMERIC", // local type name
|
||||||
-308, // minimum scale
|
-308, // minimum scale
|
||||||
308, // maximum scale
|
308, // maximum scale
|
||||||
@ -454,11 +454,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_True, // unsignable
|
true, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"INTEGER", // local type name
|
"INTEGER", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -476,11 +476,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_True, // unsignable
|
true, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"INT", // local type name
|
"INT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -498,11 +498,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_True, // unsignable
|
true, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"MEDIUMINT", // local type name
|
"MEDIUMINT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -520,11 +520,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
"[(M)] [UNSIGNED] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_True, // unsignable
|
true, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"SMALLINT", // local type name
|
"SMALLINT", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -542,11 +542,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M,D)] [ZEROFILL]", // Create params
|
"[(M,D)] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"FLOAT", // local type name
|
"FLOAT", // local type name
|
||||||
-38, // minimum scale
|
-38, // minimum scale
|
||||||
38, // maximum scale
|
38, // maximum scale
|
||||||
@ -564,11 +564,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M,D)] [ZEROFILL]", // Create params
|
"[(M,D)] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"DOUBLE", // local type name
|
"DOUBLE", // local type name
|
||||||
-308, // minimum scale
|
-308, // minimum scale
|
||||||
308, // maximum scale
|
308, // maximum scale
|
||||||
@ -586,11 +586,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M,D)] [ZEROFILL]", // Create params
|
"[(M,D)] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"DOUBLE PRECISION", // local type name
|
"DOUBLE PRECISION", // local type name
|
||||||
-308, // minimum scale
|
-308, // minimum scale
|
||||||
308, // maximum scale
|
308, // maximum scale
|
||||||
@ -608,11 +608,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"", // Literal suffix
|
"", // Literal suffix
|
||||||
"[(M,D)] [ZEROFILL]", // Create params
|
"[(M,D)] [ZEROFILL]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_True, // auto_increment
|
true, // auto_increment
|
||||||
"REAL", // local type name
|
"REAL", // local type name
|
||||||
-308, // minimum scale
|
-308, // minimum scale
|
||||||
308, // maximum scale
|
308, // maximum scale
|
||||||
@ -630,11 +630,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"(M)", // Create params
|
"(M)", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"VARCHAR", // local type name
|
"VARCHAR", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -652,11 +652,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"ENUM", // local type name
|
"ENUM", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -674,11 +674,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"SET", // local type name
|
"SET", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -696,11 +696,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"DATE", // local type name
|
"DATE", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -718,11 +718,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"TIME", // local type name
|
"TIME", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -740,11 +740,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"", // Create params
|
"", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"DATETIME", // local type name
|
"DATETIME", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -762,11 +762,11 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
"'", // Literal suffix
|
"'", // Literal suffix
|
||||||
"[(M)]", // Create params
|
"[(M)]", // Create params
|
||||||
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
com::sun::star::sdbc::ColumnValue::NULLABLE, // nullable
|
||||||
sal_False, // case sensitive
|
false, // case sensitive
|
||||||
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
com::sun::star::sdbc::ColumnSearch::FULL, // searchable
|
||||||
sal_False, // unsignable
|
false, // unsignable
|
||||||
sal_False, // fixed_prec_scale
|
false, // fixed_prec_scale
|
||||||
sal_False, // auto_increment
|
false, // auto_increment
|
||||||
"TIMESTAMP", // local type name
|
"TIMESTAMP", // local type name
|
||||||
0, // minimum scale
|
0, // minimum scale
|
||||||
0, // maximum scale
|
0, // maximum scale
|
||||||
@ -777,7 +777,7 @@ TypeInfoDef mysqlc_types[] = {
|
|||||||
|
|
||||||
// ----------- MySQL-Type: TIMESTAMP SDBC-Type: TIMESTAMP ----------
|
// ----------- MySQL-Type: TIMESTAMP SDBC-Type: TIMESTAMP ----------
|
||||||
{
|
{
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
0, 0, 0, 0, 0, 0, 0, false, 0, false, false, false, 0, 0, 0, 0, 0, 0
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,11 +28,11 @@ struct TypeInfoDef {
|
|||||||
const char *literalSuffix;
|
const char *literalSuffix;
|
||||||
const char *createParams;
|
const char *createParams;
|
||||||
sal_Int16 nullable;
|
sal_Int16 nullable;
|
||||||
sal_Bool caseSensitive;
|
bool caseSensitive;
|
||||||
sal_Int16 searchable;
|
sal_Int16 searchable;
|
||||||
sal_Bool isUnsigned;
|
bool isUnsigned;
|
||||||
sal_Bool fixedPrecScale;
|
bool fixedPrecScale;
|
||||||
sal_Bool autoIncrement;
|
bool autoIncrement;
|
||||||
const char *localTypeName;
|
const char *localTypeName;
|
||||||
sal_Int32 minScale;
|
sal_Int32 minScale;
|
||||||
sal_Int32 maxScale;
|
sal_Int32 maxScale;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user