The uninstall tries to remove from old 6.x style "variables" table, needs upgrading to 7.x "variable"

function gpui_uninstall() {
  // Remove the parsed source code directory.
  $dir = gpui_directory_path('parser', FALSE);
  gpui_clean_directory($dir, TRUE);

  // Remove items from {variables} table.
  db_delete('variables')
    ->condition('name', db_like('gpui_') . '%', 'LIKE')
    ->execute();
}

one line fix. at line 32 of gpui.install:

 db_delete('variable')

Comments

dineshw’s picture

Assigned: Unassigned » dineshw
Issue summary: View changes
Status: Active » Needs work
dineshw’s picture

Try module from 7.x-1.x branch,
use , it looks stable.
git clone --branch 7.x-1.x http://git.drupal.org/project/grammar_parser_lib.git

7.x-2.x looks to be still in development, and has this issue. In case you are using 7.x-2.x branch, Use attached patch by applying
git apply -v incorrect-table-name-variables-2073735-1.patch

dineshw’s picture

Status: Needs work » Needs review

  • solotandem committed efc9592 on 7.x-2.x
    Issue #2073735: Correct reference to 'variable' table in hook_uninstall...
solotandem’s picture

Status: Needs review » Fixed

Thanks for pointing out.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.