diff options
Diffstat (limited to 'kexi/kexidb/drivers')
-rw-r--r-- | kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp b/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp index 7b245d9a..74479fe7 100644 --- a/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp +++ b/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp @@ -153,7 +153,7 @@ bool MySqlPreparedStatement::execute() if (field->isTextType()) { //! @todo optimize m_stringBuffer[ 1024 ]; ??? - char *str = qstrncpy(m_stringBuffer, (const char*)(*it).toString().utf8(), 1024); + char *str = tqstrncpy(m_stringBuffer, (const char*)(*it).toString().utf8(), 1024); m_mysqlBind[arg].buffer_type = MYSQL_TYPE_STRING; m_mysqlBind[arg].buffer = m_stringBuffer; m_mysqlBind[arg].is_null = (my_bool*)0; |