From d401e191b681466eeb68d1a61811ca0f73ec1efd Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 16 Apr 2009 12:14:57 +0000 Subject: [PATCH] ODBC fix git-svn-id: svn://ultimatepp.org/upp/trunk@1064 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ODBC/ODBC.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uppsrc/ODBC/ODBC.cpp b/uppsrc/ODBC/ODBC.cpp index fb6d32fcb..9cf6b3e85 100644 --- a/uppsrc/ODBC/ODBC.cpp +++ b/uppsrc/ODBC/ODBC.cpp @@ -475,6 +475,12 @@ void ODBCConnection::Flush() LLOG("Flush " << (void *)this); rowcount = 0; rowi = 0; + number.Clear(); + number.SetCount(info.GetCount()); + text.Clear(); + text.SetCount(info.GetCount()); + time.Clear(); + time.SetCount(info.GetCount()); while(Fetch0()) { rowcount++; for(int i = 0; i < info.GetCount(); i++)