# HG changeset patch # User Scott Ehlert # Date 1280346531 18000 # Node ID 0a80672ff09bc943fd57d4899e5820cfaf628e59 # Parent 344a48e704fe5ead99db76bd2e4f66f677ee47af Fixed missing version string and compile date for MySQL extension (bug 4547, r=dvander). diff -r 344a48e704fe -r 0a80672ff09b extensions/mysql/extension.cpp --- a/extensions/mysql/extension.cpp Tue Jul 27 20:28:27 2010 -0500 +++ b/extensions/mysql/extension.cpp Wed Jul 28 14:48:51 2010 -0500 @@ -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 @@ //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; } diff -r 344a48e704fe -r 0a80672ff09b extensions/mysql/extension.h --- a/extensions/mysql/extension.h Tue Jul 27 20:28:27 2010 -0500 +++ b/extensions/mysql/extension.h Wed Jul 28 14:48:51 2010 -0500 @@ -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 @@ * @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 /**