added SQL_CheckConfig() so sql admin plugins can default back

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401330
This commit is contained in:
David Anderson
2007-08-14 01:00:42 +00:00
parent badeade4e9
commit e2e6ec777b
4 changed files with 33 additions and 3 deletions
+8
View File
@@ -131,6 +131,14 @@ native Handle:SQL_ConnectEx(Handle:driver,
bool:persistent=true,
port=0,
maxTimeout=0);
/**
* Returns if a named configuration is present in databases.cfg.
*
* @param name Configuration name.
* @return True if it exists, false otherwise.
*/
native bool:SQL_CheckConfig(const String:name[]);
/**
* Returns a driver Handle from a name string.