Gegeben:
root@localhost [test]> select version();
+------------+
| version() |
+------------+
| 5.5.10-log |
+------------+
1 row in set (0.00 sec)
Doing:
root@localhost > create table a (id int) engine=myisam;
Query OK, 0 rows affected (0.01 sec)
Ok das ist nichts ungewöhnliches.
root@localhost > create table aa (id int) engine=innodb;
ERROR 1173 (42000): This table type requires a primary key
Hups das ist aber gar nicht usus einen PK zu fordern.
root@localhost > create table aa (id int primary key)
engine=innodb;
Query OK, 0 rows affected (0.00 sec)
Und nein es handelt sich hier nicht um eine inkompatible Änderung seitens MySQL, sondern meinereiner hat riesige Mengen von …
[Mehr]