[development] Default to InnoDB

Gerhard Killesreiter gerhard at killesreiter.de
Tue Jun 5 14:58:24 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khalid Baheyeldin schrieb:
> The other place that could benefit from checking which engines are
> available is the temporary table query in db_query_temporary()
> 
> It now has:
> 
> $query = preg_replace('/^SELECT/i', 'CREATE TEMPORARY TABLE '.
> $tablename .' Engine=HEAP SELECT',
> 
> Would be great to check if HEAP (Memory) exists first before doing so.

According to the docs this is not neccessary as it will fall back to
MyISAM if HEAP (aka MEMORY) does not exist.

Offering _all_ MySQL db drivers for selection on install time is
probably not a good idea. Chosing HEAP will probably make your install a
very short lived one...

Cheers,
	Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGZXoQfg6TFvELooQRAgNzAJ9GOn9ZEQgpKiLT24WOWFLFZXCbVgCgy5bX
JNSZAfv8yfOpQKol4RezFfU=
=Hvh4
-----END PGP SIGNATURE-----


More information about the development mailing list