odbc driver: let's not allocate the buffer twice for nothing

Change-Id: If5db845c856a9fb3adf8c4fcb883607e1cb9446e