Return DBDriver instead of Handle in DBI (#1109)
This commit is contained in:
parent
00b7ac5a39
commit
c6f751bb67
@ -547,7 +547,7 @@ native bool SQL_CheckConfig(const char[] name);
|
|||||||
* string to return the default driver.
|
* string to return the default driver.
|
||||||
* @return Driver Handle, or INVALID_HANDLE on failure.
|
* @return Driver Handle, or INVALID_HANDLE on failure.
|
||||||
*/
|
*/
|
||||||
native Handle SQL_GetDriver(const char[] name="");
|
native DBDriver SQL_GetDriver(const char[] name="");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reads the driver of an opened database.
|
* Reads the driver of an opened database.
|
||||||
@ -557,7 +557,7 @@ native Handle SQL_GetDriver(const char[] name="");
|
|||||||
* @param ident_length Maximum length of the buffer.
|
* @param ident_length Maximum length of the buffer.
|
||||||
* @return Driver Handle.
|
* @return Driver Handle.
|
||||||
*/
|
*/
|
||||||
native Handle SQL_ReadDriver(Handle database, char[] ident="", int ident_length=0);
|
native DBDriver SQL_ReadDriver(Handle database, char[] ident="", int ident_length=0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves a driver's identification string.
|
* Retrieves a driver's identification string.
|
||||||
|
Loading…
Reference in New Issue
Block a user