diff --git a/src/common/db.cpp b/src/common/db.cpp index 4d1df50319..5e37eaf860 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -2306,6 +2306,7 @@ bool wxDb::ExecSql(const wxString &pSqlStmt, wxDbColInf** columns, short& numcol return false; } + pColInf[colNum].sqlDataType = Sqllen; switch (Sqllen) { #if wxUSE_UNICODE