Kaydet (Commit) ad118656 authored tarafından Ariel Constenla-Haile's avatar Ariel Constenla-Haile

Ensure socket or pipe are passed to the native driver

üst fe3959a5
...@@ -355,6 +355,25 @@ namespace connectivity ...@@ -355,6 +355,25 @@ namespace connectivity
,Sequence< ::rtl::OUString >()) ,Sequence< ::rtl::OUString >())
); );
} }
else if ( eType == D_NATIVE )
{
aDriverInfo.push_back(DriverPropertyInfo(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LocalSocket"))
,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"The file path of a socket to connect to a local MySQL server."))
,sal_False
,::rtl::OUString()
,Sequence< ::rtl::OUString >())
);
aDriverInfo.push_back(DriverPropertyInfo(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("NamedPipe"))
,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"The name of a pipe to connect to a local MySQL server."))
,sal_False
,::rtl::OUString()
,Sequence< ::rtl::OUString >())
);
}
return Sequence< DriverPropertyInfo >(&aDriverInfo[0],aDriverInfo.size()); return Sequence< DriverPropertyInfo >(&aDriverInfo[0],aDriverInfo.size());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment