Patch level : 12.00 13266
Files correlati : ca0.exe cg0.exe ve0.exe Inivo a CRM
This commit is contained in:
parent
ce0fbbe4e0
commit
b7f75c2be7
@ -731,8 +731,8 @@ HIDDEN void odbc_send(const TString & dsn, int num, TAuto_token_string & elab_fi
|
||||
int nfields = wrk.fields();
|
||||
const TString name = table_name(curr_file_num, mssql);
|
||||
TToken_string key(wrk.keydef(), '+');
|
||||
TString check_statement = "SHOW TABLE STATUS WHERE Name = '";
|
||||
|
||||
TString check_statement = "SHOW TABLES LIKE '";
|
||||
|
||||
if (mssql)
|
||||
{
|
||||
TString sqlname = name.mid(1, name.len() - 2);
|
||||
@ -745,7 +745,6 @@ HIDDEN void odbc_send(const TString & dsn, int num, TAuto_token_string & elab_fi
|
||||
|
||||
int err = recset.exec(check_statement);
|
||||
|
||||
message_box("%s %d", (const char *)check_statement, err);
|
||||
if (err <= 0)
|
||||
{
|
||||
create_table(recset, curr_file_num, name, wrk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user