when to return SQL_NO_DATA from SQLExecute/SQLExecDirect
Peter Harvey <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
Christian,
drvexecute returns SQL_NO_DATA, as follows, when I submit a simple
"CREATE TABLE" statement.
if (*s->ov3 && !s->isselect && ret == SQL_SUCCESS && nrows == 0) {
ret = SQL_NO_DATA;
My take on the specification is that this is not a time to return
SQL_NO_DATA. This should be SQL_SUCCESS. I may be wrong?
--
Cheers
Peter
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev