mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
ODBC: Fixed for C++11
git-svn-id: svn://ultimatepp.org/upp/trunk@7212 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5c9d6bde6a
commit
1745522f2e
2 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ class TimeStop : Moveable<TimeStop> {
|
|||
|
||||
public:
|
||||
dword Elapsed() const { return GetTickCount() - starttime; }
|
||||
double Seconds() const { return (double)Elapsed() / 1000; }
|
||||
String ToString() const;
|
||||
void Reset();
|
||||
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ bool ODBCConnection::Execute()
|
|||
if(!IsOk(SQLPrepare(session->hstmt, (SQLCHAR *)~statement, statement.GetCount())))
|
||||
return false;
|
||||
parse = false;
|
||||
bparam = param;
|
||||
bparam = pick(param);
|
||||
param.Clear();
|
||||
for(int i = 0; i < bparam.GetCount(); i++) {
|
||||
Param& p = bparam[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue