forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Storage Engines …
- This topic is empty.
-
AuthorPosts
-
-
October 15, 2005 at 1:33 am #19501
peterlaursen
ParticipantNO!
'change tabletype' behaves identically with @@sql_mode = 'STRICT_ALL_TABLE' and @@sql_mode = ''. Tables are changed to specified type when possible and to MyISAM when not specified table type is available. No matter whether keyword 'type' or 'engine' is used. Same warnings.
That is not very 'strict' 😮
-
October 16, 2005 at 4:42 pm #19502
peterlaursen
ParticipantFurther research:
there is an sql_mode available to control this feature named NO_ENGINE_SUBSTITUTION
http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html
to disable this automatic substitution send
Code:set session|global sql_mode = 'NO_ENGINE_SUBSTITUTION' -
October 17, 2005 at 4:34 pm #19503
Ritesh
MemberHmmm 😮
This subject requires detailed study.
We will need to find out all commands similar to
Quote:set session|global sql_mode = 'NO_ENGINE_SUBSTITUTION'completely know their effect on the working of SQLyog.
I have added this in the TO-DO list but not with high priority 😀
-
October 17, 2005 at 4:38 pm #19504
peterlaursen
Participantof course it must be studied!
But I think you should add support for the ARCHIVE storage engine soon. It is all handled by MySQL server. Probably only a few lines in the SQLyog code!
-
October 17, 2005 at 4:43 pm #19505
Ritesh
MemberThis again has an issue.
I think MySQL versions < 4.x does not provide information about the various storage engines supported. I mean, you cannot execute a SQL statement to get the list. Thus the names have to be hardcoded. For versions > 4.x, you can get it from an SQL query 😀 I dont remember which one though 😛
-
October 17, 2005 at 4:55 pm #19506
peterlaursen
ParticipantWell if it must be hard-coded then be so. User must then select valid engines.
As of MySQL ver. 5 you get MyISAM tables when trying to create a GEMINI or ISAM (unless set session|global sql_mode = 'NO_ENGINE_SUBSTITUTION'). If ARCHIVE was added of course same error would occur with earlier MySQL versions. But the ARCHIVE engine is great for big DB's that are not 'in production' anymore. To support it the only thing SQLyog needs to do is to put the keyword ARCHIVE into an ALTER TABLE statement.
The reall tricky stuff is the FEDERATED engine …
-
-
AuthorPosts
- You must be logged in to reply to this topic.