List:General Discussion« Previous MessageNext Message »
From:João Cândido de Souza Neto Date:January 31 2011 12:22pm
Subject:Re: Table creation
View as plain text  
CREATE TABLE `DATABASE`.`Teste2`(`id` SMALLINT(2) , `nome`
VARCHAR(10)) ENGINE=InnoDB;


-- 

""M. Rodrigo Monteiro"" <falecom@stripped> escreveu na mensagem 
news:AANLkTikv4dtLTh+BMqxCwcCw5K59PU5W=ZrT3j3tH1Ew@ style="color:#666">stripped...
Hi!

I'm trying to create a InnoDB table.

CREATE TABLE `DATABASE`.`Teste2`(`id` SMALLINT(2) , `nome`
VARCHAR(10)) TYPE=InnoDB;

show table status from DATABASE like 'Teste2';

+--------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+
| Name   | Engine | Version | Row_format | Rows | Avg_row_length |
Data_length | Max_data_length | Index_length | Data_free |
Auto_increment | Create_time         | Update_time         |
Check_time | Collation         | Checksum | Create_options | Comment |
+--------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+
| Teste2 | MyISAM |      10 | Dynamic    |    0 |              0 |
      0 | 281474976710655 |         1024 |         0 |           NULL
| 2011-01-31 08:53:49 | 2011-01-31 08:53:49 | NULL       |
latin1_swedish_ci |     NULL |                |         |
+--------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+

As you can see, the table creates in MyISAM type.
What's going on?

Regards,
Rodrigo.


-- 
M. Rodrigo Monteiro

"Free as in Freedom, not free as in free beer"
"As we are liberated from our own fear, our presence automatically
liberates others"
Linux User # 403730

Pense antes de imprimir. Think before printing.

AVISO LEGAL
fica notificado de abster-se a divulgar, copiar, distribuir, examinar
pedimos que nos retorne este E-Mail, promovendo, desde logo, a

LEGAL ADVICE
This message is exclusively destined for the people to whom it is
directed, and it can bear private and/or legally exceptional
information. If you are not addressee of this message, since now you
are advised to not release, copy, distribute, check or, otherwise, use
the information contained in this message, because it is illegal. If
you received this message by mistake, we ask you to return this email,
making possible, as soon as possible, the elimination of its contents
of your database, registrations or controls system. The message that
bears any mandatory links, issued by someone who has no representation
powers, shall be null or void. 


Thread
Table creationM. Rodrigo Monteiro31 Jan
  • Re: Table creationjoao31 Jan
    • Re: Table creationM. Rodrigo Monteiro31 Jan
      • Re: Table creationRodrigo Ferreira31 Jan
      • Re: Table creationReindl Harald31 Jan
  • Re: Table creationjoao31 Jan
    • Re: Table creationAnanda Kumar31 Jan
  • Re: Table creationReindl Harald31 Jan
  • Re: Table creationjoao31 Jan
    • Re: Table creationM. Rodrigo Monteiro31 Jan
      • Re: Table creationpetya31 Jan
Re: Table creationM. Rodrigo Monteiro31 Jan