/ Returns the buffer to use for Fetch or Extended Fetch. */ /
| 1031 | /* Returns the buffer to use for Fetch or Extended Fetch. */ |
| 1032 | /***********************************************************************/ |
| 1033 | void *ODBCCOL::GetBuffer(DWORD rows) |
| 1034 | { |
| 1035 | if (rows && To_Tdb) { |
| 1036 | assert(rows == (DWORD)((TDBODBC*)To_Tdb)->Rows); |
| 1037 | return Bufp; |
| 1038 | } else |
| 1039 | return (Buf_Type == TYPE_DATE) ? Sqlbuf : Value->GetTo_Val(); |
| 1040 | |
| 1041 | } // end of GetBuffer |
| 1042 | |
| 1043 | /***********************************************************************/ |
| 1044 | /* Returns the buffer length to use for Fetch or Extended Fetch. */ |
no test coverage detected