mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
MySql: GetRowsProcessed fix (thanks zsolt)
git-svn-id: svn://ultimatepp.org/upp/trunk@7441 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5be7ac8fd6
commit
698ef5b769
1 changed files with 2 additions and 0 deletions
|
|
@ -367,6 +367,8 @@ bool MySqlConnection::Execute() {
|
|||
f.name = "LAST_INSERT_ID";
|
||||
rows = 1;
|
||||
}
|
||||
else // CHECK: Is this really necessarry?
|
||||
rows = (int)mysql_affected_rows(mysql);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue