Feel free to use our search engine on the right
Open Subdash

Change session table to HEAP?

  • I still run a modified 1.1.3 (yea yea no security hole)...

    Can I change my session table to the HEAP type?

    Can someone give me pretty detailed directions how? I've read the manual and it says HEAP does not support auto_increment.. so how can I modify my session table to work?


    thanks~


  • Thanks Ed!


  • Someone must have some advice?

    Maybe I should just pour through the vb2 upgrade routine and see how it changes the session table? or it probably just recreates it eh..


  • Originally posted by Ed Sullivan
    Although you could end up with a race condition if you don't lock the tables..

    I am betting on Secretariat!


  • The session tables' schemas are completely different. The concepts behind them are different.

    It wouldn't be too easy to convert a 1.1.x session table to HEAP. Although, theoretically, you could kill the auto_increment, and before inserting just do SELECT MAX(sessionid) AS max FROM session; Although you could end up with a race condition if you don't lock the tables..







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Change session table to HEAP? , Please add it free.