Fixed missing version string and compile date for MySQL extension (bug 4547, r=dvander).

This commit is contained in:
Scott Ehlert 2010-07-28 14:48:51 -05:00
parent 9408a61eb1
commit e1199a02ee
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
* vim: set ts=4 :
* =============================================================================
* SourceMod MySQL Extension
* Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.
* Copyright (C) 2004-2010 AlliedModders LLC. All rights reserved.
* =============================================================================
*
* This program is free software; you can redistribute it and/or modify it under
@ -60,12 +60,12 @@ void DBI_MySQL::SDK_OnUnload()
//mysql_library_end();
}
const char *DBI_MySQL::GetVersion()
const char *DBI_MySQL::GetExtensionVerString()
{
return SM_FULL_VERSION;
}
const char *DBI_MySQL::GetDate()
const char *DBI_MySQL::GetExtensionDateString()
{
return SM_BUILD_TIMESTAMP;
}

View File

@ -2,7 +2,7 @@
* vim: set ts=4 :
* =============================================================================
* SourceMod MySQL Extension
* Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.
* Copyright (C) 2004-2010 AlliedModders LLC. All rights reserved.
* =============================================================================
*
* This program is free software; you can redistribute it and/or modify it under
@ -81,8 +81,8 @@ public:
* @return True if working, false otherwise.
*/
//virtual bool QueryRunning(char *error, size_t maxlength);
const char *GetVersion();
const char *GetDate();
const char *GetExtensionVerString();
const char *GetExtensionDateString();
public:
#if defined SMEXT_CONF_METAMOD
/**