Fixed missing version string and compile date for MySQL extension (bug 4547, r=dvander).
authorScott Ehlert <ds@alliedmods.net>
Wed Jul 28 14:48:51 2010 -0500 (2010-07-28)
changeset 31020a80672ff09b
parent 3101 344a48e704fe
child 3103 3dd5fcdabe8d
Fixed missing version string and compile date for MySQL extension (bug 4547, r=dvander).
extensions/mysql/extension.cpp
extensions/mysql/extension.h
     1.1 --- a/extensions/mysql/extension.cpp	Tue Jul 27 20:28:27 2010 -0500
     1.2 +++ b/extensions/mysql/extension.cpp	Wed Jul 28 14:48:51 2010 -0500
     1.3 @@ -2,7 +2,7 @@
     1.4   * vim: set ts=4 :
     1.5   * =============================================================================
     1.6   * SourceMod MySQL Extension
     1.7 - * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
     1.8 + * Copyright (C) 2004-2010 AlliedModders LLC.  All rights reserved.
     1.9   * =============================================================================
    1.10   *
    1.11   * This program is free software; you can redistribute it and/or modify it under
    1.12 @@ -60,12 +60,12 @@
    1.13  	//mysql_library_end();
    1.14  }
    1.15  
    1.16 -const char *DBI_MySQL::GetVersion()
    1.17 +const char *DBI_MySQL::GetExtensionVerString()
    1.18  {
    1.19  	return SM_FULL_VERSION;
    1.20  }
    1.21  
    1.22 -const char *DBI_MySQL::GetDate()
    1.23 +const char *DBI_MySQL::GetExtensionDateString()
    1.24  {
    1.25  	return SM_BUILD_TIMESTAMP;
    1.26  }
     2.1 --- a/extensions/mysql/extension.h	Tue Jul 27 20:28:27 2010 -0500
     2.2 +++ b/extensions/mysql/extension.h	Wed Jul 28 14:48:51 2010 -0500
     2.3 @@ -2,7 +2,7 @@
     2.4   * vim: set ts=4 :
     2.5   * =============================================================================
     2.6   * SourceMod MySQL Extension
     2.7 - * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
     2.8 + * Copyright (C) 2004-2010 AlliedModders LLC.  All rights reserved.
     2.9   * =============================================================================
    2.10   *
    2.11   * This program is free software; you can redistribute it and/or modify it under
    2.12 @@ -81,8 +81,8 @@
    2.13  	 * @return			True if working, false otherwise.
    2.14  	 */
    2.15  	//virtual bool QueryRunning(char *error, size_t maxlength);
    2.16 -	const char *GetVersion();
    2.17 -	const char *GetDate();
    2.18 +	const char *GetExtensionVerString();
    2.19 +	const char *GetExtensionDateString();
    2.20  public:
    2.21  #if defined SMEXT_CONF_METAMOD
    2.22  	/**