Jump to content

[fixed] compilation problem 11115 : sql check matching


mrelfire

Recommended Posts

I have this morning

2011-02-07 07:39:25 SQL: SELECT required_11058_01_mangos_spell_proc_event FROM db_version LIMIT 1
2011-02-07 07:39:25 query ERROR: Unknown column 'required_11058_01_mangos_spell_proc_event' in 'field list'
2011-02-07 07:39:25 The table `db_version` in your [WORLD] database indicates that this database is out of date!
2011-02-07 07:39:25 
2011-02-07 07:39:25   [A] You have: --> `11115_01_mangos_command.sql`
2011-02-07 07:39:25 
2011-02-07 07:39:25   [b] You need: --> `11058_01_mangos_spell_proc_event.sql`
2011-02-07 07:39:25 
2011-02-07 07:39:25 You must apply all updates after [A] to [b] to use mangos with this database.
2011-02-07 07:39:25 These updates are included in the sql/updates folder.
2011-02-07 07:39:25 Please read the included [README] in sql/updates for instructions on updating.

but I am under 11115 version, is their a check problem somewhere, or I made a mistakes ?

thanks in advance

Link to comment
Share on other sites

correct fix :

diff --git a/src/shared/revision_sql.h b/src/shared/revision_sql.h
index bf8c1f9..19d6f5e 100644
--- a/src/shared/revision_sql.h
+++ b/src/shared/revision_sql.h
@@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
 #define REVISION_DB_CHARACTERS "required_10973_01_characters_game_event_status"
- #define REVISION_DB_MANGOS "required_11058_01_mangos_spell_proc_event"
+ #define REVISION_DB_MANGOS "required_11115_01_mangos_command"
 #define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
#endif // __REVISION_SQL_H__

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use