Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2016, 07:30 PM
fzzzty
Fire Beetle
 
Join Date: Aug 2010
Posts: 23
Default DB view vwMercNpcTypes

Is the vwMercNpcTypes view used at all? I don't see any references to it in the repo anywhere. There is a race condition in the SQL scripts that either requires this to be disabled, or have previous scripts altered. The former seems like the better solution (just commenting it out in the manifest).

Edit: I guess it's more a catch-22 than a race condition. :P
Reply With Quote
  #2  
Old 07-06-2016, 07:32 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I didn't see any references to 'vwMercNpcTypes ' in the manifest..can you expound on the issue?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 07-06-2016, 07:41 PM
fzzzty
Fire Beetle
 
Join Date: Aug 2010
Posts: 23
Default

P.S. I wish there were a general forum for questions about running a server that aren't OS-specific.
Reply With Quote
  #4  
Old 07-06-2016, 07:42 PM
fzzzty
Fire Beetle
 
Join Date: Aug 2010
Posts: 23
Default

It's in 2014_12_26, it alters a misspelled column name and updates a view to use them, however that view doesn't exist, and the columns have been fixed in the PEQ DB (I dunno when that happened). I'm testing in a branch that disables that update and will do a pull req if it all works (I don't expect it not to), but I wasn't sure if it would cause issues elsewhere not having that view.

The PEQ files include a source_views.sql file with that view in it, but it seems to be old and also uses the misspelled column names, and their readme says it isn't used...

Edit: Here is a link

Edit 2: I got on this path because that DROP VIEW line errors out for me, however the entire migration is basically irrelevant now that it's fixed in the PEQ file, as far as I can tell.
Reply With Quote
  #5  
Old 07-06-2016, 10:01 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Pretty sure the database being offered is newer than that date..which is why the field would already be updated.

The problem probably lies with the db dump process..and I speculate that they are not setup for dumping views. (I ran into this with the bot views - maybe it was
functions - and backups.)

We probably need to provide an optional script for adding that view in cases where it is not present and the trigger has already been applied.


Thanks for posting the date on that..I have the manifest loaded in Notepad++ and did a find for that view name and found no results..odd...
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:06 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3