Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 02-06-2007, 10:31 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

It is the table create SQL statement that determines what storage engine MySQL will use for a given table. For example:

Code:
CREATE TABLE  `pets` (
  `type` varchar(64) NOT NULL default '',
  `npcID` int(11) NOT NULL default '0',
  `temp` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Notice the "Engine=" statement? That requests a particular storage engine from MySQL. In MySQL 4.1 or older, you will see a "TYPE=" statement instead of "ENGINE=". MySQL deprecated the "TYPE" keyword in MySQL 5.0.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
 


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 07:43 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3