Patch level : 4.0 658

Files correlati     :   ve1.exe ba8.exe tc0.exe
Ricompilazione Demo : [ ]
Commento            :

Sistemata la create_recordset. Mancavano 2 else


git-svn-id: svn://10.65.10.50/trunk@15086 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2007-03-19 16:20:52 +00:00
parent 0d62fdda0e
commit 8c92abd2fa

View File

@ -381,12 +381,12 @@ TRecordset* create_recordset(const TString& sql)
if (sql.starts_with("US", true))
rex = new TISAM_recordset(sql); else
if (sql.starts_with("ODBC", true))
rex = new TODBC_recordset(sql);
rex = new TODBC_recordset(sql); else
if (sql.starts_with("CSV", true))
rex = new TCSV_recordset(sql);
if (sql.starts_with("AS400", true))
rex = new TCSV_recordset(sql); else
if (sql.starts_with("AS400", true))
rex = new TAS400_recordset(sql);
else
else
rex = new TSQL_recordset(sql);
}
return rex;