From 7d18baa666593a494ceea480732a8540ba471fe5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:21:06 -0600 Subject: Rename additional global TQt functions --- kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kexi/kexidb/drivers') 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; -- cgit v1.2.1