original_string: public static function getRequiredPrivileges()
      {
          return array(
              'CREATE'                  => 'CREATE TABLE ' . self::TEST_TABLE_NAME . ' (
                                 id INT AUTO_INCREMENT,
                                 value INT,
                                 PRIMARY KEY (id),
                                 KEY index_value (value)
                             )',
              'ALTER'                   => 'ALTER TABLE ' . self::TEST_TABLE_NAME . '
                              ADD COLUMN other_value INT DEFAULT 0',
              'SELECT'                  => 'SELECT * FROM ' . self::TEST_TABLE_NAME,
              'INSERT'                  => 'INSERT INTO ' . self::TEST_TABLE_NAME . ' (value) VALUES (123)',
              'UPDATE'                  => 'UPDATE ' . self::TEST_TABLE_NAME . ' SET value = 456 WHERE id = 1',
              'DELETE'                  => 'DELETE FROM ' . self::TEST_TABLE_NAME . ' WHERE id = 1',
              'DROP'                    => 'DROP TABLE ' . self::TEST_TABLE_NAME,
              'CREATE TEMPORARY TABLES' => 'CREATE TEMPORARY TABLE ' . self::TEST_TEMP_TABLE_NAME . ' (
                                          id INT AUTO_INCREMENT,
                                          PRIMARY KEY (id)
                                       )',
          );
      }
code: public static function getRequiredPrivileges()
      {
          return array(
              'CREATE'                  => 'CREATE TABLE ' . self::TEST_TABLE_NAME . ' (
                                 id INT AUTO_INCREMENT,
                                 value INT,
                                 PRIMARY KEY (id),
                                 KEY index_value (value)
                             )',
              'ALTER'                   => 'ALTER TABLE ' . self::TEST_TABLE_NAME . '
                              ADD COLUMN other_value INT DEFAULT 0',
              'SELECT'                  => 'SELECT * FROM ' . self::TEST_TABLE_NAME,
              'INSERT'                  => 'INSERT INTO ' . self::TEST_TABLE_NAME . ' (value) VALUES (123)',
              'UPDATE'                  => 'UPDATE ' . self::TEST_TABLE_NAME . ' SET value = 456 WHERE id = 1',
              'DELETE'                  => 'DELETE FROM ' . self::TEST_TABLE_NAME . ' WHERE id = 1',
              'DROP'                    => 'DROP TABLE ' . self::TEST_TABLE_NAME,
              'CREATE TEMPORARY TABLES' => 'CREATE TEMPORARY TABLE ' . self::TEST_TEMP_TABLE_NAME . ' (
                                          id INT AUTO_INCREMENT,
                                          PRIMARY KEY (id)
                                       )',
          );
      }
code_tokens: public static function getRequiredPrivileges ( ) { return array ( 'CREATE' => 'CREATE TABLE ' . self :: TEST_TABLE_NAME . ' (
                                 id INT AUTO_INCREMENT,
                                 value INT,
                                 PRIMARY KEY (id),
                                 KEY index_value (value)
                             )' , 'ALTER' => 'ALTER TABLE ' . self :: TEST_TABLE_NAME . '
                              ADD COLUMN other_value INT DEFAULT 0' , 'SELECT' => 'SELECT * FROM ' . self :: TEST_TABLE_NAME , 'INSERT' => 'INSERT INTO ' . self :: TEST_TABLE_NAME . ' (value) VALUES (123)' , 'UPDATE' => 'UPDATE ' . self :: TEST_TABLE_NAME . ' SET value = 456 WHERE id = 1' , 'DELETE' => 'DELETE FROM ' . self :: TEST_TABLE_NAME . ' WHERE id = 1' , 'DROP' => 'DROP TABLE ' . self :: TEST_TABLE_NAME , 'CREATE TEMPORARY TABLES' => 'CREATE TEMPORARY TABLE ' . self :: TEST_TEMP_TABLE_NAME . ' (
                                          id INT AUTO_INCREMENT,
                                          PRIMARY KEY (id)
                                       )' , ) ; }
docstring: Returns an array describing the database privileges required for Matomo to run. The
  array maps privilege names with one or more SQL queries that can be used to test
  if the current user has the privilege.
  
  NOTE: LOAD DATA INFILE & LOCK TABLES privileges are not **required** so they're
  not checked.
  
  @return array
docstring_tokens: Returns an array describing the database privileges required for Matomo to run . The array maps privilege names with one or more SQL queries that can be used to test if the current user has the privilege .