bool wxDb::Open(wxDb *copyDb)
{
- dsn = (char *)copyDb->GetDataSourceName();
+ dsn = (char *)copyDb->GetDatasourceName();
uid = (char *)copyDb->GetUsername();
authStr = (char *)copyDb->GetPassword();
/********** wxDb::TablePrivileges() **********/
-bool wxDb::TablePrivileges(const char *tableName, const char* priv, const char *schema,
- const char *userID, const char *tablePath)
+bool wxDb::TablePrivileges(const char *tableName, const char* priv, const char *userID,
+ const char *schema, const char *tablePath)
{
wxDbTablePrivilegeInfo result;
SDWORD cbRetVal;
wxString UserID;
wxString TableName;
+ assert(userID);
assert(tableName && wxStrlen(tableName));
if (userID)
} // wxDbCloseConnections()
-/********** wxDbNumberConnectionsInUse() **********/
+/********** wxDbConnectionsInUse() **********/
int WXDLLEXPORT wxDbConnectionsInUse(void)
{
wxDbList *pList;