Fixed missing version string and compile date for MySQL extension (bug 4547, r=dvander).
This commit is contained in:
parent
9408a61eb1
commit
e1199a02ee
@ -2,7 +2,7 @@
|
|||||||
* vim: set ts=4 :
|
* vim: set ts=4 :
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
* SourceMod MySQL Extension
|
* 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
|
* 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();
|
//mysql_library_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *DBI_MySQL::GetVersion()
|
const char *DBI_MySQL::GetExtensionVerString()
|
||||||
{
|
{
|
||||||
return SM_FULL_VERSION;
|
return SM_FULL_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *DBI_MySQL::GetDate()
|
const char *DBI_MySQL::GetExtensionDateString()
|
||||||
{
|
{
|
||||||
return SM_BUILD_TIMESTAMP;
|
return SM_BUILD_TIMESTAMP;
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* vim: set ts=4 :
|
* vim: set ts=4 :
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
* SourceMod MySQL Extension
|
* 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
|
* 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.
|
* @return True if working, false otherwise.
|
||||||
*/
|
*/
|
||||||
//virtual bool QueryRunning(char *error, size_t maxlength);
|
//virtual bool QueryRunning(char *error, size_t maxlength);
|
||||||
const char *GetVersion();
|
const char *GetExtensionVerString();
|
||||||
const char *GetDate();
|
const char *GetExtensionDateString();
|
||||||
public:
|
public:
|
||||||
#if defined SMEXT_CONF_METAMOD
|
#if defined SMEXT_CONF_METAMOD
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user