db_run_tasks
function db_run_tasks
db_run_tasks($driver)
Ensures the environment for a Drupal database on a predefined connection.
This will run tasks that check that Drupal can perform all of the functions on a database, that Drupal needs. Tasks include simple checks like CREATE TABLE to database specific functions like stored procedures and client encoding.
File
- includes/install.inc, line 1325
- API functions for installing modules and themes.
Code
function db_run_tasks($driver) { db_installer_object($driver)->runTasks(); return TRUE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!install.inc/function/db_run_tasks/7.x