summaryrefslogtreecommitdiff
path: root/includes/install.mysql.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/install.mysql.inc')
-rw-r--r--includes/install.mysql.inc24
1 files changed, 1 insertions, 23 deletions
diff --git a/includes/install.mysql.inc b/includes/install.mysql.inc
index 2b111f482..a6ebca079 100644
--- a/includes/install.mysql.inc
+++ b/includes/install.mysql.inc
@@ -86,28 +86,6 @@ function drupal_test_mysql($url, &$success) {
$success[] = 'UPDATE';
}
- // Test LOCK.
- $query = 'LOCK TABLES drupal_install_test WRITE';
- $result = mysql_query($query);
- if ($error = mysql_error()) {
- drupal_set_message(st('Failed to lock a test table on your MySQL database server. We tried locking a table with the command %query and MySQL reported the following error: %error.', array('%query' => $query, '%error' => $error)), 'error');
- $err = TRUE;
- }
- else {
- $success[] = 'LOCK';
- }
-
- // Test UNLOCK.
- $query = 'UNLOCK TABLES';
- $result = mysql_query($query);
- if ($error = mysql_error()) {
- drupal_set_message(st('Failed to unlock a test table on your MySQL database server. We tried unlocking a table with the command %query and MySQL reported the following error: %error.', array('%query' => $query, '%error' => $error)), 'error');
- $err = TRUE;
- }
- else {
- $success[] = 'UNLOCK';
- }
-
// Test DELETE.
$query = 'DELETE FROM drupal_install_test';
$result = mysql_query($query);
@@ -136,4 +114,4 @@ function drupal_test_mysql($url, &$success) {
mysql_close($connection);
return TRUE;
-} \ No newline at end of file
+}