diff options
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/source/mysqlc_general.cxx | 2 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_statement.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mysqlc/source/mysqlc_general.cxx b/mysqlc/source/mysqlc_general.cxx index 48b68d081ff7..aa6822a6ba49 100644 --- a/mysqlc/source/mysqlc_general.cxx +++ b/mysqlc/source/mysqlc_general.cxx @@ -88,7 +88,7 @@ void allocateSqlVar(void** mem, enum_field_types eType, unsigned nSize) } } -/// Use this intead of mysql_real_escape_string, because that one also escapes +/// Use this instead of mysql_real_escape_string, because that one also escapes /// single quote ('), which should not be escaped rtl::OString escapeSql( const rtl::OString& from ) { diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx index cf13fd0a30af..ce91ed894376 100644 --- a/mysqlc/source/mysqlc_statement.cxx +++ b/mysqlc/source/mysqlc_statement.cxx @@ -136,7 +136,7 @@ sal_Bool SAL_CALL OCommonStatement::execute(const rtl::OUString& sql) MYSQL* pMySql = m_xConnection->getMysqlConnection(); - // NOTE: differs from mysql c API, wehere mysql_real_escape_string_quote() + // NOTE: differs from MySQL C API, where mysql_real_escape_string_quote() // should be used. // toExec = mysqlc_sdbc_driver::escapeSql(toExec); int failure = mysql_real_query(pMySql, toExec.getStr(), toExec.getLength()); |