diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2011-01-02 17:23:20 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2011-01-02 17:23:20 +0000 |
commit | d30dd0617ef725ec8744b4cf56c7e159f10039b6 (patch) | |
tree | 08859d549a7cdbfc7a7b7c8d838d321b18ac0548 /includes/install.inc | |
parent | 6a8aecc468a98cce290494dd4daca40f0ba15615 (diff) | |
download | brdo-d30dd0617ef725ec8744b4cf56c7e159f10039b6.tar.gz brdo-d30dd0617ef725ec8744b4cf56c7e159f10039b6.tar.bz2 |
#1006478 follow-up by Stevel: Fix table prefixes to prevent random testbot failures.
Diffstat (limited to 'includes/install.inc')
-rw-r--r-- | includes/install.inc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/includes/install.inc b/includes/install.inc index 5c53f3e80..68a67bcd6 100644 --- a/includes/install.inc +++ b/includes/install.inc @@ -299,7 +299,7 @@ abstract class DatabaseTasks { ), array( 'arguments' => array( - 'CREATE TABLE drupal_install_test (id int NULL)', + 'CREATE TABLE {drupal_install_test} (id int NULL)', 'Drupal can use CREATE TABLE database commands.', 'Failed to <strong>CREATE</strong> a test table on your database server with the command %query. The server reports the following message: %error.<p>Are you sure the configured username has the necessary permissions to create tables in the database?</p>', TRUE, @@ -307,33 +307,34 @@ abstract class DatabaseTasks { ), array( 'arguments' => array( - 'INSERT INTO drupal_install_test (id) VALUES (1)', + 'INSERT INTO {drupal_install_test} (id) VALUES (1)', 'Drupal can use INSERT database commands.', 'Failed to <strong>INSERT</strong> a value into a test table on your database server. We tried inserting a value with the command %query and the server reported the following error: %error.', ), ), array( 'arguments' => array( - 'UPDATE drupal_install_test SET id = 2', + 'UPDATE {drupal_install_test} SET id = 2', 'Drupal can use UPDATE database commands.', 'Failed to <strong>UPDATE</strong> a value in a test table on your database server. We tried updating a value with the command %query and the server reported the following error: %error.', ), ), array( 'arguments' => array( - 'DELETE FROM drupal_install_test', + 'DELETE FROM {drupal_install_test}', 'Drupal can use DELETE database commands.', 'Failed to <strong>DELETE</strong> a value from a test table on your database server. We tried deleting a value with the command %query and the server reported the following error: %error.', ), ), array( 'arguments' => array( - 'DROP TABLE drupal_install_test', + 'DROP TABLE {drupal_install_test}', 'Drupal can use DROP TABLE database commands.', 'Failed to <strong>DROP</strong> a test table from your database server. We tried dropping a table with the command %query and the server reported the following error %error.', ), ), ); + /** * Results from tasks. * |