function _is_mysql in Database Administration 5
Related topics
10 calls to _is_mysql()
- dba_database_overview_form in ./dba.module 
- dba_delete_table in ./dba.module 
- Delete table contents.
- dba_describe_table in ./dba.module 
- Describe table.
- dba_get_database in ./dba.module 
- Return name of active database.
- dba_get_fields in ./dba.module 
- Return all fields in specified table as array.
File
- ./dba.module, line 1497 
- Allows administrators direct access to their Drupal database. Written by Jeremy Andrews <jeremy@kerneltrap.org>, June 2004. PostgreSQL functionality provided by AAM <aam@ugpl.de> Major security audit, porting, and maintenance by Derek…
Code
function _is_mysql() {
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      return 1;
    default:
      return 0;
  }
}