Skip to content
Permalink
Browse files

Return DBDriver instead of Handle in DBI (#1109)

  • Loading branch information
Headline committed Oct 31, 2019
1 parent 00b7ac5 commit c6f751bb67ddc7e10dffc30b88745d9706b34177
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/include/dbi.inc
@@ -547,7 +547,7 @@ native bool SQL_CheckConfig(const char[] name);
* string to return the default driver.
* @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.
@@ -557,7 +557,7 @@ native Handle SQL_GetDriver(const char[] name="");
* @param ident_length Maximum length of the buffer.
* @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.

0 comments on commit c6f751b

Please sign in to comment.
You can’t perform that action at this time.