From e1199a02eeaa783aedfe9ae6f273ed6c8d3475d2 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 28 Jul 2010 14:48:51 -0500 Subject: [PATCH] Fixed missing version string and compile date for MySQL extension (bug 4547, r=dvander). --- extensions/mysql/extension.cpp | 6 +++--- extensions/mysql/extension.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/mysql/extension.cpp b/extensions/mysql/extension.cpp index 6e344cb5..ae6fb265 100644 --- a/extensions/mysql/extension.cpp +++ b/extensions/mysql/extension.cpp @@ -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; } diff --git a/extensions/mysql/extension.h b/extensions/mysql/extension.h index e9a3feea..558b05d2 100644 --- a/extensions/mysql/extension.h +++ b/extensions/mysql/extension.h @@ -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 /**