As I use a db_prefix definition in my settings.php like this:

$db_prefix = array(
      'default'   => 'xyz_',
      'locales_meta'     => 'shared_',
      'locales_source'  => 'shared_',
      'locales_target'      => 'shared_' ); 

the creation of the tables should ad the prefix xyz_ to the new g2-tables in the installation process.

Might be easy to fix.

Perhaps one should consider, wether there is more than one site configured in this drupl installation. But I dont know wether this is a problem.

Best,
Axel

CommentFileSizeAuthor
#1 g2.install.patch2.21 KBfgm

Comments

fgm’s picture

Status: Active » Needs review
StatusFileSize
new2.21 KB

Not sure whether this works or not, but you might want to try replacing
$sq = 'CREATE TABLE `g2_referer` ' by
$sq = 'CREATE TABLE {g2_referer} '

and replacing

$sq = 'CREATE TABLE `g2_node` ' by
$sq = 'CREATE TABLE {g2_node} '

I've attached a patch for this. Could you test it and report how it goes ?

fgm’s picture

Status: Needs review » Fixed

Version 1.15.2.7 now includes this patch.

Anonymous’s picture

Status: Fixed » Closed (fixed)