Hi. I have a very simple Sql query
query.clear();
query.prepare("select FIO from inspectors where FIO=:FIO");
query.bindValue(":FIO",text.trimmed());
query.exec();
When it is executed I get this error:
Assertion failed!
Program:…
File:.\libmysql.c
When I change my Sql statement to
"select id from inspectors where FIO=:FIO"
the error is gone.
So, what is the problem?Thanx a lot!
↧