oledb32: GetConversionSize shouldn't fail for null variants.
commite5daf3397839a7527a921a8edb9091e1655e484c
authorAlistair Leslie-Hughes <leslie_alistair@hotmail.com>
Wed, 23 Dec 2015 06:47:48 +0000 (23 17:47 +1100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Dec 2015 15:32:12 +0000 (23 16:32 +0100)
treef4c72d4986170c672d7c26d448dd31f5bbe3cd94
parent6d2169649e7d6dd5eb84a7eb4ae1ca57db9daedc
oledb32: GetConversionSize shouldn't fail for null variants.

If we have a NULL variant which will be converted to a non-fixed sized
type (DBTYPE_WSTR) then we just return S_OK.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/oledb32/convert.c
dlls/oledb32/tests/convert.c