mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
*MySql: Fixed GetRowsProcessed
git-svn-id: svn://ultimatepp.org/upp/trunk@4627 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4791b9647e
commit
8857972561
1 changed files with 2 additions and 6 deletions
|
|
@ -270,13 +270,9 @@ bool MySqlConnection::Execute() {
|
|||
return false;
|
||||
}
|
||||
result = mysql_store_result(mysql);
|
||||
/* if(trace) { // cxl 2005-5-2, duplicated traces...
|
||||
if(session.IsTraceTime())
|
||||
*trace << Format("--------------\nexec %d ms:\n", msecs(time));
|
||||
*trace << ToString() << '\n';
|
||||
}*/
|
||||
rows = (int)mysql_affected_rows(mysql);
|
||||
if(result) {
|
||||
rows = (int)mysql_affected_rows(mysql);
|
||||
DDUMP(rows);
|
||||
int fields = mysql_num_fields(result);
|
||||
info.SetCount(fields);
|
||||
convert.Alloc(fields, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue