Author Topic: sqlinit  (Read 311 times)

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
sqlinit
« on: January 06, 2013, 05:49:35 am »


               What does this function actually do? It says it reserves 8*128 bytes, but that's roughly a megabyte. Is that the maximum storage it supports?
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
sqlinit
« Reply #1 on: January 06, 2013, 08:00:23 am »


               Considering the fact that it is not a nwn core function, perhaps you can give us some more information.   Like where does the function come from.   It sounds like it is something from nwnx?
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
sqlinit
« Reply #2 on: January 06, 2013, 09:34:50 am »


               Yes, it's from NWNX.

aps_include reserves 8*128[/b]
= 1024 bytes by default, which is a limit per ROW. You can have as many rows as you like, so long as none exceeds that 1KByte.

I haven't tested it, but according to papillion, who should DEFINITELY know, 'you can always reserve 16,32,... * 128[/b] bytes (up to 64KByte), if you need more per row.' I think vman did that in one of his setups, though I only vaguely recall. We've never had to resort to that, though, and we do some pretty serious lifting with it.

Here's the link to his post: Click Me

Generally speaking, you're gonna be better off checking the nwnx forums first for anything relating to it.

Funky
               
               

               


                     Modifié par FunkySwerve, 06 janvier 2013 - 09:36 .
                     
                  


            

Legacy_Highv Priest

  • Full Member
  • ***
  • Posts: 170
  • Karma: +0/-0
sqlinit
« Reply #3 on: January 06, 2013, 01:35:13 pm »


               Thank you Funky, sorry to have bothered you Lightfoot o.o