oledb32: Properties aren't case sensitive.
This commit is contained in:
parent
705a0f0238
commit
57d0efa459
|
@ -368,7 +368,7 @@ static HRESULT set_dbpropset(BSTR name, BSTR value, DBPROPSET **propset)
|
||||||
|
|
||||||
n = (min+max)/2;
|
n = (min+max)/2;
|
||||||
|
|
||||||
r = strcmpW(dbproperties[n].name, name);
|
r = strcmpiW(dbproperties[n].name, name);
|
||||||
if (!r)
|
if (!r)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,7 @@ static void test_database(void)
|
||||||
'D','a','t','a',' ','S','o','u','r','c','e','=','d','u','m','m','y',';',
|
'D','a','t','a',' ','S','o','u','r','c','e','=','d','u','m','m','y',';',
|
||||||
'P','e','r','s','i','s','t',' ','S','e','c','u','r','i','t','y',' ','I','n','f','o','=','F','a','l','s','e',';',0};
|
'P','e','r','s','i','s','t',' ','S','e','c','u','r','i','t','y',' ','I','n','f','o','=','F','a','l','s','e',';',0};
|
||||||
static WCHAR initstring_default[] = {'D','a','t','a',' ','S','o','u','r','c','e','=','d','u','m','m','y',';',0};
|
static WCHAR initstring_default[] = {'D','a','t','a',' ','S','o','u','r','c','e','=','d','u','m','m','y',';',0};
|
||||||
|
static WCHAR initstring_lower[] = {'d','a','t','a',' ','s','o','u','r','c','e','=','d','u','m','m','y',';',0};
|
||||||
IDataInitialize *datainit = NULL;
|
IDataInitialize *datainit = NULL;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
|
@ -111,6 +112,7 @@ static void test_database(void)
|
||||||
test_GetDataSource(NULL);
|
test_GetDataSource(NULL);
|
||||||
test_GetDataSource(initstring_jet);
|
test_GetDataSource(initstring_jet);
|
||||||
test_GetDataSource(initstring_default);
|
test_GetDataSource(initstring_default);
|
||||||
|
test_GetDataSource(initstring_lower);
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(database)
|
START_TEST(database)
|
||||||
|
|
Loading…
Reference in New Issue