[drupal-devel] Detecting table existence/absence in a Drupally-correct way

Adrian Rossouw adrian at daemon.co.za
Thu Apr 14 13:31:36 UTC 2005


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


On 14 Apr 2005, at 3:11 PM, Gabor Hojtsy wrote:
>
> Or issue a SHOW TABLES command if you need a list of available tables 
> in a particular database.

Don't use mysql only code.

Atleast abstract it into a seperate db_* function.

- --
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCXnCz6lSw9JdoA/wRAuyOAKCOtsRqfMFAd8mBgdSkucbbqbfhAwCgvnZP
SZAHMs3F+7yl8RL26kMaBNc=
=hxmu
-----END PGP SIGNATURE-----




More information about the drupal-devel mailing list